- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Flags (ADV_FLAGS)
- Manufacturer (ADV_MANUFACTURER_DATA)
- 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?
Solved! Go to Solution.
- Labels:
-
SDK 2.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello sambhav
have you seen this post
Any document for defining the packet format in advertising event?
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.