Home
last modified time | relevance | path

Searched refs:ad_flags (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_gap.c518 static uint8_t ad_flags = BT_LE_AD_NO_BREDR; variable
520 BT_DATA(BT_DATA_FLAGS, &ad_flags, sizeof(ad_flags)),
573 ad_flags &= ~(BT_LE_AD_GENERAL | BT_LE_AD_LIMITED); in set_discoverable()
577 ad_flags &= ~BT_LE_AD_LIMITED; in set_discoverable()
578 ad_flags |= BT_LE_AD_GENERAL; in set_discoverable()
582 ad_flags &= ~BT_LE_AD_GENERAL; in set_discoverable()
583 ad_flags |= BT_LE_AD_LIMITED; in set_discoverable()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c1893 static uint8_t ad_flags; in ad_init() local
1897 ad_flags = IS_ENABLED(CONFIG_BT_CLASSIC) ? 0 : BT_LE_AD_NO_BREDR; in ad_init()
1906 ad_flags |= BT_LE_AD_LIMITED; in ad_init()
1908 ad_flags |= BT_LE_AD_GENERAL; in ad_init()
1912 if (ad_flags != 0) { in ad_init()
1915 data_array[ad_len].data_len = sizeof(ad_flags); in ad_init()
1916 data_array[ad_len].data = &ad_flags; in ad_init()