Closed oscar-b closed 4 years ago
How do we handle a corrupt Bluetooth packet? Is there a checksum? If not, I guess we should at least check the length of each packet so that a parser doesn't have to worry about bad data.
Had a quick chat with John about checksumming. They have none and rely on BLE to handle that. Doesn’t seem like it’s been a problem. Was thinking we could easily drop packets of the incorrect length though.
Needs some tests :)