Hi, I am creating a custom service and corresponding characteristic. For that I am planning to use bluetooth base uuid (for confirmation : 00000000
-0000-1000-8000-00805F9B34FB). I used following settings for the service:
In structure ble_uuid_t
:
ble_uuid_t.uuid = 0xccc0;
ble_uuid_t.type = BLE_UUID_TYPE_BLE;
I then called sd_ble_gatts_service_add()
API and registered the characteristics.
Then I started adding the characteristic with following settings:
ble_uuid_t.uuid = 0xccc1;
ble_uuid_t.type = BLE_UUID_TYPE_BLE;
but when I tried to register the above characteristic with sd_ble_gatts_characteristic_add()
API, it failed.
I am not getting what the reason be for this failure in registering characteristic.