Searched refs:ad_flags (Results 1 – 2 of 2) sorted by relevance
518 static uint8_t ad_flags = BT_LE_AD_NO_BREDR; variable520 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()
1893 static uint8_t ad_flags; in ad_init() local1897 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()