/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | prov.c | 193 static const struct bt_mesh_prov *prov; variable 308 if (prov->link_close) { in reset_adv_link() 309 prov->link_close(BLE_MESH_PROV_ADV); in reset_adv_link() 601 net_buf_simple_add_u8(&buf, prov->oob_pub_key); in prov_invite() 604 net_buf_simple_add_u8(&buf, prov->static_val ? BIT(0) : 0x00); in prov_invite() 607 net_buf_simple_add_u8(&buf, prov->output_size); in prov_invite() 610 net_buf_simple_add_be16(&buf, prov->output_actions); in prov_invite() 613 net_buf_simple_add_u8(&buf, prov->input_size); in prov_invite() 616 net_buf_simple_add_be16(&buf, prov->input_actions); in prov_invite() 706 memcpy(link.auth + 16 - prov->static_val_len, in prov_auth() [all …]
|
D | beacon.c | 209 const struct bt_mesh_prov *prov = NULL; in unprovisioned_beacon_send() local 222 prov = bt_mesh_prov_get(); in unprovisioned_beacon_send() 225 net_buf_add_mem(buf, prov->uuid, 16); in unprovisioned_beacon_send() 227 if (prov->uri && bt_mesh_s1(prov->uri, uri_hash) == 0) { in unprovisioned_beacon_send() 228 oob_info = prov->oob_info | BLE_MESH_PROV_OOB_URI; in unprovisioned_beacon_send() 230 oob_info = prov->oob_info; in unprovisioned_beacon_send() 239 if (prov->uri) { in unprovisioned_beacon_send() 249 len = strlen(prov->uri); in unprovisioned_beacon_send() 253 net_buf_add_mem(buf, prov->uri, len); in unprovisioned_beacon_send()
|
D | provisioner_prov.c | 320 static const struct bt_mesh_prov *prov; variable 470 return prov; in bt_mesh_provisioner_get_prov_info() 1039 if (prov == NULL) { 1044 if (!BLE_MESH_ADDR_IS_UNICAST(prov->prov_unicast_addr) || 1045 !BLE_MESH_ADDR_IS_UNICAST(prov->prov_start_address)) { 1047 prov->prov_unicast_addr, prov->prov_start_address); 1057 if (prov->prov_unicast_addr + comp->elem_count > prov->prov_start_address) { 1059 prov->prov_start_address, prov->prov_unicast_addr + comp->elem_count); 1060 prov_ctx.curr_alloc_addr = prov->prov_unicast_addr + comp->elem_count; 1062 prov_ctx.curr_alloc_addr = prov->prov_start_address; [all …]
|
D | prov.h | 32 int bt_mesh_prov_init(const struct bt_mesh_prov *prov);
|
D | main.c | 370 int bt_mesh_init(const struct bt_mesh_prov *prov, in bt_mesh_init() argument 411 err = bt_mesh_prov_init(prov); in bt_mesh_init() 417 err = bt_mesh_provisioner_prov_init(prov); in bt_mesh_init()
|
D | proxy_server.c | 1331 const struct bt_mesh_prov *prov = bt_mesh_prov_get(); in gatt_prov_adv_create() local 1337 memcpy(prov_svc_data + 2, prov->uuid, 16); in gatt_prov_adv_create() 1338 sys_put_be16(prov->oob_info, prov_svc_data + 18); in gatt_prov_adv_create() 1340 if (prov->uri) { in gatt_prov_adv_create() 1341 size_t uri_len = strlen(prov->uri); in gatt_prov_adv_create() 1349 prov_sd[0].data = (const uint8_t *)prov->uri; in gatt_prov_adv_create()
|
D | provisioner_main.c | 69 const struct bt_mesh_prov *prov = NULL; in bt_mesh_provisioner_net_create() local 75 prov = bt_mesh_provisioner_get_prov_info(); in bt_mesh_provisioner_net_create() 76 if (!prov) { in bt_mesh_provisioner_net_create() 102 sub->kr_flag = BLE_MESH_KEY_REFRESH(prov->flags); in bt_mesh_provisioner_net_create() 134 bt_mesh.iv_index = prov->iv_index; in bt_mesh_provisioner_net_create() 136 BLE_MESH_IV_UPDATE(prov->flags)); in bt_mesh_provisioner_net_create()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/ |
D | esp_ble_mesh_common_api.c | 17 esp_err_t esp_ble_mesh_init(esp_ble_mesh_prov_t *prov, esp_ble_mesh_comp_t *comp) in esp_ble_mesh_init() argument 24 if (prov == NULL || comp == NULL) { in esp_ble_mesh_init() 41 arg.mesh_init.prov = prov; in esp_ble_mesh_init()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/ |
D | esp_ble_mesh_common_api.h | 31 esp_err_t esp_ble_mesh_init(esp_ble_mesh_prov_t *prov, esp_ble_mesh_comp_t *comp);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 1802 arg->mesh_init.prov->oob_pub_key_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_oob_pub_key_cb; in btc_ble_mesh_prov_call_handler() 1803 arg->mesh_init.prov->output_num_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_output_number_cb; in btc_ble_mesh_prov_call_handler() 1804 arg->mesh_init.prov->output_str_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_output_string_cb; in btc_ble_mesh_prov_call_handler() 1805 arg->mesh_init.prov->input_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_input_cb; in btc_ble_mesh_prov_call_handler() 1806 arg->mesh_init.prov->link_open_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_link_open_cb; in btc_ble_mesh_prov_call_handler() 1807 arg->mesh_init.prov->link_close_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_link_close_cb; in btc_ble_mesh_prov_call_handler() 1808 arg->mesh_init.prov->complete_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_complete_cb; in btc_ble_mesh_prov_call_handler() 1809 arg->mesh_init.prov->reset_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_reset_cb; in btc_ble_mesh_prov_call_handler() 1812 …arg->mesh_init.prov->provisioner_prov_read_oob_pub_key = (esp_ble_mesh_cb_t)btc_ble_mesh_provision… in btc_ble_mesh_prov_call_handler() 1813 …arg->mesh_init.prov->provisioner_prov_input = (esp_ble_mesh_cb_t)btc_ble_mesh_provisioner_prov_inp… in btc_ble_mesh_prov_call_handler() [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/ |
D | mesh_main.h | 466 int bt_mesh_init(const struct bt_mesh_prov *prov,
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/ |
D | btc_ble_mesh_prov.h | 92 esp_ble_mesh_prov_t *prov; member
|
/hal_espressif-latest/components/bt/ |
D | CMakeLists.txt | 467 "esp_ble_mesh/mesh_core/prov.c" 741 "host/nimble/nimble/nimble/host/mesh/src/prov.c"
|