Bluetooth Prefix Mode

lip

Active Member
Licensed User
Longtime User
I am using the Bluetooth Example to connect to a an Adeunis device via Bluetooth. The connection works and I can send data and see it on the Adeunis. I have initialised the serial port in Prefix mode and can see the prefix bytes arriving so all is good.

Before I have sent any data, the Adeunis device receives about 30 random looking bytes. Is this coming from my Initialise command? If so can anyone tell me what is in it so that we can interpret it (and or work out hw to ignore it) at the other end?

Thank you in advance...
 

KitCarlson

Active Member
Licensed User
Longtime User
This may help. My BT radio has a control mode and a data mode. When first connected it will put out string about 'IN BYPASS MODE'. The bypass mode is the desired for data communications. I use non prefix mode with a simple protocol, the protocol works to validate the data and purpose. I have found the communications works well in my application.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…