1

I have a Sparkfun "BlueSmirf" Bluetooth module (based on the RN-41 module from Rovings) which I use to transmit serial data between a microcontroller and my Java-App.

Now of course I want to be sure that my packets arrive as intended to - so do I have to implement some kind of error detection and correction on both sides or this is already included in the Bluetooth stack?

According to this answer from Dennis Mathews I do not need to worry about data corruption over SPP. The Sparkfun tutorial says that "These Bluetooth modems can talk to any other Bluetooth device that supports SPP". I suppose this means that my phone belongs to this list, because I can communicate with the BlueSmirf.

Am I understanding this correctly - meaning - I do not have to care about error control?

Edit: According to the Bluetooth SPP specification:

For any products that will be transferring large data files and where the receiving device will be subject to radio interference causing packet losses, it is recommended that the Error Control feature in L2CAP (Core Specification V3.0 and later) be utilized by configuring the channel to use Enhanced Retransmission mode.

So obviously this is not the default, and have to be configured somehow, or am I missing something?

Community
  • 1
  • 1
Vladimir
  • 1,045
  • 1
  • 11
  • 23

1 Answers1

0

Am I understanding this correctly - meaning - I do not have to care about error control?

Correct ! If you put error controlling then also that should not make anything wrong but generally this is not required any controlling. You an use it without error checking also.

HallMark
  • 101
  • 9