mcci-catena / arduino-lorawan

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

Event: Uplink not scheduled because TxRx pending issue #188

Open sw-dev-code opened 2 years ago

sw-dev-code commented 2 years ago

I'm using the LMIC-node library on the Heltec LoRa WIFI V2 board and there is the following problem that appears randomly in time:

Event: Uplink not scheduled because TxRx pending

After this even if I do rejoin device is unable to send data, only the device reboot helps.

terrillmoore commented 2 years ago

I think the LMIC-node library is something else. It might use this library, but I think you should ask for support there.

Technically, this means that the LMIC was busy processing network operations and was not able to accept a transmit at that time. This can really happen on any transmit after the first one; the network can repeatedly send downlinks, and keep the class-A loop busy for an arbitrary period of time. One suspect that path in the LMIC-node library is missing the error that is returned when this happens, and not retrying.