HID连接过程-失败的例子

2010-10-04 17:51:32.052107 < HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:22:48:85:1B:C7 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
2010-10-04 17:51:32.060068 > HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
2010-10-04 17:51:37.181713 > HCI Event: Connect Complete (0x03) plen 11
    status 0x04 handle 12 bdaddr 00:22:48:85:1B:C7 type ACL encrypt 0x00
    Error: Page Timeout
2010-10-04 17:51:52.021756 > HCI Event: Connect Request (0x04) plen 10
    bdaddr 00:22:48:85:1B:C7 class 0x002540 type ACL
2010-10-04 17:51:52.021948 < HCI Command: Accept Connection Request (0x01|0x0009) plen 7
    bdaddr 00:22:48:85:1B:C7 role 0x00
    Role: Master
2010-10-04 17:51:52.031813 > HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
2010-10-04 17:51:52.191737 > HCI Event: Role Change (0x12) plen 8
    status 0x00 bdaddr 00:22:48:85:1B:C7 role 0x00
    Role: Master
2010-10-04 17:51:52.341760 > HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 11 bdaddr 00:22:48:85:1B:C7 type ACL encrypt 0x00
2010-10-04 17:51:52.341899 < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
    handle 11
2010-10-04 17:51:52.359873 > HCI Event: Command Status (0x0f) plen 4
    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
2010-10-04 17:51:52.359902 > HCI Event: Read Remote Supported Features (0x0b) plen 11
    status 0x00 handle 11
    Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
2010-10-04 17:51:52.366384 < HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr 00:22:48:85:1B:C7 mode 2 clkoffset 0x0000
2010-10-04 17:51:52.379324 > HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
2010-10-04 17:51:52.379348 > HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:22:48:85:1B:C7
2010-10-04 17:51:52.380914 < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
    bdaddr 00:22:48:85:1B:C7 key E81C305F4F5C7DEAD5CAD250BD3A5241
2010-10-04 17:51:52.399434 > HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Reply (0x01|0x000b) ncmd 1
    status 0x00 bdaddr 00:22:48:85:1B:C7
2010-10-04 17:51:52.449087 > HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr 00:22:48:85:1B:C7 name 'Microsoft Bluetooth Mobile Keyboard 6000'
2010-10-04 17:51:52.449101 > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 17 scid 0x0040
2010-10-04 17:51:52.449190 < ACL data: handle 11 flags 0x00 dlen 16
    0000: 0c 00 01 00 03 02 08 00  40 00 40 00 01 00 00 00  ........@.@.....
2010-10-04 17:51:52.449294 < ACL data: handle 11 flags 0x00 dlen 10
    0000: 06 00 01 00 0a 01 02 00  02 00                    ..........
2010-10-04 17:51:52.459318 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
2010-10-04 17:51:52.479094 > ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Info rsp: type 2 result 0
      Extended feature mask 0x0004
        Bi-directional QoS
2010-10-04 17:51:52.479162 < ACL data: handle 11 flags 0x00 dlen 16
    0000: 0c 00 01 00 03 02 08 00  40 00 40 00 00 00 00 00  ........@.@.....
2010-10-04 17:51:52.509301 > ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
      MTU 185
2010-10-04 17:51:52.509381 < ACL data: handle 11 flags 0x00 dlen 18
    0000: 0e 00 01 00 05 03 0a 00  40 00 00 00 00 00 01 02  ........@.......
    0010: b9 00                                             ?
2010-10-04 17:51:52.509521 < ACL data: handle 11 flags 0x00 dlen 12
    0000: 08 00 01 00 04 02 04 00  40 00 00 00              ........@...
2010-10-04 17:51:52.519167 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
2010-10-04 17:51:52.539188 > ACL data: handle 11 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
      MTU 185
2010-10-04 17:51:52.539591 < ACL data: handle 11 flags 0x00 dlen 12
    0000: 08 00 01 00 06 03 04 00  40 00 40 00              ........@.@.
2010-10-04 17:51:52.549125 > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 19 scid 0x0041
2010-10-04 17:51:52.549144 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
2010-10-04 17:51:52.549253 < ACL data: handle 11 flags 0x00 dlen 16
    0000: 0c 00 01 00 03 04 08 00  41 00 41 00 01 00 02 00  ........A.A.....
2010-10-04 17:51:52.559170 > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
2010-10-04 17:51:52.561754 < ACL data: handle 11 flags 0x00 dlen 16
    0000: 0c 00 01 00 03 04 08 00  41 00 41 00 00 00 00 00  ........A.A.....
2010-10-04 17:51:52.569130 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
2010-10-04 17:51:52.599271 > ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
      MTU 185
2010-10-04 17:51:52.599381 < ACL data: handle 11 flags 0x00 dlen 18
    0000: 0e 00 01 00 05 05 0a 00  41 00 00 00 00 00 01 02  ........A.......
    0010: b9 00                                             ?
2010-10-04 17:51:52.599571 < ACL data: handle 11 flags 0x00 dlen 12
    0000: 08 00 01 00 04 04 04 00  41 00 00 00              ........A...
2010-10-04 17:51:52.609294 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
2010-10-04 17:51:52.631928 > HCI Event: QoS Setup Complete (0x0d) plen 21
    status 0x00 handle 11 flags 0
    Service type: 1
    Token rate: 850
    Peak bandwith: 0
    Latency: 20000
    Delay variation: -1
2010-10-04 17:51:52.631945 > ACL data: handle 11 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
      MTU 185
2010-10-04 17:51:52.634627 < HCI Command: Authentication Requested (0x01|0x0011) plen 2
    handle 11
2010-10-04 17:51:52.640637 > HCI Event: Command Status (0x0f) plen 4
    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
2010-10-04 17:51:52.640658 > HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:22:48:85:1B:C7
2010-10-04 17:51:52.645456 < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
    bdaddr 00:22:48:85:1B:C7 key E81C305F4F5C7DEAD5CAD250BD3A5241
2010-10-04 17:51:52.646544 < ACL data: handle 11 flags 0x00 dlen 12
    0000: 08 00 01 00 06 05 04 00  41 00 41 00              ........A.A.
2010-10-04 17:51:52.659266 > HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Reply (0x01|0x000b) ncmd 1
    status 0x00 bdaddr 00:22:48:85:1B:C7
2010-10-04 17:51:52.677784 < ACL data: handle 11 flags 0x00 dlen 12
    0000: 08 00 01 00 02 06 04 00  11 00 40 00              ..........@.
2010-10-04 17:51:52.689084 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
2010-10-04 17:51:52.689094 > ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0041
2010-10-04 17:51:52.689098 > HCI Event: PIN Code Request (0x16) plen 6
    bdaddr 00:22:48:85:1B:C7
2010-10-04 17:51:52.689100 > ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 4 status 0
      Connection refused - no resources available

你可能感兴趣的:(c,command,Microsoft,Authentication,features,2010)