Service Changed Characteristic example

Hello,

Do you have an example that allows you to use the “Service Changed Characteristic” on the server side?

In fact, I saw on the internet that on IOS, we have to use this service so that the phone's cache is reset if we change the device name in real time.
In my application, the device advertises by default with a default name but the user can change it (when connected via BLE). The problem I have (only on IOS) is that this new name is not updated in the phone scan.

I use the nRF Connect SDK V2.5.0.

Thank you

Parents Reply
  • You changed the name with bt_set_name(), or CONFIG_BT_DEVICE_NAME in prj.conf?

    Both: I put a value in CONFIG_BT_DEVICE_NAME to have a default value but if the user wants to change the device name, I call the bt_set_name() function.


    A change to a characteristic value is not considered a modification of the service.

    Yes I know. The goal would be to use this service to refresh the cache of the IOS phone (I don't know if it works but as I saw on the internet that doing like that would solve my problem. So I would like to be able to do the test).

Children
Related