Number of fields in Adv Packet

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

How many data field's (Ex: ADV_LOCAL_NAME_SHORT, ADV_TK_VALUE, ADV_MANUFACTURER_DATA) can one have in a advertisement packet?  (The limit with ADV_MANUFACTURER_DATA is 29 bytes)


3 Fields will always get advertised:

  1. Flags (ADV_FLAGS)
  2. Manufacturer (ADV_MANUFACTURER_DATA)
  3. Power (ADV_TX_POWER_LEVEL)

On top of which only 3 other fields go through. Is this the correct behavior, where we can only get 6 fields in the adv data?

0 Likes
1 Solution

There is no restriction on how many fields - the restriction on the number of bytes - 31. You can fit in as many as will fit in 31 bytes.

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

Hello sambhav

have you seen this post

Any document for defining the packet format in advertising event?

Thanks

JT

0 Likes
Anonymous
Not applicable

Hi JT,

I did look at this, my question was how many fields can I have in the adv packet? I reach a limit at 6. I haven't seen this restriction in the Bluetooth Specs.

0 Likes

There is no restriction on how many fields - the restriction on the number of bytes - 31. You can fit in as many as will fit in 31 bytes.

0 Likes