Python library for Water Linked underwater modems
Project description
wlmodem
Python library for communicating with Water Linked underwater modems.
The library exposes the functionality of the modem: setting configuration, getting diagnostic, sending and receiving packets.
Further information on the Water Linked web site
Requirements
- Python 2.7 or Python 3.5
- pyserial
- crcmod
Setup
$ python -m pip install --user wlmodem
or
(venv)$ python -m pip install wlmodem
Usage
Connecting to a modem and configuring the mode and channel:
$ python
>>> from wlmodem import WlModem
>>> modem = WlModem("/dev/ttyUSB0")
>>> modem.connect()
>>> modem.cmd_configure("a", 4)
True
A larger example is available in example/example.py.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wlmodem-1.0.0.tar.gz.
File metadata
- Download URL: wlmodem-1.0.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bd1a32f6e9fa0e6b0a00500a9e1f89dfe8436509066b643849630a4d5faacb0
|
|
| MD5 |
46442d6a99a42fdf44357c7f397c7a69
|
|
| BLAKE2b-256 |
bc4a208ae068e94d28f2d2b49e31ccafd0475b41f95fffdd3be1093b4cbad59b
|
File details
Details for the file wlmodem-1.0.0-py3-none-any.whl.
File metadata
- Download URL: wlmodem-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a59400d18aa9cb123da4132a427a99f5cd298543c0bc5784539be0245285ecfc
|
|
| MD5 |
f194d1daf9abe78cbb4d1476dbd6499d
|
|
| BLAKE2b-256 |
69f40dd1309b4cdc87bd3f8390c06212fa887be3b8cc1bc1cc7c1402ab37053a
|