Android Question Bluetooth error

red30

Well-Known Member
Licensed User
Longtime User
I took a programm from the first post (BluetoothAdmin Tutorial) as an example but used the tablet connected with bluetooth module HC-05(which is connected to microcontroller) instead of two android devices.
The search of bluetooth devices is a very long (about 1-2 minutes) on some devices, and when it is over, I choose the device and it gives me an error - as in the picture below. Why is this happening? How to fix it?
 

Attachments

  • 01.png
    01.png
    21.3 KB · Views: 287
  • 02.jpg
    02.jpg
    23.7 KB · Views: 256

red30

Well-Known Member
Licensed User
Longtime User
It searches for a device named HC-05. See Starter service code.

One error in your code is that you are using prefix mode although it is not implemented on both sides.
Can you explain a bit more?
Why on most devices operate normally?
 
Upvote 0
Top