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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47bf87e33652ea6529f3b9e375302ea28e94cdc34ab794f362b5cb32eedcf8d3 |
|
MD5 | c18c79275d87c20cf1e8775c087732c0 |
|
BLAKE2b-256 | 1559faf3c3adba9d65ff8ea933e58d50f6aabe7919eb8d199592581c61045b2f |
Close
Hashes for linklabs_host_interface-1.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2d402e99bbeafe91da67cc8bbe03351832cc98a8f39093ebb3bcde562ea77f |
|
MD5 | 85dced809378e5d4081f5413428ac10e |
|
BLAKE2b-256 | 85197f18bbd23104b1945b4aeab848eb66d951f9313e043e3d8acca264832750 |