/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/ |
D | access.c | 740 static bool ready_to_send(uint8_t role, uint16_t dst) in ready_to_send() argument 742 if (IS_ENABLED(CONFIG_BLE_MESH_NODE) && bt_mesh_is_provisioned() && role == NODE) { in ready_to_send() 744 …} else if (IS_ENABLED(CONFIG_BLE_MESH_PROVISIONER) && bt_mesh_is_provisioner_en() && role == PROVI… in ready_to_send() 750 …} else if (IS_ENABLED(CONFIG_BLE_MESH_FAST_PROV) && bt_mesh_is_provisioned() && role == FAST_PROV)… in ready_to_send() 762 uint8_t role = 0U; in model_send() local 764 role = bt_mesh_get_device_role(model, tx->ctx->srv_send); in model_send() 765 if (role == ROLE_NVAL) { in model_send() 774 if (!ready_to_send(role, tx->ctx->addr)) { in model_send() 803 uint8_t role = 0U; in bt_mesh_model_send() local 805 role = bt_mesh_get_device_role(model, ctx->srv_send); in bt_mesh_model_send() [all …]
|
D | main.c | 204 uint8_t role = bt_mesh_atomic_get(bt_mesh.flags) & BLE_MESH_SETTINGS_ROLE_BIT_MASK; in bt_mesh_prov_enable() local 205 if (role != BLE_MESH_SETTINGS_ROLE_NONE && in bt_mesh_prov_enable() 206 role != BLE_MESH_SETTINGS_ROLE_NODE) { in bt_mesh_prov_enable() 207 BT_ERR("%s, Mismatch role %u", __func__, role); in bt_mesh_prov_enable() 211 if (role == BLE_MESH_SETTINGS_ROLE_NONE) { in bt_mesh_prov_enable() 215 role == BLE_MESH_SETTINGS_ROLE_NONE) { in bt_mesh_prov_enable() 566 uint8_t role = bt_mesh_atomic_get(bt_mesh.flags) & BLE_MESH_SETTINGS_ROLE_BIT_MASK; in bt_mesh_provisioner_enable() local 567 if (role != BLE_MESH_SETTINGS_ROLE_NONE && in bt_mesh_provisioner_enable() 568 role != BLE_MESH_SETTINGS_ROLE_PROV) { in bt_mesh_provisioner_enable() 569 BT_ERR("%s, Mismatch role %u", __func__, role); in bt_mesh_provisioner_enable() [all …]
|
D | access.h | 58 struct bt_mesh_subnet *bt_mesh_tx_netkey_get(uint8_t role, uint16_t net_idx); 60 const uint8_t *bt_mesh_tx_devkey_get(uint8_t role, uint16_t dst); 62 struct bt_mesh_app_key *bt_mesh_tx_appkey_get(uint8_t role, uint16_t app_idx);
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ |
D | ble_mesh_register_server_cmd.c | 27 struct arg_int *role; member 59 arg_int_to_value(msg_publish.role, device_role, "device role"); in ble_mesh_module_publish_message() 61 if (msg_publish.role->count != 0) { in ble_mesh_module_publish_message() 62 device_role = msg_publish.role->ival[0]; in ble_mesh_module_publish_message() 97 msg_publish.role = arg_int1("r", NULL, "<role>", "device role"); in ble_mesh_register_server_operation()
|
D | ble_mesh_reg_gen_onoff_client_cmd.c | 29 struct arg_int *role; member 133 arg_int_to_value(gen_onoff_state.role, onoff_common.msg_role, "role"); in ble_mesh_generic_onoff_client_model() 164 gen_onoff_state.role = arg_int0("r", NULL, "<role>", "role"); in ble_mesh_register_gen_onoff_client_command()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/jv/ |
D | bta_jv_api.c | 366 tBTA_JV_STATUS BTA_JvL2capConnectLE(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capConnectLE() argument 381 p_msg->role = role; in BTA_JvL2capConnectLE() 421 tBTA_JV_STATUS BTA_JvL2capConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capConnect() argument 435 p_msg->role = role; in BTA_JvL2capConnect() 531 tBTA_JV_STATUS BTA_JvL2capStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capStartServer() argument 544 p_msg->role = role; in BTA_JvL2capStartServer() 582 tBTA_JV_STATUS BTA_JvL2capStartServerLE(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capStartServerLE() argument 595 p_msg->role = role; in BTA_JvL2capStartServerLE() 882 tBTA_JV_ROLE role, UINT8 remote_scn, BD_ADDR peer_bd_addr, in BTA_JvRfcommConnect() argument 893 p_msg->role = role; in BTA_JvRfcommConnect() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/ |
D | README.md | 84 …lect a development board as coexistence role by `Example Configuration --->select role (run devic… 93 1. Select a development board as bluetooth role by `select role (run device as bluetooth role) ` 96 1. Select a development board as bluetooth role by `select role (run device as wifi role) `
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/ |
D | smp_act.c | 83 __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key); in smp_update_key_mask() 92 } else if (p_cb->role == HCI_ROLE_SLAVE) { in smp_update_key_mask() 565 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE)) { in smp_proc_pair_cmd() 585 if (p_cb->role == HCI_ROLE_SLAVE) { in smp_proc_pair_cmd() 871 if (!p_dev_rec->new_encryption_key_is_p256 && p_cb->role == HCI_ROLE_SLAVE) { in smp_br_process_pairing_command() 879 if (p_dev_rec && (p_cb->role == HCI_ROLE_SLAVE)) { in smp_br_process_pairing_command() 904 if (p_cb->role == HCI_ROLE_SLAVE) { in smp_br_process_pairing_command() 954 if (p_cb->role == HCI_ROLE_MASTER) { in smp_br_check_authorization_request() 968 if (p_cb->role == HCI_ROLE_MASTER && p_cb->local_r_key == 0) { in smp_br_check_authorization_request() 985 __func__, p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_br_select_next_key() [all …]
|
D | smp_br_main.c | 319 tSMP_BR_ENTRY_TBL entry_table = smp_br_entry_table[p_cb->role]; in smp_br_state_machine_event() 328 (p_cb->role == HCI_ROLE_SLAVE) ? "Slave" : "Master", in smp_br_state_machine_event() 342 state_table = smp_br_state_table[curr_state][p_cb->role]; in smp_br_state_machine_event()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/ |
D | esp_spp_api.c | 92 esp_spp_role_t role, uint8_t remote_scn, esp_bd_addr_t peer_bd_addr) in esp_spp_connect() argument 107 arg.connect.role = role; in esp_spp_connect() 130 esp_spp_role_t role, uint8_t local_scn, const char *name) in esp_spp_start_srv() argument 150 arg.start_srv.role = role; in esp_spp_start_srv()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avct/ |
D | avct_api.c | 145 AVCT_TRACE_API("AVCT_CreateConn: %d, control:%d", p_cc->role, p_cc->control); in AVCT_CreateConn() 155 if (p_cc->role == AVCT_INT) { in AVCT_CreateConn() 232 UINT16 AVCT_CreateBrowse (UINT8 handle, UINT8 role) in AVCT_CreateBrowse() argument 240 AVCT_TRACE_API("AVCT_CreateBrowse: %d", role); in AVCT_CreateBrowse() 253 if (role == AVCT_INT) { in AVCT_CreateBrowse() 279 UNUSED(role); in AVCT_CreateBrowse()
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/ |
D | ble_mesh_fast_prov_client_model.c | 140 .role = ROLE_FAST_PROV, in example_send_self_prov_node_addr() 190 .role = ROLE_PROVISIONER, in example_get_all_node_addr() 245 info.role = ROLE_FAST_PROV; in example_fast_prov_client_recv_timeout() 250 info.role = ROLE_PROVISIONER; in example_fast_prov_client_recv_timeout() 269 .role = ROLE_FAST_PROV, in example_fast_prov_client_recv_timeout() 297 .role = ROLE_PROVISIONER, in example_fast_prov_client_recv_timeout() 395 .role = ROLE_PROVISIONER, in example_fast_prov_client_recv_status()
|
D | ble_mesh_fast_prov_operation.c | 362 common.msg_role = info->role; in example_send_config_appkey_add() 385 common.msg_role = info->role; in example_send_generic_onoff_get() 418 common.msg_role = info->role; in example_send_generic_onoff_set() 487 msg->len, msg->data, info->timeout, true, info->role); in example_send_fast_prov_info_set() 511 16, net_key, info->timeout, true, info->role); in example_send_fast_prov_net_key_add() 534 node_addr->len, node_addr->data, info->timeout, true, info->role); in example_send_fast_prov_self_prov_node_addr() 554 0, NULL, info->timeout, true, info->role); in example_send_fast_prov_all_node_addr_get()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/av/ |
D | bta_av_aact.c | 301 p_scb->role &= ~BTA_AV_ROLE_START_INT; in notify_start_failed() 329 (p_scb->use_rc == TRUE || (p_scb->role & BTA_AV_ROLE_AD_ACP)) ) { in bta_av_st_rc_timer() 803 …RACE_DEBUG("bta_av_role_res q_tag:%d, wait:x%x, role:x%x", p_scb->q_tag, p_scb->wait, p_scb->role); in bta_av_role_res() 804 if (p_scb->role & BTA_AV_ROLE_START_INT) { in bta_av_role_res() 812 p_scb->role &= ~BTA_AV_ROLE_START_INT; in bta_av_role_res() 828 p_scb->role &= ~BTA_AV_ROLE_START_INT; in bta_av_role_res() 853 APPL_TRACE_DEBUG("wait:x%x, role:x%x", p_scb->wait, p_scb->role); in bta_av_role_res() 1002 UINT8 role = BTA_AV_ROLE_AD_INT; in bta_av_cleanup() local 1019 p_scb->role = role; in bta_av_cleanup() 1137 p_scb->role |= BTA_AV_ROLE_AD_ACP; in bta_av_config_ind() [all …]
|
D | bta_av_main.c | 423 APPL_TRACE_DEBUG("scb hndl x%x, role x%x\n", p_scb->hndl, p_scb->role); in bta_av_conn_cback() 819 ((0 == (p_scb->role & BTA_AV_ROLE_AD_ACP)) || /* Outgoing connection or */ in bta_av_chk_start() 1004 UINT8 role; in bta_av_switch_if_needed() local 1016 BTM_GetRole(p_scbi->peer_addr, &role); in bta_av_switch_if_needed() 1018 if (BTM_ROLE_MASTER != role) { in bta_av_switch_if_needed() 1049 UINT8 role; in bta_av_link_role_ok() local 1052 if (BTM_GetRole(p_scb->peer_addr, &role) == BTM_SUCCESS) { in bta_av_link_role_ok() 1054 __func__, p_scb->hndl, role, bta_av_cb.conn_audio, bits, in bta_av_link_role_ok() 1056 …if (BTM_ROLE_MASTER != role && (A2D_BitsSet(bta_av_cb.conn_audio) > bits || (bta_av_cb.features & … in bta_av_link_role_ok()
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/main/ |
D | Kconfig.projbuild | 34 prompt "select role" 37 bool "run device as coex role" 39 bool "run device as wifi role" 41 bool "run device as bluetooth role"
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_ag/ |
D | bta_ag_sdp.c | 84 if (p_scb->role == BTA_AG_ACP) { in bta_ag_sdp_cback() 294 } else if (service & BTA_HSP_SERVICE_MASK && p_scb->role == BTA_AG_INT) { in bta_ag_sdp_find_attr() 318 if (p_scb->role == BTA_AG_INT) { in bta_ag_sdp_find_attr() 373 if (service & BTA_HFP_SERVICE_MASK && p_scb->role == BTA_AG_INT) { in bta_ag_do_disc() 380 } else if (service & BTA_HFP_SERVICE_MASK && p_scb->role == BTA_AG_ACP) { in bta_ag_do_disc() 387 } else if (service & BTA_HSP_SERVICE_MASK && p_scb->role == BTA_AG_INT) { in bta_ag_do_disc()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_jv_api.h | 604 extern tBTA_JV_STATUS BTA_JvL2capConnectLE(tBTA_SEC sec_mask, tBTA_JV_ROLE role, 624 extern tBTA_JV_STATUS BTA_JvL2capConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role, 668 extern tBTA_JV_STATUS BTA_JvL2capStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role, 688 extern tBTA_JV_STATUS BTA_JvL2capStartServerLE(tBTA_SEC sec_mask, tBTA_JV_ROLE role, 814 tBTA_JV_ROLE role, UINT8 remote_scn, BD_ADDR peer_bd_addr, 844 extern tBTA_JV_STATUS BTA_JvRfcommStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role,
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ |
D | ble_mesh_commands_README.md | 88 * `-r`: `<role>:role` 106 * `-r`: `<role>:device role` 157 * `-d`: `<role>:device role`
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_scb_act.c | 93 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_abort_cmd() 126 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_close_cmd() 228 p_scb->role = AVDT_OPEN_INT; in avdt_scb_hdl_open_rsp() 990 if ((p_scb->role == AVDT_CLOSE_INT) || (p_scb->role == AVDT_OPEN_INT)) { in avdt_scb_hdl_tc_close() 994 event = (p_scb->role == AVDT_CLOSE_INT) ? AVDT_CLOSE_CFM_EVT : AVDT_CLOSE_IND_EVT; in avdt_scb_hdl_tc_close() 995 p_scb->role = AVDT_CLOSE_ACP; in avdt_scb_hdl_tc_close() 1112 UINT8 role; in avdt_scb_hdl_tc_open() local 1118 event = (p_scb->role == AVDT_OPEN_INT) ? AVDT_OPEN_CFM_EVT : AVDT_OPEN_IND_EVT; in avdt_scb_hdl_tc_open() 1126 role = (p_scb->role == AVDT_OPEN_INT) ? AVDT_INT : AVDT_ACP; in avdt_scb_hdl_tc_open() 1127 avdt_ad_open_req(AVDT_CHAN_REPORT, p_scb->p_ccb, p_scb, role); in avdt_scb_hdl_tc_open() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/ |
D | btc_spp.h | 63 esp_spp_role_t role; member 74 esp_spp_role_t role; member
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/jv/include/ |
D | bta_jv_int.h | 178 tBTA_JV_ROLE role; member 197 tBTA_JV_ROLE role; member 257 tBTA_JV_ROLE role; member 268 tBTA_JV_ROLE role; member
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/ |
D | avct_api.h | 116 UINT8 role; /* Initiator/acceptor role */ member 210 extern UINT16 AVCT_CreateBrowse(UINT8 handle, UINT8 role);
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/hf_client/ |
D | bta_hf_client_sdp.c | 60 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_ACP) { in bta_hf_client_sdp_cback() 240 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_INT) { in bta_hf_client_sdp_find_attr() 305 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_INT) { in bta_hf_client_do_disc()
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server/tutorial/ |
D | EspBleMesh.md | 71 * Devices that have been provisioned and changed to the role of a provisioner - Temporary Provision… 72 * Devices that have been provisioned but not changed to the role of a provisioner - Node 80 4. The device calls the `esp_ble_mesh_set_fast_prov_action` API to change itself into the role of a… 83 7. The device calls the `esp_ble_mesh_set_fast_prov_action` API to change itself into the role of a…
|