If I'm talking to a Bluetooth (BLE) device using the Core Bluetooth functions, and I need to send or receive multiple packets (such as if I need to communicate a large message) is it guaranteed that the packets will arrive in the same order they were sent?
Is packet order guaranteed in Bluetooth?
Packets are numbered and the protocol checks they all arrived before considering the transmission complete. So at the application level, they should be in correct order.
Some interesting docs:
- https://stackoverflow.com/questions/77674630/does-the-ble-protocol-guarantee-write-ordering-across-multiple-characteristics-i
- https://stackoverflow.com/questions/77674630/does-the-ble-protocol-guarantee-write-ordering-across-multiple-characteristics-i
Hope that helps.