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

Short Name at end of Advertisement Packet?

I am using Nordic SDK v15.3.0.

I have set all the required parameters and content before I call the API "ble_advdata_encode(..)".

I ran into two issues one of which I can work around -- more like hack around it -- and that is that the SDK only encodes the name as a short name if it does not have enough payload capacity available to insert the provided name.

The larger issue is that the SDK puts the short name at the END of the advertisement packet -- unlike your competitor where they strictly follow the packet layout that I provide in my application before calling the encoding function.

Is there an option (other than me changing the SDK API implementation, which I prefer not to do) to force the API to encode the short name to the exact size specifications at the beginning of the packet?

Related