cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

Anonymous
Not applicable

BCM2073x hello_client sample

---------------------

as i know, hello_client do not bleprofile_GenerateADVData for making advertising packet, unlike hello_sensor

but hell_client even start advertising by calling bleprofile_Discoverable(HIGH_UNDIRECTED_DISCOVERABLE, NULL);

what is hello_client's default(?) advertising packet ?

0 Likes
1 Solution
Anonymous
Not applicable

Hello.

If you don't use bleprofile_GenerateADVData, the app uses default advertising packet.

It has these things in the payload:

1. Flag : one bit boolean flags. (e.g. limited/general discoverable mode)

2. Appearance : the external appearance of the device

3. Local Name : the local name assigned to the device

pastedImage_0.png

(sorry about the childish writing)

The above is the advertisement packet of hello_client.

It can be divided into three sections or data types.

The first byte that appears in each sections is the size of that section.

The circled bytes are the data type specifications. (defined by SIG: Generic Access Profile)

The rest of bytes that follow are the actual data.

For more information about Data Type Specification, please refer to the documentation attached.

Thank you.

James

View solution in original post

1 Reply
Anonymous
Not applicable

Hello.

If you don't use bleprofile_GenerateADVData, the app uses default advertising packet.

It has these things in the payload:

1. Flag : one bit boolean flags. (e.g. limited/general discoverable mode)

2. Appearance : the external appearance of the device

3. Local Name : the local name assigned to the device

pastedImage_0.png

(sorry about the childish writing)

The above is the advertisement packet of hello_client.

It can be divided into three sections or data types.

The first byte that appears in each sections is the size of that section.

The circled bytes are the data type specifications. (defined by SIG: Generic Access Profile)

The rest of bytes that follow are the actual data.

For more information about Data Type Specification, please refer to the documentation attached.

Thank you.

James

View solution in original post