This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

creating custom service and characteristics with Bluetooth Base UUID.

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.

Related