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
  • QuentinD said:
    Is there a function I need to call when I change the device name?

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

    Note that the Service Changed Characteristic is used to indicate to connected devices that services have changed (i.e., added, removed or modified).
    A change to a characteristic value is not considered a modification of the service.

Children
Related