Skip to main content
Kaarthi
Visitor II
Oct 6, 2022 11:28 AM UTC
Question

How to change advertising structure order in BLE

I am using STM32WB55 controller for BLE. I am using it with peripheral lite example. As I can see in the advertising data, the manufacturer specific data comes first and followed by flags and UUID. How to send in order like flags -> UUID -> manufacturer specific?

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
Nov 10, 2022 5:57 PM UTC

Hello,

You can change the advertising structure order by modify ad_manufacturer_specific_data tab by adding AD_TYPE_FLAGS data before manufacturer specific data to have flags before manufacturer specific data for example.

You also have the possibility to delete the specified AD type from the advertisement data using ACI_GAP_DELETE_AD_TYPE command.

Best Regards