Home
last modified time | relevance | path

Searched refs:prov (Results 1 – 13 of 13) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dprov.c193 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 …]
Dbeacon.c209 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()
Dprovisioner_prov.c320 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 …]
Dprov.h32 int bt_mesh_prov_init(const struct bt_mesh_prov *prov);
Dmain.c370 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()
Dproxy_server.c1331 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()
Dprovisioner_main.c69 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/
Desp_ble_mesh_common_api.c17 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/
Desp_ble_mesh_common_api.h31 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/
Dbtc_ble_mesh_prov.c1802 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/
Dmesh_main.h466 int bt_mesh_init(const struct bt_mesh_prov *prov,
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h92 esp_ble_mesh_prov_t *prov; member
/hal_espressif-latest/components/bt/
DCMakeLists.txt467 "esp_ble_mesh/mesh_core/prov.c"
741 "host/nimble/nimble/nimble/host/mesh/src/prov.c"