sfera-labs / iono-mkr-lorawan

LoRaWAN App for Iono MKR
GNU Lesser General Public License v3.0
0 stars 0 forks source link

OTAA JOIN support #1

Open leogaggl opened 4 years ago

leogaggl commented 4 years ago

Is there any support for OTAA JOIN envisaged for the IonoMKR?

giampiero7 commented 4 years ago

Hello @leogaggl , Thanks for your request!

Yes, we'll be adding OTAA support. In the meantime, you could edit the code here:

https://github.com/sfera-labs/iono-mkr-lorawan/blob/master/IonoMkrLoRaWAN/IonoMkrLoRaWAN.ino#L277

to call joinOTAA() instead of joinABP() and comment out the following calls to modem.setFCU() and modem.setFCD() since the counters will be reset upon OTAA join.

We'd be glad to receive contributions and feedback.

Thanks!