cancel
Showing results for 
Search instead for 
Did you mean: 

could someone explain the use of service uuid AD type in Bluetooth low energy ??

stiger
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Winfred LU
ST Employee

One of the simple advantages would be

others will not have to connect to the device in order to know what services it provides.

View solution in original post

5 REPLIES 5
Winfred LU
ST Employee

Based on its value, it specify the type of the followed advertising data.

For example, 0x16 means the advertising data a complete list of 16-bit service class uuids.

why we include service uuid AD type in advertising packet ??

We do so when needed.

For example, when we intend to advertise the services that we are offering.

what is the advantage of including serivce uuid AD type in advertising packet at scan device side ?

I've been reading about it, and the only answer I found is " this is used to include a complete list or incomplete list of service class uuids of 16-bit, 32-bit or 128-bit "and how to include this in advertising packet. this can be include in advertising packet using the API

aci_gap_update_adv_data(uint8_t AdvDataLen,

                   uint8_t AdvData[]);

AdvDataLen = 4;

AdvData[] = { 0x03(length), 0x03(AD type), 0x09,0x18(uuid)};

but my question is still same, what is the advantage of including serivce uuid AD types in adversting packet ??

Winfred LU
ST Employee

One of the simple advantages would be

others will not have to connect to the device in order to know what services it provides.