This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Are Characteristic Value Notification Reliable ?

When a characteristics notification at a GATT server is enabled, and it's value is changed, a notification is sent automatically to the client.

Is this message reliable ? (Will the notification be retransmitted by the lower layers until there is an acknowledgment  from the client ?)

And generally, are the messages in the GATT,GAP layer in LE bluetooth are reliable ?

Thanks,

Sasha.

  • Yes. The link layer will automatically handle acknowledgments and re-transmissions of upper layer data packets. The only thing to be careful of is when queuing up the data packet (for example when calling GATT_Notification), if the function call does not return SUCCESS then the data is never getting sent. This may be due to the transmit buffer being filled up, or because no more heap memory is available. If a non-SUCCESS value is returned, no automatic retransmission will occur because the packet never made it to the link layer.