Reputation: 550
Sometimes, the onConnectionStateChange() callback is called with status 22.
It is said to be a "Bond" error.
But what could be the cause behind it?
And how to avoid it?
Upvotes: 1
Views: 2072
Reputation: 18497
22 just means "connection terminated by local host" (defined by the Bluetooth specification). Some examples why the host terminates:
Upvotes: 4