Home » Android » Android bluetooth connection fails (Error: no bt sock found, scn 1)

Android bluetooth connection fails (Error: no bt sock found, scn 1)

Posted by: admin June 15, 2020 Leave a comment

Questions:

I wrote a little application for Android 2.3 using Eclipse Galileo.
The application is based on Bluetooth Chat example published on Google.

The problem is that bluetooth connection fails.
I connect my Android with Bluetooth access point via SPP – serial port profile).
The reasons why the connection fails are not clear for me.
I see the following in logs:

10-09 18:52:35.989: ERROR/BluetoothEventLoop.cpp(162): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/18286/hci0/dev_00_1A_7D_0A_B7_5F
10-09 18:58:35.239: ERROR/(18269): ****************search UUID = 1101***********
10-09 18:58:35.489: ERROR/BluetoothEventLoop.cpp(162): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/18286/hci0/dev_00_1A_7D_0A_B7_5F
10-09 18:58:35.529: ERROR/BluetoothEventLoop.cpp(162): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/18286/hci0/dev_00_1A_7D_0A_B7_5F

10-09 18:58:35.669: ERROR/BLZ20_WRAPPER(20769): 

Answer:

## ERROR : btlif_process_con_rsp: no bt sock found, scn 1

Answer:

##

Any help is appreciable

How to&Answers:

I think it may be related to a bug in the samsung bluetooth stack related to SSP connections.

check this link out:
http://www.samsunggalaxysforum.com/firmware-problems/connection-problems-sgs-bluetooth-spp-device/

One solution I had was if I detected a blutooth error in my app on a samsung device in software I would turn off the bluetooth wait 5 seconds and turn it back on.

Answer:

I think you using wrong UUID
UUID should be 00001101-0000-1000-8000-00805f9b34fb

If UUID is wrong not able to connect.