I am using Nordic UART service to send raw data to laptop. Does laptop may receive corrupted raw data?
I am using Nordic UART service to send raw data to laptop. Does laptop may receive corrupted raw data?
Hello,
No, you will not receive corrupted data over the BLE link - the Bluetooth Low Energy protocol is both loss-less and protected against on-air corruption, so your data will either arrive as they were sent (verified with a CRC) or not at all.
Packets that fail the CRC check will be discarded by the SoftDevice, and so your application will never see them.
You can be certain that the packet your application received is the same as the packet that was sent by your peer, regardless of which profile/service/characteristic you used to make the transfer.
Best regards,
Karl
Hello,
No, you will not receive corrupted data over the BLE link - the Bluetooth Low Energy protocol is both loss-less and protected against on-air corruption, so your data will either arrive as they were sent (verified with a CRC) or not at all.
Packets that fail the CRC check will be discarded by the SoftDevice, and so your application will never see them.
You can be certain that the packet your application received is the same as the packet that was sent by your peer, regardless of which profile/service/characteristic you used to make the transfer.
Best regards,
Karl