TI的工程师,你好
我使用CC2640作为从机和dongle配对连接后,一段时间以后会出现自动断开的情况(CONNECTION_TIMEOUT),之后dongle在也无法连接CC2640(CONNECTION_FAILED_TO_BE_ESTABLISHED)。这可能是由于什么原因导致的?
log及sniffer抓图如下:
自动断开时的log:
[10:43:19:006] : 'Get Bonded Devices List' request sent
[10:43:19:006] : 'Command Status' event received
[10:43:19:006] : Status: BLE_STATUS_OK
[10:43:19:006] : 'Get Bonded Devices List Response' event received
[10:43:19:022] : 'Command Complete' event received
[10:43:19:022] : Status: BLE_STATUS_OK
[10:43:19:022] : 'Get Whitelist' request sent
[10:43:19:022] : 'Command Status' event received
[10:43:19:022] : Status: BLE_STATUS_OK
[10:43:19:022] : 'Get Whitelist Response' event received
[10:43:19:022] : 'Command Complete' event received
[10:43:19:022] : Status: BLE_STATUS_OK
[10:43:19:022] : 'Get Bonded Devices List' request sent
[10:43:19:022] : 'Command Status' event received
[10:43:19:022] : Status: BLE_STATUS_OK
[10:43:19:022] : 'Get Bonded Devices List Response' event received
[10:43:19:022] : 'Command Complete' event received
[10:43:19:022] : Status: BLE_STATUS_OK
Info: gpm.M1115: Pairing with 1902g_BF_xxx [A0:E6:F8:4F:CD:A8] completed successfully.
[10:49:05:143] : 'Connection Terminated Notification' event received
[10:49:05:143] : Reason: CONNECTION_TIMEOUT
无法连接的log:
[11:09:18:143] : 'Resolve and Set Peer Device BD Address' request sent
[11:09:18:143] : BD Address Type: PUBLIC_ADDRESS
[11:09:18:143] : BD Address: A8:CD:4F:F8:E6:A0:00:00
[11:09:18:146] : 'Command Status' event received
[11:09:18:146] : Status: BLE_STATUS_OK
[11:09:18:150] : 'Resolve and Set Peer Device BD Address Response' event received
[11:09:18:150] : Status: 0x01
[11:09:18:150] : 'Command Complete' event received
[11:09:18:150] : Status: BLE_STATUS_OK
[11:09:18:150] : 'Establish Connection' request sent
[11:09:18:150] : BD Address Type: PUBLIC_ADDRESS
[11:09:18:150] : BD Address: A8:CD:4F:F8:E6:A0:00:00
[11:09:18:153] : 'Command Status' event received
[11:09:18:153] : Status: BLE_STATUS_OK
[11:09:18:235] : 'Establish Connection Response' event received
[11:09:19:022] : 'Current Connection Parameters' event received
[11:09:19:022] : HCI Status: 0x00
[11:09:19:022] : Connection Interval: 7.50 ms
[11:09:19:022] : Slave Latency: 0
[11:09:19:022] : Supervision Timeout: 2000 ms
[11:09:19:022] : 'Command Complete' event received
[11:09:19:022] : Status: BLE_STATUS_OK
[11:09:19:022] : 'Connection Terminated Notification' event received
[11:09:19:022] : Reason: CONNECTION_FAILED_TO_BE_ESTABLISHED
[11:09:19:022] : 'Get local device security keys' request sent
[11:09:19:069] : 'Command Status' event received
[11:09:19:069] : Status: BLE_STATUS_OK
[11:09:19:069] : 'Get local device security keys response' event received
[11:09:19:069] : Key flags: INITIATOR_ENCRYPTION_INFORMATION, INITIATOR_IDENTITY_INFORMATION, INITIATOR_SIGNATURE_KEY, RESPONDER_ENCRYPTION_INFORMATION, RESPONDER_IDENTITY_INFORMATION, RESPONDER_SIGNATURE_KEY
[11:09:19:069] : Long Term Key (LTK): [D6:93:E8:A4:23:55:48:99:1D:77:61:E6:63:2B:10:8E]
[11:09:19:069] : Encrypted Diversifier (EDIV) and Random Number: [99:1F:26:1E:F6:09:97:2E:AD:7E]
[11:09:19:069] : Identity Resolving Key (IRK): [0A:2D:F4:65:E3:BD:7B:49:1E:B4:C0:95:95:13:46:73]
[11:09:19:069] : Identification Address: [0x00A050021E14, PUBLIC_ADDRESS]
[11:09:19:069] : Connection Signature Resolving Key (CSRK): [90:D5:06:95:92:ED:91:D7:A8:9E:2C:DC:4A:93:5B:F9]
[11:09:19:070] : 'Command Complete' event received
[11:09:19:070] : Status: BLE_STATUS_OK