Note: This is a fork of the now-unmaintained arduino-device-lib with support for the Microchip SAMR34 and tested with ESP32. Intended as a drop-in replacement with backward compatibility.
This is an Arduino Library for Arduino devices like The Things Uno and Node to communicate via The Things Network.
At the moment this library requires devices to feature a Microchip RN2xx3 module. You may also use a
SAMR34-based board, for more information on that see SAMR34 Usage.
- Install the library by Using the Library Manager
- OR by Importing the .zip library using either the master or one of the releases ZIP files.
- The Things Network Documentation
- API References:
Compatibility between this library and the SAMR34-based boards is experimental, it has only been tested with the Microchip WLR089 module.
Before usage, please note the following:
- If using a
SAMR34-based board, you must first program your board with the RN Parser firmware. This firmware emulates the behaviour of theRN2xx3devices on theSAMR34. Specifically, you must use theMLS 1_0_P_6 (Parser_ECC608)firmware contained here, since several bugs that made the firmware unusable where fixed for this release. - Some commands available in the
RN2xx3modems are not implemented in the RN Parser firmware forSAMR34. For a complete list of the implemented commands and their possible differences, see the Command User Guide for the RN Parser firmware. - The
autoBaudfeature is not available in the RN parser firmware, but this is easily circumvented by manually modifying the default baud rate in theconf_sio2host.hfile within the firmware's source code. Default baud rate is115200.
The library comes with examples. After installing the library you need to restart the Arduino IDE before they can be found under File > Examples > TheThingsNetwork.