How to modify the AD type flag in my advertising data?

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
stanley_yeh
Offline
Last seen:1 year 11 months ago
加入:2016-12-23 06:52
How to modify the AD type flag in my advertising data?

Hi there,
I want to modify the AD type flag(0x02 0x01 0x06) in my advertising data, could you please tell me how to modify it?
Thanks.

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
Staff
加入:2015-06-08 11:34
嗨stanley_yeh,

嗨stanley_yeh,

This is do-able only in non-connectable advertising and non in undirected, there is also an example in the SDK which takes advantage of the entire advertising string via ommiting the first flags, please check the example in the following directory of the SDK DA14585_SDK_6.0.6.427\DA14585_SDK\6.0.6.427\projects\target_apps\misc\ble_app_noncon\Keil_5.

Thanks MT_dialog