This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[nRF SDK 15.3] ANCS service does not receive messages

Dear friend,

Based on the following conditions:
SDK: 15.3
Target board: nRF52840-DK
Example: \examples\ble_peripheral\ble_app_ancs_c
ios version: 12.5.5
Do the following tests:
1. Compile the routine and download the program to nRF52840-DK.
2. Turn on the Bluetooth of the mobile phone system and connect to the "ANCS" device and pair binding it.
3. Open the log output of the nRF52840-DK device, and see that you can receive iPhone notification messages.
4. Turn off the iPhone, turn it on again and see that ANCS has been connected back from the system Bluetooth.
Result: The nRF52840-DK device after the reconnection cannot receive the iPhone notification message.
After seeing through the log that the device is connected back and executing the NRF_BLE_GATTS_C_EVT_SRV_CHANGE event, the device cannot receive the iPhone notification message.

How can this be solved?

  • Hello,

    Please repeat your test with the project below and see if you can the same result. I had to increase the app scheduler queue size and ignore the busy errors from the discovery start function to avoid assertions. But I was not able to replicate the problem you described. I used an iphone 12 with iOS 15.3.1 for my test.

    Best regards,

    Vidar

    2870.ble_app_ancs_c.zip

Related