Part Number: CC2640R2F
Hi team,
Here's an issue: The slave cc2640r2f7*7 has failed to communicate with the host notify, while the same slave program can communicate with the cell phone successfully; and cc2640r2f4 *4 has successfully communicated with the same program host.
The following table is the process of printing the connection when the host connects the slave:
| Normal slave | Abnormal slave | Successful after the abnormal slave reburn program |
|
SC_EVT_SCAN_DISABLED Initiate service discovery Discovering... SC_EVT_ADV_REPORT SC_EVT_ADV_REPORT SC_EVT_ADV_REPORT groupMember: 0x010203040501 SC_EVT_ADV_REPORT SC_EVT_SCAN_DISABLED AutoConnect: Number of members in the group 1 Initiate service discovery HCI_GAP_EVENT_EVENT:3e numConn:1 SC_EVT_PAIR_STATE Pairing started Initiate service discovery BLE_DISC_STATE_MTU HCI_GAP_EVENT_EVENT:3e Service found, store handles If procedure complete BLE_DISC_STATE_CHAR SBC_NOTI_ENABLE_EVT Notification success:0 |
SC_EVT_SCAN_DISABLED Initiate service discovery Discovering... SC_EVT_ADV_REPORT groupMember: 0x010203040507 SC_EVT_ADV_REPORT SC_EVT_SCAN_DISABLED AutoConnect: Number of members in the group 1 Initiate service discovery HCI_GAP_EVENT_EVENT:3e numConn:1 Initiate service discovery HCI_GAP_EVENT_EVENT:f SC_EVT_PAIR_STATE HCI_GAP_EVENT_EVENT:3e GAP_LINK_TERMINATED_EVENT 0x010203040507 is disconnectedNum Conns: 0 HCI_GAP_EVENT_EVENT:3e numConn:1 Initiate service discovery HCI_GAP_EVENT_EVENT:f |
SC_EVT_SCAN_DISABLED Initiate service discovery Discovering... SC_EVT_ADV_REPORT groupMember: 0x010203040507 SC_EVT_ADV_REPORT SC_EVT_SCAN_DISABLED AutoConnect: Number of members in the group 1 Initiate service discovery HCI_GAP_EVENT_EVENT:3e numConn:1 SC_EVT_PAIR_STATE Pairing started Initiate service discovery BLE_DISC_STATE_MTU HCI_GAP_EVENT_EVENT:3e Service found, store handles If procedure complete BLE_DISC_STATE_CHAR SBC_NOTI_ENABLE_EVT Notification success:0 |
The difference is that after starting the discovery service, the slave that failed to connect cannot get the char of the characteristic value.
Debug output HCI_GAP_EVENT_EVENT:f is HCI_COMMAND_STATUS_EVENT_CODE (HCI Commands Events). The cmdopcode code is 0x406 (HCI_DISCONNECT).
Could you please help to check this case? Thanks!
Best Regards,
Cherry