Dear DLG support,
We'd love to remove the Service Changed Characterisitc so that phone client app should cache services across a device disconnect/connect cycle. Is it possible?
We are keen to do this to save battery in our application as we have static service on the server. We hope to achieve the goal so that clients can freely and permanently cache all handles found with no restrictions. The server guarantees they will not change during the lifetime of the device.
I'm aware of the issue mentioned here:
https://support.dialog-semiconductor.com/forum/search?term_node_tid_dept...
Do we have any work around to get rid of the presence of the service at all?
Thanks for your help,
uta_lc
Device:

Hi uta_lc,
Well the service is by default created but what you can try to hide the service, so by just applying the below instruction:
attmdb_svc_set_permission(GATT_GET_ATT_HANDLE(GATT_IDX_SVC_CHANGED), PERM(SVC_HIDE, ENABLE));
The service will no longer appear to your Smart phone, you can place the instruction in the prf_init_func() function.
Thanks MT_dialog
Thanks MT. Tried and it worked.