TheThingsNetwork / arduino-device-lib

Arduino Library for TTN Devices
MIT License
206 stars 96 forks source link

Support SX127x lora module #245

Closed jbinard closed 5 years ago

jbinard commented 5 years ago

Hi,

Do you plan to add support for SX127x lora module in this library?

Currently, if found the work from @fcgdam (https://github.com/fcgdam/TTGO_LoRa32) using IBM LMIC but it looks really more complicated than using TTN arduino library.

johanstokking commented 5 years ago

This library is built for modules, currently only supporting the Microchip RN2xx3 module.

Building support for other modules can be possible using the same API, of course depending on the module.

However, support for radios like SX127x is not feasible, as that would involve implementing LoRaWAN entirely in the library. Should you need to do that, then I highly recommend to use LoRaMAC-node (highly portable) or LoRaWAN in Arm Mbed OS.