mcci-catena / arduino-lorawan

User-friendly library for using arduino-lmic with The Things Network and other LoRaWAN® networks
MIT License
284 stars 54 forks source link

Fix #88: use new LMIC APIs for SendBuffer #102

Closed terrillmoore closed 5 years ago

terrillmoore commented 5 years ago

This turned out to be a source of confusion and instability (as well as duplicating code in two layers).

Also in this change, I added some comments; changed the layout of the (incomplete) SessionInfoV2 structure to match SessionInfoV1, changed API GetTxReady() to be const in its reference to this, and made some other cosmetic changes. (I would break up the commits, but time presses.)