Hi,
Does Central or Peripheral UART enable ACK/NACK in the code for BLE communication?
How does Peripheral recognize if Central has received all the data ? Is there any ACK for the same ?
Regards
Thank you
Pallavi
Hi,
Does Central or Peripheral UART enable ACK/NACK in the code for BLE communication?
How does Peripheral recognize if Central has received all the data ? Is there any ACK for the same ?
Regards
Thank you
Pallavi
Hi
The UART itself doesn't do ACK/NACK, and this happens in the Bluetooth LE Link Layer. The link layer uses 2 bits for acknowledgement: transmitSeqNum and nextExpectedSeqNum called SN and NESN bits from the packet
Best regards,
Simon
Hi Simonr
Thank you for the reply. I have understood the concept.
Where can we find this in the code?
I have read that Notify characteristic doesn't give ACK/NACK, is it TRUE?
If so, what should I do to reduce data loss?
Should I change to Notify to Indications?
Regards
Thank you
Hi Simonr
Thank you for the reply. I have understood the concept.
Where can we find this in the code?
I have read that Notify characteristic doesn't give ACK/NACK, is it TRUE?
If so, what should I do to reduce data loss?
Should I change to Notify to Indications?
Regards
Thank you