The Things Uno SDK

With the staging environment of The Things Network coming up as well as the shipment of The Things Uno to our backers, I spent some time on the Arduino Library for The Things Uno.

It’s basically an abstraction layer for the serial interface of the Microchip RN2xx3 module on The Things Uno. You can also use this library on other Arduino compatible boards featuring this module, for example SODAQ’s Autonomo with LoRaBee and their new LoRaONE. This library is intended to be more accessible than the SODAQ_RN2483, and is also compatible with the RN2903.

This is version 0.3 that I have been using for some time now. For those of you who already own a beta version of The Things Uno, or another Arduino compatible device with Microchip RN2xx3, please let me know what you think of it.

https://github.com/TheThingsNetwork/sdk/tree/master/node/TheThingsUno

5 Likes

Looks nice and easy this way.

  1. I miss the “mac get status” call. I use that allways before a transmit to check if the devices is ready.
  2. From the example, ttu.sendString() returns true or false , not the results you really need, for instance “Rejoin needed”
    You could put the return message in a status field, or handle the session control automagicaly and build that into the class
  3. also “mac get deveui” could be very usefull, since you need it for OTAA

Feel free to tell me what we did wrong :smile: (besides not having RN2903 support)

It’s API is well accessible, but indeed RN2903 support, but it does have downlink support. I was merely referring to the code behind.