Hi Clement,
I have added GATT_bm_free(&(gattMsg->msg), ATT_HANDLE_VALUE_NOTI); in In app_data.c > GATT_EventHandler, at the end of the case “ATT_HANDLE_VALUE_NOTI”. when I tried to call to that iPhone and caller information receiving in my peripheral device at n Number of times and the problem has been resolved but facing the other issues and test cases where listed below.
And here the test cases:
Test Case 1: Basic_ble with ANCS implementation.(iPhone)
- Connecting to the BLE module--> pairing --> notification enabled.
- After successful connection making the incoming call to the connected mobile with the module. Module receives the incoming notification in UART.
- Now I am to terminate the connection by disabling the Bluetooth from the mobile Bluetooth settings and after few seconds enabling the Bluetooth from the settings mobile will auto connect to the module.
- After multiple connection and disconnection mobile and module indicates in connected state but making the incoming call to the connected mobile with the module. Module will not receive the incoming notification in UART.
- When this condition occurs module need a power reset to recover.
Test Case 2: Basic_ble with ANCS implementation.(Android)
- Connecting to the BLE module--> pairing --> notification enabled.
- Now I am to terminate the connection by disabling the Bluetooth from the mobile Bluetooth settings and after few seconds enabling the Bluetooth from the NRF application.
- After multiple connection and disconnection module is not advertising(weather advertisement is happening or not conformed using spectrum analyser and module current).
- When this condition occurs module need a power reset to recover.
CCS: code Composer Studio 12.5.0 - SDK : simplelink_lowpower_f3_sdk_7_20_01_10
Note: we have also tried without adding this GATT_bm_free(&(gattMsg->msg), ATT_HANDLE_VALUE_NOTI); in a basic_ble ANCS project.
Thanks,
Vignesh.