Skip to main content

Interface for RAK811 LoRa module

Project description

pyrak811v2

RAK811v2 Python 3 library for use with the Raspberry Pi LoRa pHAT.

The library exposes the AT commands as described in the RAK811 Lora AT Command User Guide V1.0 found in the DOCS folder of this repository. This applies to LoRa modules with firmware version V3.0.0.13.T3 or later.

The AT command structure is signifficantly different from that in previous versions of the firmware.

This library is based heavily on pyrak811 https://github.com/AmedeeBulle/pyrak811 but doesn't include the command line interface (CLI) functionality.

Peripheral Requirements A Raspberry Pi! A RAK811 LoRa module (PiSupply IoT LoRa Node pHAT for Raspberry Pi ) On the Raspberry Pi the hardware serial port must be enabled and the serial console disabled (use raspi-config) The user running the application must be in the dialout and gpio groups (this is the default for the pi user)

The Python script loraTest.py is an eaxmple of a script that when configured with appropriate identifiers will execute a number of AT commands including joining to the network (OTA or ABP) and sending some data and waiting for confirmaton.

You may use the Python logging module to control logging by the library. Currently setting the log level to DEBUG will display the AT commands sent to the module and the raw respnse received from the module. See loraTest.py for an example of enabling logging DEBUG level output to the console. For further information regards configuring Python logging see the online documentation for the logging library.

This represents my first foray into both git and Python so appologies in advance for anything missing etc that is normally provided.

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

rak811v2-0.0.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rak811v2-0.0.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file rak811v2-0.0.1.tar.gz.

File metadata

  • Download URL: rak811v2-0.0.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/2.7.16

File hashes

Hashes for rak811v2-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b06632a55d03bbc1069053c75bc966209e9f81a565b11efc15ff16651aee4cbd
MD5 231130e9ec73474904848dce3c88bc73
BLAKE2b-256 70529f517facfe7e1e515d20c5ddefbaedc3773c5f2c2566a500c8224d87e5df

See more details on using hashes here.

File details

Details for the file rak811v2-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: rak811v2-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/2.7.16

File hashes

Hashes for rak811v2-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05863d3be8d3435b52b37eda9e852137e904a4189230a03841a06322e0f522de
MD5 83c51f12e221b0296226d46d6bedec37
BLAKE2b-256 ce4e5dd34669edf6c611f765ea09dc5631f45b4682c6079e640013c7740d162f

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