Skip to content

The Things Network device library for ESP32 (ESP-IDF) and SX127x based devices

License

Notifications You must be signed in to change notification settings

vladcebo/ttn-esp32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The Things Network device library for ESP32 (ESP-IDF) and SX127x based devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.2%
  • C++ 13.7%
  • Other 0.1%