Skip to main content

Python 3 bindings for interfacing with LoRa nodes such as the RN2483.

Project description

python-loranode
===============

Python 3 bindings for interfacing with LoRa nodes such as the RN2483, mDot, iM880A-L, and others. Currently, only the RN2483 modem is supported.


Installation
------------

`pip install loranode`


Examples
--------

Joining a network through Activation by Personalization (ABP) and transmitting a message:

```python
from loranode import RN2483Controller

lc = RN2483Controller("/dev/ttyUSB0")
if lc.join_abp("<your nwkskey>", "<your appskey>", "<your devaddr>"):
lc.send("0001020304") # Expects hex input
```

Send peer to peer message:

```python
from loranode import RN2483Controller

lc = RN2483Controller("/dev/ttyUSB0")
lc.send_p2p("0001020304")
```

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 loranode, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size loranode-0.0.4.tar.gz (5.9 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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page