Home
last modified time | relevance | path

Searched refs:bt_mesh_atomic_test_bit (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/
Dmain.c146 return bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_NODE); in bt_mesh_is_node()
152 return bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_VALID); in bt_mesh_is_provisioned()
160 return bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_PROVISIONER); in bt_mesh_is_provisioner()
166 return bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_VALID_PROV); in bt_mesh_is_provisioner_en()
282 if (!bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_VALID)) { in bt_mesh_suspend()
324 if (!bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_VALID)) { in bt_mesh_resume()
Dprov.c921 if (!bt_mesh_atomic_test_bit(link.flags, HAVE_DHKEY)) { in bt_mesh_input_number()
944 if (!bt_mesh_atomic_test_bit(link.flags, HAVE_DHKEY)) { in bt_mesh_input_string()
971 if (bt_mesh_atomic_test_bit(link.flags, WAIT_NUMBER) || in prov_dh_key_cb()
972 bt_mesh_atomic_test_bit(link.flags, WAIT_STRING)) { in prov_dh_key_cb()
1064 if (!bt_mesh_atomic_test_bit(link.flags, REMOTE_PUB_KEY)) { in bt_mesh_set_oob_pub_key()
1117 if (!bt_mesh_atomic_test_bit(link.flags, HAVE_DHKEY)) { in prov_confirm()
1123 if (link.oob_pk_flag && bt_mesh_atomic_test_bit(link.flags, OOB_PUB_KEY)) { in prov_confirm()
1303 if (!bt_mesh_atomic_test_bit(link.flags, LINK_ACTIVE)) { in prov_retransmit()
1355 if (bt_mesh_atomic_test_bit(link.flags, LINK_ACTIVE)) { in link_open()
1412 if (!bt_mesh_atomic_test_bit(link.flags, LINK_ACTIVE)) { in gen_prov_ctl()
[all …]
Dbeacon.c319 bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_INITIATOR)) { in beacon_send()
387 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_INITIATOR) && in secure_beacon_recv()
388 (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS) == in secure_beacon_recv()
498 if (!bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_INITIATOR)) { in bt_mesh_beacon_disable()
Dlpn.c634 if (bt_mesh_atomic_test_bit(lpn->added, i) || in lpn_group_del()
635 bt_mesh_atomic_test_bit(lpn->pending, i)) { in lpn_group_del()
690 if (bt_mesh_atomic_test_bit(lpn->added, i)) { in sub_update()
694 if (!bt_mesh_atomic_test_bit(lpn->to_remove, i)) { in sub_update()
977 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_INITIATOR) && in bt_mesh_lpn_friend_update()
978 (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS) == in bt_mesh_lpn_friend_update()
Dnet.c416 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS)) { in bt_mesh_net_flags()
618 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS)) { in bt_mesh_iv_update()
626 return bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS); in bt_mesh_iv_update()
647 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS)) { in bt_mesh_net_iv_update()
697 bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_TEST))) { in bt_mesh_net_iv_update()
767 if (!bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS) && in bt_mesh_next_seq()
1507 bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS) ? in ivu_refresh()
1520 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS)) { in ivu_refresh()
1565 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS)) { in bt_mesh_net_start()
Dprovisioner_prov.c497 bt_mesh_atomic_test_bit(link[i].flags, LINK_ACTIVE)) {
499 if (link[i].linking || bt_mesh_atomic_test_bit(link[i].flags, LINK_ACTIVE)) {
501 if (link[i].connecting || bt_mesh_atomic_test_bit(link[i].flags, LINK_ACTIVE)) {
603 if (!bt_mesh_atomic_test_bit(link[i].flags, LINK_ACTIVE) && !link[i].linking) {
664 if (!link[i].connecting && !bt_mesh_atomic_test_bit(link[i].flags, LINK_ACTIVE)) {
1466 if (bt_mesh_atomic_test_bit(link[j].flags, LINK_ACTIVE) || link[j].linking) {
2271 if (bt_mesh_atomic_test_bit(link[idx].flags, REMOTE_PUB_KEY)) {
2290 if (!bt_mesh_atomic_test_bit(link[idx].flags, LOCAL_PUB_KEY)) {
2345 if (!bt_mesh_atomic_test_bit(link[idx].flags, HAVE_DHKEY)) {
2715 if (!bt_mesh_atomic_test_bit(link[idx].flags, LINK_ACTIVE)) {
[all …]
Dnet.h316 bt_mesh_atomic_test_bit(bt_mesh.flags, \
Dadv.c351 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_SUSPENDED)) { in bt_mesh_adv_create_from_pool()
753 if (bt_mesh_atomic_test_bit(tx->flags, TIMER_INIT)) { in ble_adv_tx_reset()
Dsettings.c1478 } else if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_RPL_PENDING) && in schedule_store()
1537 iv.iv_update = bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS); in store_pending_iv()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c421 if (!bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in disc_cb()
763 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_ADVERTISING)) { in bt_le_adv_start()
916 if (!bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_ADVERTISING)) { in bt_le_adv_stop()
933 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in bt_le_scan_start()
959 if (!bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in bt_le_scan_stop()
1416 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in bt_mesh_gattc_conn_create()
1772 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_HAS_PUB_KEY)) { in bt_mesh_pub_key_get()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c323 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_ADVERTISING)) { in bt_le_adv_start()
434 if (!bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_ADVERTISING)) { in bt_le_adv_stop()
452 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in bt_le_scan_start()
483 if (!bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in bt_le_scan_stop()
1195 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in bt_mesh_gattc_conn_create()
1608 if (!bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_SCANNING)) { in bt_mesh_bta_gattc_cb()
1800 if (bt_mesh_atomic_test_bit(bt_mesh_dev.flags, BLE_MESH_DEV_HAS_PUB_KEY)) { in bt_mesh_pub_key_get()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_atomic.h189 static inline int bt_mesh_atomic_test_bit(const bt_mesh_atomic_t *target, int bit) in bt_mesh_atomic_test_bit() function
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/
Dble_mesh_fast_prov_server_model.c179 if (bt_mesh_atomic_test_bit(bt_mesh.flags, BLE_MESH_IVU_IN_PROGRESS)) { in example_fast_prov_server_recv_msg()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server/main/
Dmain.c260 if (bt_mesh_atomic_test_bit(fast_prov_server.srv_flags, DISABLE_FAST_PROV_START)) { in provisioner_prov_complete()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/
Dmain.c272 if (bt_mesh_atomic_test_bit(fast_prov_server.srv_flags, DISABLE_FAST_PROV_START)) { in provisioner_prov_complete()