ttn-esp32/README.md

45 lines
1.9 KiB
Markdown
Raw Normal View History

2018-07-14 22:21:19 +02:00
# ttn-esp32
2018-07-16 10:49:47 +02:00
2018-07-21 17:02:41 +02:00
**The Things Network device library for ESP-IDF (ESP32) supporting devices with Semtech SX127x chips**
2018-07-16 10:49:47 +02:00
2021-07-31 12:36:47 +02:00
This ESP32 component provides LoRaWAN communication with
2021-09-29 18:57:05 +02:00
[The Things Network](https://www.thethingsnetwork.org/). It supports:
2018-07-28 22:21:29 +02:00
- OTAA (over-the-air activation)
- uplink and downlink messages
- saving the EUIs and key in non-volatile memory
2021-09-29 18:57:05 +02:00
- deep sleep and power off without the need for rejoining
2021-07-31 12:36:47 +02:00
- [AT commands](https://github.com/manuelbl/ttn-esp32/wiki/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
2018-07-16 10:49:47 +02:00
2021-07-31 12:36:47 +02:00
The library is based on the LMIC library from IBM (specifically the well-maintained version by MCCI
see their [GitHub repository](https://github.com/mcci-catena/arduino-lmic)) and provides a high-level API specifically targeted at The Things Network.
2020-08-02 10:19:58 +02:00
2022-09-27 19:20:53 +02:00
## New in version 4.x
2021-01-05 21:57:24 +01:00
2021-09-29 21:31:48 +02:00
- Support for deep sleep and power off (see [Deep Sleep and Power Off](https://github.com/manuelbl/ttn-esp32/wiki/Deep-Sleep-and-Power-Off))
2022-09-27 19:20:53 +02:00
- Verified compatibility with ESP-IDF v4.3 and 5.0
- Upgraded underlying library mcci-catena/arduino-lmic to v4.2.0-1
2021-07-31 12:36:47 +02:00
- C API
- Support for sub-bands
2021-09-29 21:31:48 +02:00
- Dropped support for *Makefile* builds
2020-08-02 10:19:58 +02:00
2018-07-16 10:49:47 +02:00
2018-07-21 17:02:41 +02:00
## Get Started
2018-07-16 10:49:47 +02:00
2018-07-21 17:02:41 +02:00
Follow the detailed [Get Started Guide](https://github.com/manuelbl/ttn-esp32/wiki/Get-Started) in the Wiki.
2018-07-16 10:49:47 +02:00
2018-07-21 17:02:41 +02:00
## Supported Boards
2021-07-31 12:36:47 +02:00
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](https://github.com/manuelbl/ttn-esp32/wiki/Boards-and-Pins) is described in detail.
2018-07-21 23:32:14 +02:00
## API Documentation
2021-07-31 12:51:41 +02:00
See [API Documentation](https://codecrete.net/ttn-esp32/) for both the C ad C++ API
2018-07-21 23:32:14 +02:00
## More information
2018-07-28 22:21:29 +02:00
More information can be found on the [Wiki pages](https://github.com/manuelbl/ttn-esp32/wiki).