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.

Source Distribution

linklabs-host-interface-1.5.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

linklabs_host_interface-1.5.1-py2.py3-none-any.whl (10.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file linklabs-host-interface-1.5.1.tar.gz.

File metadata

  • Download URL: linklabs-host-interface-1.5.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for linklabs-host-interface-1.5.1.tar.gz
Algorithm Hash digest
SHA256 47bf87e33652ea6529f3b9e375302ea28e94cdc34ab794f362b5cb32eedcf8d3
MD5 c18c79275d87c20cf1e8775c087732c0
BLAKE2b-256 1559faf3c3adba9d65ff8ea933e58d50f6aabe7919eb8d199592581c61045b2f

See more details on using hashes here.

File details

Details for the file linklabs_host_interface-1.5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: linklabs_host_interface-1.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for linklabs_host_interface-1.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f2d402e99bbeafe91da67cc8bbe03351832cc98a8f39093ebb3bcde562ea77f
MD5 85dced809378e5d4081f5413428ac10e
BLAKE2b-256 85197f18bbd23104b1945b4aeab848eb66d951f9313e043e3d8acca264832750

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page