代码改变世界

(android2.3源码)蓝牙log之蓝牙配对

2012-09-18 22:33  ...平..淡...  阅读(324)  评论(0编辑  收藏  举报
 1 01-07 14:11:31.257: D/BlueZ(3970): 00:24:23:C9:C2:64
 2 01-07 14:11:31.257: D/BlueZ(3970): 00:24:23:C9:C2:64
 3 01-07 14:11:31.257: D/BlueZ(3970): Creating device /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
 4 01-07 14:11:31.257: D/BlueZ(3970): 0x1c848: ref=1
 5 01-07 14:11:31.265: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Adapter:DeviceCreated from /org/bluez/3970/hci0
 6 01-07 14:11:31.265: D/BluetoothService(1329): 00:24:23:C9:C2:64 bond state 10 -> 11 (0)
 7 01-07 14:11:31.273: D/BlueZ(3970): /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64: requesting bonding
 8 01-07 14:11:31.273: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/3970/hci0
 9 01-07 14:11:31.273: D/BlueZ(3970): Temporary agent registered for /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64 at :1.0:/android/bluetooth/remote_device_agent
10 01-07 14:11:31.281: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.BOND_STATE_CHANGED
11 01-07 14:11:31.312: D/KeyguardViewMediator(1329): setHidden false
12 01-07 14:11:31.320: D/PowerManagerService(1329): setScreenBrightnessOverride -1
13 01-07 14:11:31.320: D/PowerManagerService(1329): setButtonBrightnessOverride -1
14 01-07 14:11:31.328: D/KeyguardViewMediator(1329): setHidden false
15 01-07 14:11:31.335: D/PowerManagerService(1329): setScreenBrightnessOverride -1
16 01-07 14:11:31.335: D/PowerManagerService(1329): setButtonBrightnessOverride -1
17 01-07 14:11:31.351: D/KeyguardViewMediator(1329): setHidden false
18 01-07 14:11:31.359: D/PowerManagerService(1329): setScreenBrightnessOverride -1
19 01-07 14:11:31.359: D/PowerManagerService(1329): setButtonBrightnessOverride -1
20 01-07 14:11:31.523: W/InputManagerService(1329): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@406f88e8
21 01-07 14:11:31.765: I/LocalBluetoothManager(1521): mLocalManager.checkconnecteddevice
22 01-07 14:11:32.265: D/BlueZ(3970): 00:24:23:C9:C2:64
23 01-07 14:11:32.273: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
24 01-07 14:11:32.281: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.ACL_CONNECTED
25 01-07 14:11:32.281: I/BluetoothEventRedirector(1521): BluetoothDevice.ACTION_ACL_CONNECTED is called
26 01-07 14:11:32.289: W/CachedBluetoothDeviceManager(1521): connect the device headset ~~~
27 01-07 14:11:32.382: D/BlueZ(3970): kernel auth requirements = 0x03
28 01-07 14:11:32.390: D/BlueZ(3970): 00:24:23:C9:C2:64
29 01-07 14:11:32.390: D/BlueZ(3970): initial authentication requirement is 0x03
30 01-07 14:11:32.390: D/BlueZ(3970): final authentication requirement is 0x03
31 01-07 14:11:32.421: D/BlueZ(3970): 00:24:23:C9:C2:64
32 01-07 14:11:32.492: D/BlueZ(3970): 00:24:23:C9:C2:64
33 01-07 14:11:32.492: D/BlueZ(3970): confirm IO capabilities are 0x01
34 01-07 14:11:32.492: D/BlueZ(3970): confirm authentication requirement is 0x03
35 01-07 14:11:32.492: D/BlueZ(3970): remote IO capabilities are 0x01
36 01-07 14:11:32.492: D/BlueZ(3970): remote authentication requirement is 0x03
37 01-07 14:11:32.492: D/BlueZ(3970): /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64: requesting agent authentication
38 01-07 14:11:32.492: D/BlueZ(3970): Calling Agent.RequestConfirmation: name=:1.0, path=/android/bluetooth/remote_device_agent, passkey=852959
39 01-07 14:11:32.500: I/BluetoothEventLoop.cpp(1329): agent_event_filter: Received method org.bluez.Agent:RequestConfirmation
40 01-07 14:11:35.304: D/PairRequest(1521): 00:24:23:C9:C2:64
41 01-07 14:11:35.312: I/ActivityManager(1329): Starting: Intent { act=android.bluetooth.device.action.PAIRING_REQUEST flg=0x10000000 cmp=com.android.settings/.bluetooth.BluetoothPairingDialog (has extras) } from pid 1521
42 01-07 14:11:38.742: D/BlueZ(3970): status=00
43 01-07 14:11:38.742: D/BlueZ(3970): 00:24:23:C9:C2:64
44 01-07 14:11:38.750: D/BlueZ(3970): 00:24:23:C9:C2:64
45 01-07 14:11:38.750: D/BlueZ(3970): key type 0x05 old key type 0xff new key type 0x05
46 01-07 14:11:38.750: D/BlueZ(3970): local auth 0x03 and remote auth 0x03
47 01-07 14:11:38.750: D/BlueZ(3970): storing link key of type 0x05
48 01-07 14:11:38.789: D/BlueZ(3970): status=00
49 01-07 14:11:38.789: D/BlueZ(3970): 00:24:23:C9:C2:64
50 01-07 14:11:38.789: D/BlueZ(3970): 0x1c848: ref=2
51 01-07 14:11:38.789: D/BlueZ(3970): Releasing agent :1.0, /android/bluetooth/remote_device_agent
52 01-07 14:11:38.796: I/BluetoothEventLoop.cpp(1329): agent_event_filter: Received method org.bluez.Agent:Release
53 01-07 14:11:38.796: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
54 01-07 14:11:38.804: D/BlueZ(3970): kernel auth requirements = 0x03
55 01-07 14:11:38.804: D/BlueZ(3970): link key type = 0x05
56 01-07 14:11:38.843: D/BlueZ(3970): status=00
57 01-07 14:11:38.843: D/BlueZ(3970): 00:24:23:C9:C2:64
58 01-07 14:11:38.843: D/BlueZ(3970): no pending auth request
59 01-07 14:11:39.070: D/BlueZ(3970): Probe drivers for /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
60 01-07 14:11:39.070: D/BlueZ(3970): path /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
61 01-07 14:11:39.085: D/BlueZ(3970): 00:24:23:C9:C2:64
62 01-07 14:11:39.085: D/BlueZ(3970): 0x1c848: ref=3
63 01-07 14:11:39.085: D/BlueZ(3970): Registered interface org.bluez.Audio on path /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
64 01-07 14:11:39.085: D/BlueZ(3970): server not enabled for 00001112-0000-1000-8000-00805f9b34fb (0x1112)
65 01-07 14:11:39.085: D/BlueZ(3970): server not enabled for 0000111f-0000-1000-8000-00805f9b34fb (0x111f)
66 01-07 14:11:39.085: D/BlueZ(3970): server not enabled for 0000110a-0000-1000-8000-00805f9b34fb (0x110a)
67 01-07 14:11:39.085: D/BlueZ(3970): Found AV Target
68 01-07 14:11:39.085: D/BlueZ(3970): Registered interface org.bluez.Control on path /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
69 01-07 14:11:39.085: D/BlueZ(3970): Found AV Target
70 01-07 14:11:39.093: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
71 01-07 14:11:39.093: D/BluetoothService(1329): updateDeviceServiceChannelCache(00:24:23:C9:C2:64)
72 01-07 14:11:39.125: D/BlueZ(3970): 0x1c848: ref=2
73 01-07 14:11:39.125: D/BluetoothService(1329): uuid(system): 00001105-0000-1000-8000-00805f9b34fb 12
74 01-07 14:11:39.132: D/BluetoothService(1329): uuid(system): 00001132-0000-1000-8000-00805f9b34fb 16
75 01-07 14:11:39.140: D/BluetoothService(1329): uuid(system): 00001106-0000-1000-8000-00805f9b34fb 20
76 01-07 14:11:39.148: V/BluetoothEventRedirector(1521): Received android.bleutooth.device.action.UUID
77 01-07 14:11:39.156: D/BluetoothService(1329): 00:24:23:C9:C2:64 bond state 11 -> 12 (0)
78 01-07 14:11:39.242: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.BOND_STATE_CHANGED
79 01-07 14:11:41.773: I/LocalBluetoothManager(1521): mLocalManager.checkconnecteddevice
80 01-07 14:11:45.562: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.ACL_DISCONNECTED

 

01-07 14:11:31.257: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:31.257: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:31.257: D/BlueZ(3970): Creating device /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:31.257: D/BlueZ(3970): 0x1c848: ref=1
01-07 14:11:31.265: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Adapter:DeviceCreated from /org/bluez/3970/hci0
01-07 14:11:31.265: D/BluetoothService(1329): 00:24:23:C9:C2:64 bond state 10 -> 11 (0)
01-07 14:11:31.273: D/BlueZ(3970): /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64: requesting bonding
01-07 14:11:31.273: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/3970/hci0
01-07 14:11:31.273: D/BlueZ(3970): Temporary agent registered for /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64 at :1.0:/android/bluetooth/remote_device_agent
01-07 14:11:31.281: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.BOND_STATE_CHANGED
01-07 14:11:31.312: D/KeyguardViewMediator(1329): setHidden false
01-07 14:11:31.320: D/PowerManagerService(1329): setScreenBrightnessOverride -1
01-07 14:11:31.320: D/PowerManagerService(1329): setButtonBrightnessOverride -1
01-07 14:11:31.328: D/KeyguardViewMediator(1329): setHidden false
01-07 14:11:31.335: D/PowerManagerService(1329): setScreenBrightnessOverride -1
01-07 14:11:31.335: D/PowerManagerService(1329): setButtonBrightnessOverride -1
01-07 14:11:31.351: D/KeyguardViewMediator(1329): setHidden false
01-07 14:11:31.359: D/PowerManagerService(1329): setScreenBrightnessOverride -1
01-07 14:11:31.359: D/PowerManagerService(1329): setButtonBrightnessOverride -1
01-07 14:11:31.523: W/InputManagerService(1329): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@406f88e8
01-07 14:11:31.765: I/LocalBluetoothManager(1521): mLocalManager.checkconnecteddevice
01-07 14:11:32.265: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:32.273: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:32.281: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.ACL_CONNECTED
01-07 14:11:32.281: I/BluetoothEventRedirector(1521): BluetoothDevice.ACTION_ACL_CONNECTED is called
01-07 14:11:32.289: W/CachedBluetoothDeviceManager(1521): connect the device  headset ~~~
01-07 14:11:32.382: D/BlueZ(3970): kernel auth requirements = 0x03
01-07 14:11:32.390: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:32.390: D/BlueZ(3970): initial authentication requirement is 0x03
01-07 14:11:32.390: D/BlueZ(3970): final authentication requirement is 0x03
01-07 14:11:32.421: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:32.492: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:32.492: D/BlueZ(3970): confirm IO capabilities are 0x01
01-07 14:11:32.492: D/BlueZ(3970): confirm authentication requirement is 0x03
01-07 14:11:32.492: D/BlueZ(3970): remote IO capabilities are 0x01
01-07 14:11:32.492: D/BlueZ(3970): remote authentication requirement is 0x03
01-07 14:11:32.492: D/BlueZ(3970): /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64: requesting agent authentication
01-07 14:11:32.492: D/BlueZ(3970): Calling Agent.RequestConfirmation: name=:1.0, path=/android/bluetooth/remote_device_agent, passkey=852959
01-07 14:11:32.500: I/BluetoothEventLoop.cpp(1329): agent_event_filter: Received method org.bluez.Agent:RequestConfirmation
01-07 14:11:35.304: D/PairRequest(1521): 00:24:23:C9:C2:64
01-07 14:11:35.312: I/ActivityManager(1329): Starting: Intent { act=android.bluetooth.device.action.PAIRING_REQUEST flg=0x10000000 cmp=com.android.settings/.bluetooth.BluetoothPairingDialog (has extras) } from pid 1521
01-07 14:11:38.742: D/BlueZ(3970): status=00
01-07 14:11:38.742: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:38.750: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:38.750: D/BlueZ(3970): key type 0x05 old key type 0xff new key type 0x05
01-07 14:11:38.750: D/BlueZ(3970): local auth 0x03 and remote auth 0x03
01-07 14:11:38.750: D/BlueZ(3970): storing link key of type 0x05
01-07 14:11:38.789: D/BlueZ(3970): status=00
01-07 14:11:38.789: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:38.789: D/BlueZ(3970): 0x1c848: ref=2
01-07 14:11:38.789: D/BlueZ(3970): Releasing agent :1.0, /android/bluetooth/remote_device_agent
01-07 14:11:38.796: I/BluetoothEventLoop.cpp(1329): agent_event_filter: Received method org.bluez.Agent:Release
01-07 14:11:38.796: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:38.804: D/BlueZ(3970): kernel auth requirements = 0x03
01-07 14:11:38.804: D/BlueZ(3970): link key type = 0x05
01-07 14:11:38.843: D/BlueZ(3970): status=00
01-07 14:11:38.843: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:38.843: D/BlueZ(3970): no pending auth request
01-07 14:11:39.070: D/BlueZ(3970): Probe drivers for /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:39.070: D/BlueZ(3970): path /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:39.085: D/BlueZ(3970): 00:24:23:C9:C2:64
01-07 14:11:39.085: D/BlueZ(3970): 0x1c848: ref=3
01-07 14:11:39.085: D/BlueZ(3970): Registered interface org.bluez.Audio on path /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:39.085: D/BlueZ(3970): server not enabled for 00001112-0000-1000-8000-00805f9b34fb (0x1112)
01-07 14:11:39.085: D/BlueZ(3970): server not enabled for 0000111f-0000-1000-8000-00805f9b34fb (0x111f)
01-07 14:11:39.085: D/BlueZ(3970): server not enabled for 0000110a-0000-1000-8000-00805f9b34fb (0x110a)
01-07 14:11:39.085: D/BlueZ(3970): Found AV Target
01-07 14:11:39.085: D/BlueZ(3970): Registered interface org.bluez.Control on path /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:39.085: D/BlueZ(3970): Found AV Target
01-07 14:11:39.093: E/BluetoothEventLoop.cpp(1329): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/3970/hci0/dev_00_24_23_C9_C2_64
01-07 14:11:39.093: D/BluetoothService(1329): updateDeviceServiceChannelCache(00:24:23:C9:C2:64)
01-07 14:11:39.125: D/BlueZ(3970): 0x1c848: ref=2
01-07 14:11:39.125: D/BluetoothService(1329):     uuid(system): 00001105-0000-1000-8000-00805f9b34fb 12
01-07 14:11:39.132: D/BluetoothService(1329):     uuid(system): 00001132-0000-1000-8000-00805f9b34fb 16
01-07 14:11:39.140: D/BluetoothService(1329):     uuid(system): 00001106-0000-1000-8000-00805f9b34fb 20
01-07 14:11:39.148: V/BluetoothEventRedirector(1521): Received android.bleutooth.device.action.UUID
01-07 14:11:39.156: D/BluetoothService(1329): 00:24:23:C9:C2:64 bond state 11 -> 12 (0)
01-07 14:11:39.242: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.BOND_STATE_CHANGED
01-07 14:11:41.773: I/LocalBluetoothManager(1521): mLocalManager.checkconnecteddevice
01-07 14:11:45.562: V/BluetoothEventRedirector(1521): Received android.bluetooth.device.action.ACL_DISCONNECTED