Skip to main content

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

wlmodem-1.0.0.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

wlmodem-1.0.0-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page