48e8ca1f521d33a3d9051db08d06f435906199d6 |
|
11-Sep-2009 |
Nick Pelly <npelly@google.com> |
Add BluetoothDebug.apk for testing and debugging Bluetooth. Currently it just registers a receiver for all Bluetooth intents, and prints them to logcat. For example: BTDEBUG : a.b.device.a.FOUND BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33 BTDEBUG : a.b.device.e.RSSI = -35 BTDEBUG : a.b.device.e.CLASS = 200404 BTDEBUG : a.b.adapter.a.DISCOVERY_FINISHED BTDEBUG : a.b.device.a.BOND_STATE_CHANGED BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33 BTDEBUG : a.b.device.e.BOND_STATE = 11 BTDEBUG : a.b.device.e.PREVIOUS_BOND_STATE = 10 BTDEBUG : a.b.device.a.ACL_CONNECTED BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33 BTDEBUG : a.b.device.a.NAME_CHANGED BTDEBUG : a.b.device.e.DEVICE = 00:18:13:F2:CC:33 BTDEBUG : a.b.device.e.NAME = "HBH-IV840" This application is built by default, but is not installed. Use mmm development/apps/BluetoothDebug adb install -r $OUT/system/app/BluetoothDebug.apk to install it. Logging will begin immediately. Change-Id: I582e6415fc1c856a6a4581ecf52eda11818601cf
|