Tool/software:
Hi team,
It's an urgent case for my customer, please take it as highest priority.
Device: CC2642
Environment: SDK 7.40.0.77
Issue Description:
Customer use DSS_sendNotification() copy from data_stream demo of SimpleLink F3 SDK to send indication to the phone in a task, when another task has provided the data and data length is not 0.
The changes of function is only the GATT_Notification() into GATT_Indication(). This issue can be reproduced by connect-disconnect stress test, at least need 30min to reproduce.
There are two situations:
- Stuck in GATT_Indication()
We found GATT_Indication() has no return status, which lead to the consequence procedure not executed, ADV_IND cannot reload as expected which lead to the end customer cannot connect the car. - Status is always blePending, and after we disconnect by peer device, bleNotConnected is not returned
Which lead us cannot quite the while().
What we have done and other information:
1. We have already add watch dog to avoid stuck in a task and reset the device, but we still need to find the root cause.
2. When the issue reproduced, other user tasks are running as well.
3. Because we also have iBeacon, so we can connect CC2642 with the LightBlue APP through the iBeacon, and then the issue can be solved.