Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for linklabs-host-interface, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size linklabs_host_interface-1.5.0-py2.py3-none-any.whl (10.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size linklabs-host-interface-1.5.0.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page