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 SAM34 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, at the moment, experimental. Boards that can be used are the SAMR34 Xplained Pro, the WLR089 Xplained Pro or a proprietary board containing the SAMR34
.
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 theRN2xx3
devices 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
RN2xx3
modems 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
autoBaud
feature is not available in the RN parser firmware, but this is easily circumvented by manually modifying the default baud rate in theconf_sio2host.h
file 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.