I would like to know how to add Service Change UUID: 0x2A05 Properties: INDICATE Descriptors Client Characteristic Config UUID: 0x2902 to Generic Attribute of Nordic_HRM. please tell me.
I would like to know how to add Service Change UUID: 0x2A05 Properties: INDICATE Descriptors Client Characteristic Config UUID: 0x2902 to Generic Attribute of Nordic_HRM. please tell me.
I recommend you read this tutorial
and also this tutorial
Hi,
To enable the service changed characteristic you need to set the service_changed
flag. You can set the flag in the ble_stack_init()
function like this:
ble_enable_params_t ble_enable_params;
err_code = softdevice_enable_get_default_config(NRF_BLE_CENTRAL_LINK_COUNT,
NRF_BLE_PERIPHERAL_LINK_COUNT,
&ble_enable_params);
ble_enable_params.gatts_enable_params.service_changed = 1; \\IS_SRVC_CHANGED_CHARACT_PRESENT
APP_ERROR_CHECK(err_code);
it is complete. thank you.
thanks. I will try it.