The Things Network device library for ESP32 (ESP-IDF) and SX127x based devices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Manuel Bleichenbacher 877784640d
Increase version number to 4.2.0-1
6 months ago
.vscode C implementation for TheThingsNetwork 2 years ago
doc Link to new API documentation 2 years ago
examples Improve SPI robustness (fix incompatibility with ESP32-S2) 1 year ago
include Improve SPI robustness (fix incompatibility with ESP32-S2) 1 year ago
src Upgrade to latest LMIC code (v4.2.0-1) 6 months ago
.clang-format Adapted code formatting 2 years ago
.gitignore Upgrade to version 2.3.2 of mcci-catena/arduino-lmic 4 years ago
CMakeLists.txt fix compilation issues 6 months ago
Kconfig Improve SPI robustness (fix incompatibility with ESP32-S2) 1 year ago
LICENSE Upgrade to mcci-catena/arduino-lmic 4.0.1-pre 2 years ago
README.md Increase version number to 4.2.0-1 6 months ago
library.json Increase version number to 4.2.0-1 6 months ago

README.md

ttn-esp32

The Things Network device library for ESP-IDF (ESP32) supporting devices with Semtech SX127x chips

This ESP32 component provides LoRaWAN communication with The Things Network. It supports:

  • OTAA (over-the-air activation)
  • uplink and downlink messages
  • saving the EUIs and key in non-volatile memory
  • deep sleep and power off without the need for rejoining
  • AT commands for provisioning EUIs and key (so the same code can be flashed to several devices)
  • support for regions Europe, North and South America, Australia, Korea, Asia and India
  • C and C++ API

The library is based on the LMIC library from IBM (specifically the well-maintained version by MCCI see their GitHub repository) and provides a high-level API specifically targeted at The Things Network.

New in version 4.x

  • Support for deep sleep and power off (see Deep Sleep and Power Off)
  • Verified compatibility with ESP-IDF v4.3 and 5.0
  • Upgraded underlying library mcci-catena/arduino-lmic to v4.2.0-1
  • C API
  • Support for sub-bands
  • Dropped support for Makefile builds

Get Started

Follow the detailed Get Started Guide in the Wiki.

Supported Boards

All boards with Semtech SX127x chips, RFM9x and compatibles are supported. It includes boards from ttgo, Heltec and HopeRF. For several of them, the Pin Configuration is described in detail.

API Documentation

See API Documentation for both the C ad C++ API

More information

More information can be found on the Wiki pages.

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close