This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

service data with 128-bit uuid

Hi,

I need to send some additional information in advertising.

According to Core Specification Supplement v4 A.1.11 it is possible to use also 128-bit UUID in service data. But I can't find this possibility in the SDK API (I use SDK 5.1.0). Is that not possible? Or am I missing something?

Cyril.

  • Hi,

    This answer is about service UUID's and not about service data uuid's I searched through the devzone but I cannot find a answer on Cyrils question. Some background. I have a working solution from another vendor and I want to switch to Nordic. In this solution I use service data to advertise our product including some data about the product. I am now looking in the SDK to see how I can implement this with Nordic.

    Ok, so the ble_advdata_service_data_t structure needs a uint16_t for de uuid. I use 128 bits uuid's. I can add them with sd_ble_uuid_vs_add. This returns a UUID type. Now the question is. How do I match the UUID type return from sd_ble_uuid_vs_add to the service_uuid field in ble_advdata_service_data_t structure.

    Cheers, Marcel

Related