Linklabs module interface
Project description
This is a python implementation of the Link Labs host interface.
To get started, simply instantiate a ModuleDriver:
import ll_ifc mod = ll_ifc.ModuleDriver()
Then, set up the module with your gateway’s network token and the desired application token:
app_token = '12345678901234567890' net_token = '12345678' mod.set_up(app_token, net_token)
Once that’s finished, you can send uplink messages:
mod.send_message_checked(b'hello')
And receive downlink messages:
mod.set_downlink_mode('always') mod.wait_for_received_message()
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for linklabs-host-interface-1.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f0890a620f957f2606f1cbc314f2c2efc6f8151288f1ed5ff2b784b898fdeef |
|
MD5 | 75c13aa65b9bbaa0330923d7d46e672f |
|
BLAKE2b-256 | deddb5939d8b0c5309a393968ac079413d41f2ecc356cdb1884c2272ad577e3f |
Close
Hashes for linklabs_host_interface-1.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6493bce38156f3bb3d962292f8faa25c2d3eda4ee5d8f2c6a1ee92cdcae835d |
|
MD5 | ad2680b64e7950ec486f5de19495ff69 |
|
BLAKE2b-256 | 448d2b3b8ded280b5c73d22cf556bc527f9b416a80ede050fe20d3045fe6aa47 |