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.1
Filename, size File type Python version Upload date Hashes
Filename, size linklabs_host_interface-1.5.1-py2.py3-none-any.whl (10.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size linklabs-host-interface-1.5.1.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page