This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2L: Using the GAP_ADTYPE_SERVICE_DATA advertisement data type

Part Number: CC2640R2L

Hi team,

My customer intended to use Bluetooth to control a lot а devices from a single smartphone using advertisements.

Bluetooth connections are not possible for customer case, because the smartphone does not have a prior information about devices in a location.

The customer asking about witch GAP Advertisement Data Types can be used to send a custom data.  As for now we intended to use GAP_ADTYPE_SERVICE_DATA (0x16) with the customer's 128bit UUID and custom data to control the devices.

The scenario is following: a couple of devices are configured to listen for the advertisement with GAP_ADTYPE_SERVICE_DATA field followed by some custom data. Such advertisement packet can be issued from a smartphone.

The questions: 

Do we have any example how to use GAP_ADTYPE_SERVICE_DATA field?

Is there any information on data format in GAP_ADTYPE_SERVICE_DATA data type?

Can I use a custom 128bit UUID with GAP_ADTYPE_SERVICE_DATA?