开发者

Error Checking and Validation using Bluetooth in Java

开发者 https://www.devze.com 2022-12-11 14:39 出处:网络
Using Bluetooth I wish to communicate between a Windows PC and a mobile phone. The PC will probably have Bluecove whi开发者_Go百科le the mobile comes with JSR-82.

Using Bluetooth I wish to communicate between a Windows PC and a mobile phone. The PC will probably have Bluecove whi开发者_Go百科le the mobile comes with JSR-82.

Do I have to implement CRC and other error checking procedures in my software related to Bluetooth transmission and reception or does the underlying Stack and hardware takes care of those details?

For instance if I send a message to another device over RFCOMM/SPP I need to be certain whether the message reached the device and whether it received exactly what I sent.

How can this be implemented or does this have to be checked in software?


RFCOMM is supposed to provide a reliable connection like tcp.
Data should arrive in the order it was sent, without corruption, or not at all.

0

精彩评论

暂无评论...
验证码 换一张
取 消