How to detect: +EVT:SEND_CONFIRMED_FAILED(4)

I’m using a rak3172 and the arduino development environment and cannot detect a failed condition when the error is: +EVT:SEND_CONFIRMED_FAILED(4)

The status in the sendcallback function is zero which tells me there’s no error but the EVT text indicates confirmed failed. How do I go about detecting the confirmed failed condition in code?

the following is the send command i’m using:
api.lorawan.send(data_len, (uint8_t *) & collected_data, 2, true, 0));

Any help or suggstions would be greatly appreciated.

I’m using firmware version 4.2.2 (latest)

I found a solution by using api.lorawan.cfs.get() which returns true if data was confirmed and false if not confirmed. So in the sendcallback function use api.lorawan.cfs.get() to determine if the send data was confirmed.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.