Mark
Mark

Reputation: 5028

BLE disconnects after BT pairing failed

Linux Raspbian Jessie Lite, Bluez 5.40. I have a GATT server and my own agent for incoming "standard" bluetooth connections (i.e. A2DP).

I can successfully "connect" to the GATT server, but if the user doesn't accept the pairing confirmation (from the BT) I receive this error:

qt.bluetooth.bluez: Failed to create pairing "org.freedesktop.DBus.Error.NoReply"

as expected, but after a couple of seconds also the BLE connection will drop. I wonder if it's the correct behavior. I thought the BLE and BT connections are indipendent each other.

Upvotes: 0

Views: 346

Answers (1)

Guo Xingmin
Guo Xingmin

Reputation: 1013

If you are using two Bluetooth smart ready device(BR/EDR/LE), then the BLE connection would be over BR/EDR, so it is make sense that your BLE also disconnected.

Upvotes: 1

Related Questions