Reputation: 940
I have a Bluetooth client which implements an agent with NoInputNoOutput
capabilities (using BlueZ version 5.54 in Linux).
When a new pairing occurs, I expect the agent to receive a RequestAuthorization D-Bus message, but this never arrives.
From the BlueZ agent-api documentation:
void RequestAuthorization(object device)
This method gets called to request the user to authorize an incoming pairing attempt which would in other circumstances trigger the just-works model, or when the user plugged in a device that implements cable pairing. In the latter case, the device would not be connected to the adapter via Bluetooth yet.
Possible errors: org.bluez.Error.Rejected org.bluez.Error.Canceled
I have used dbus-monitor --system
to check for the existence of the message, but it's not there.
Why wouldn't this be sent?
Upvotes: 0
Views: 303