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.

Source Distribution

loranode-0.0.4.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file loranode-0.0.4.tar.gz.

File metadata

  • Download URL: loranode-0.0.4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for loranode-0.0.4.tar.gz
Algorithm Hash digest
SHA256 aade341a6733fac8ac1fce8d7daedd89ab3fed3c4752428a3848f718da07bee1
MD5 d244edee66be9761044e2dbcf27ed6e9
BLAKE2b-256 c80f9014199c15ec6278418b29a13a5a1e2482723c712297853b860feed49567

See more details on using hashes here.

Supported by

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