This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Advdata packet sequence

Hello all

I am trying to better understand the sequence in which all the data is encoded in to the advdata structure. This includes device name, company identifier, manuf specific data, UUID's etc. Is there any documentation which details in which sequence all of this data is encoded?

Best Prasanna

Parents
  • You can put it in any order you like. If you want to see the order in which the standard Nordic encoded encodes it, look at the code.

    I've always thought it rather odd that it doesn't encode, or at least give you the option to encode, the name at the end instead of the start, as that would at least give it the option to fill most of the packet up and then use a short name instead of a full one if there wasn't room. But it doesnt.

  • Which code you are referring to that i should look at? Is there any documentation of the standard encode sequence

    Also if i have the below advdata, how would i decode it?

    9 8 72 72 72 72 72 72 72 72 3 25 0 0 2 1 6 3 3 13 24 5 255 89 0 42 125

Reply Children
No Data
Related