Searched refs:adv_mode (Results 1 – 3 of 3) sorted by relevance
97 uint8_t adv_mode; member98 void enable_advertising_mode() { adv_mode = BTM_BLE_ADV_ENABLE; } in enable_advertising_mode()99 void disable_advertising_mode() { adv_mode = BTM_BLE_ADV_DISABLE; } in disable_advertising_mode()101 return (adv_mode == BTM_BLE_ADV_ENABLE); in is_advertising_mode_enabled()
1420 if (status == BTM_SUCCESS && btm_cb.ble_ctr_cb.inq_var.adv_mode != new_mode) { in btm_ble_set_discoverability()1427 if (btm_cb.ble_ctr_cb.inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_discoverability()1504 if (status == BTM_SUCCESS && new_mode != btm_cb.ble_ctr_cb.inq_var.adv_mode) { in btm_ble_set_connectability()1511 if (btm_cb.ble_ctr_cb.inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_set_connectability()2579 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_ENABLE; in btm_ble_start_adv()2597 if (btm_cb.ble_ctr_cb.inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_stop_adv()2601 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in btm_ble_stop_adv()2624 if (btm_cb.ble_ctr_cb.inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_start_slow_adv()2729 btm_cb.ble_ctr_cb.inq_var.adv_mode = !btm_cb.ble_ctr_cb.inq_var.adv_mode; in btm_ble_write_adv_enable_complete()2788 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in btm_ble_update_link_topology_mask()[all …]
157 btm_cb.ble_ctr_cb.inq_var.adv_mode = BTM_BLE_ADV_DISABLE; in acl_ble_connection_fail()