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


Release history Release notifications

This version
History Node

1.5.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
linklabs_host_interface-1.5.0-py2.py3-none-any.whl (10.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 20, 2016
linklabs-host-interface-1.5.0.tar.gz (9.2 kB) Copy SHA256 hash SHA256 Source None Oct 20, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page