Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

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()
Release History

Release History

This version
History Node

1.5.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
linklabs_host_interface-1.5.0-py2.py3-none-any.whl (10.8 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Oct 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting