Can I change "Advertising AD type flags"?

⚠️
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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
Simon WANG
Offline
Last seen:2 years 12 months ago
加入:2016-08-16 07:57
Can I change "Advertising AD type flags"?

Hi Dialog team,

When I advertising with DA14580, the first three bytes are "0x02 0x01 0x06".
Is it possible to change to "0x02 0x01 0x1A"?

Below are definitions related to the AD Flag bits. But none of them is referenced.
Please show me where to modify the bits. Thanks.

/// Limited discovery flag - AD Flag
#define GAP_LE_LIM_DISCOVERABLE_FLG 0x01
/// General discovery flag - AD Flag
#define GAP_LE_GEN_DISCOVERABLE_FLG 0x02
/// Legacy BT not supported - AD Flag
#define GAP_BR_EDR_NOT_SUPPORTED 0x04
/// Dual mode for controller supported (BR/EDR/LE) - AD Flag
#define GAP_SIMUL_BR_EDR_LE_CONTROLLER 0x08
/// Dual mode for host supported (BR/EDR/LE) - AD Flag
#define GAP_SIMUL_BR_EDR_LE_HOST 0x10

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
Hi Simon WANG,

Hi Simon WANG,

在580 th旗帜填充的e stack and cannot be changed, and also i dont see a reason for this kind of change, by placing the value 0x1A you are indicating that the device also supports the BR/EDR (classic Bluetooth) which is something that the 580 doesn't support.

Thanks MT_dialog