The library had stop maintenance on December 20th, 2022, and will not compatible with the Heltec WiFi Kit Series (V0.0.7) or newer development framework.
A full functions of LoRaWAN library already included in Heltec ESP32 library. We strongly recommend using the Heltec ESP32 library for your new project development.
If you have any questions, please fell free to contact us: support@heltec.cn.
To install this library:
For more info, see https://www.arduino.cc/en/Guide/Libraries
The ESP32_LoRaWAN
library provides a fairly complete LoRaWAN Class A and Class C implementation. The latest update (February 10th, 2020) has full region support (KR920, AS923, US915, etc.).
The following functions are included:
working band | status |
---|---|
EU433 | not test |
CN470 | work well |
EU863 | work well |
US915 | work well |
AU916 | work well |
CN779 | not test |
AS923 | not test |
KR920 | not test |
IN865 | not test |
US915_HYBRID | not test |
What certainly works:
What has not been tested:
The only different with a common Arduino library is need a unique license. It's relate to ESP32 Chip ID.
Only the boards made after August 2018 can be checked from this page, if you have a former version, you can mail to support@heltec.cn and improve you already have a Heltec Automation made board.
Choose working band you need In the Arduino tools menu:
For more details about how to use this library, please refer to this document:
The options in the Tools menu is relate to the Heltec ESP32 development framework, but in the Platform.io, it's use original Espressif ESP32 framework. So we need additional definition the build_flags
in platformio.ini
file.
build_flags =
-D REGION_CN470
-D ACTIVE_REGION=LORAMAC_REGION_CN470
-D LoRaWAN_DEBUG_LEVEL=0
Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labeled as for reference.
Also you can talk in our forum: http://community.heltec.cn/