Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
How to clear BLE cache in IOS ?
I am doing BLE device development with a Nordic chipset running the S112 soft core and bumped into this problem too. I was seeing odd artifacts and differences between what was advertised vs. what was available after making the BLE connection.
I got things working properly by enabling the Service Changed Nordic SDK configuration value in sdk_config.h. This sends the appropriate service changed notification to the host (iOS in this case) instructing the host to clear previously cached data about the peripheral when the connection is made.
#define NRF_SDH_BLE_SERVICE_CHANGED 1
After building the firmware and loading it into the device all of the services and characteristics I had worked hard to create were displayed and behaving properly.
Good luck to all who travel here - I hope that you can get things working properly for you too.