The Things Network device library for ESP32 (ESP-IDF) and SX127x based devices
Go to file
Cebotari Vladislav 5b22f228da
Prevent hal_ticks() from going into .text region
This will fix an issue when the flash is disabled (due to OTA update for example) and the cpu crashes with cache disabled access from ISR (when TTN executes)
2021-01-02 17:32:30 +00:00
.vscode Convert provisioning code to C++ 2018-10-27 14:45:55 +02:00
doc Improve documentation 2020-08-02 19:53:02 +02:00
examples Add rssi() function 2020-08-01 18:30:47 +02:00
include Improve documentation 2020-08-02 19:53:02 +02:00
src Prevent hal_ticks() from going into .text region 2021-01-02 17:32:30 +00:00
.gitignore Upgrade to version 2.3.2 of mcci-catena/arduino-lmic 2019-04-16 21:36:03 +02:00
CMakeLists.txt Improve compatibility between ESP-IDF v3.3 and v4.x 2019-10-14 22:09:16 +02:00
component.mk Reorganize directories 2018-10-02 20:25:40 +02:00
Kconfig Rename reset options 2020-07-31 21:54:09 +02:00
library.json Version 2.3 2020-08-01 18:32:10 +02:00
LICENSE Fix license 2018-07-21 21:54:29 +02:00
README.md README updated for 3.2.0 2020-08-02 10:19:58 +02:00

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
  • AT commands for provisioning EUIs and key (so the same code can be flashed to several devices)
  • support for regions Eurpe, North and South America, Australia, Korea, Asia and India

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 3.2

  • Based on latest version of LMIC library (3.2.0) and ESP-IDF v4.0.x
  • Monitoring of RF parameters (frequency, bandwidth, spreading factor, RSSI)
  • Shutdown/startup of radio, enabling/disabling of ADR

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.

API Documentation

See the Wiki page: API Documentation

More information

More information can be found on the Wiki pages.