1

I'm reading a logcat now, trying to understand why 2 devices couldn't connect via bluetooth. Is there a way to know if the 2 devices were paired successfully only by reading the logcat? I don't have the devices with me, just trying to understand the situation by reading to logs.

maybe i should look for the BluetoothBondState. is there a definition for these states somewhere?

Kazekage Gaara
  • 14,972
  • 14
  • 61
  • 108
Yaniv
  • 1,906
  • 2
  • 16
  • 23

1 Answers1

0

Extending from your comment, and from the documentations:

During bonding the constant public static final int BOND_BONDING has the value 11 (0x0000000b).

And once, the bond is successful, the constant public static final int BOND_BONDED has the value 12 (0x0000000c).

Kazekage Gaara
  • 14,972
  • 14
  • 61
  • 108