When sending data on a pipe with ACK (indicate), the acknowledgement seems to get lost if the device gets disconnected right after having sent that data. Is that a normal behaviour? How can I know if the data has been transmitted successfully?
The goal is to have a reliable data transmission where every packet is resent as long it is not acknowledged by the receiver. If there is an unintended disconnection (connection timeout) after having sent a data packet, no acknowledgement is received and the data will be resent after reconnection. This sometimes leads to a second reception of the same message...
How can a server (nRF8001) know that a data has been received if there is no ACK? What do I need to get a transmission where every message is reliably transmitted exactly once?