Home
last modified time | relevance | path

Searched refs:unicast_addr (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dprovisioner_main.c222 if (node && comp_addr >= node->unicast_addr && in bt_mesh_provisioner_check_is_addr_dup()
223 comp_addr < node->unicast_addr + node->element_num) { in bt_mesh_provisioner_check_is_addr_dup()
311 uint16_t oob_info, uint16_t unicast_addr, in bt_mesh_provisioner_provision() argument
326 unicast_addr, element_num, net_idx); in bt_mesh_provisioner_provision()
334 node.unicast_addr = unicast_addr; in bt_mesh_provisioner_provision()
361 bt_mesh_msg_cache_clear(node->unicast_addr, node->element_num); in provisioner_remove_node()
365 bt_mesh_rx_reset_single(node->unicast_addr + i); in provisioner_remove_node()
368 bt_mesh_tx_reset_single(node->unicast_addr + i); in provisioner_remove_node()
372 bt_mesh_friend_remove_lpn(node->unicast_addr); in provisioner_remove_node()
376 bt_mesh_clear_node_info(node->unicast_addr); in provisioner_remove_node()
[all …]
Dprovisioner_main.h29 uint16_t unicast_addr; /* Node unicast address */ member
57 uint16_t oob_info, uint16_t unicast_addr,
70 struct bt_mesh_node *bt_mesh_provisioner_get_node_with_addr(uint16_t unicast_addr);
74 int bt_mesh_provisioner_delete_node_with_node_addr(uint16_t unicast_addr);
Dprovisioner_prov.h209 uint16_t oob_info, uint16_t unicast_addr);
334 int bt_mesh_test_provisioner_update_alloc_addr(uint16_t unicast_addr, uint16_t element_num);
Dtest.h26 uint16_t unicast_addr; member
Dtest.c41 if (info == NULL || !BLE_MESH_ADDR_IS_UNICAST(info->unicast_addr) || in bt_mesh_device_auto_enter_network()
50 info->unicast_addr, info->dev_key); in bt_mesh_device_auto_enter_network()
Dsettings.c163 uint16_t unicast_addr; member
1101 node.unicast_addr = info.unicast_addr; in node_info_set()
2533 val.unicast_addr = node->unicast_addr; in bt_mesh_store_node_info()
2540 sprintf(name, "mesh/pn/%04x/i", node->unicast_addr); in bt_mesh_store_node_info()
2543 BT_ERR("Failed to store node 0x%04x info", node->unicast_addr); in bt_mesh_store_node_info()
2547 err = bt_mesh_add_core_settings_item("mesh/p_node", node->unicast_addr); in bt_mesh_store_node_info()
2549 BT_ERR("Failed to add node 0x%04x info", node->unicast_addr); in bt_mesh_store_node_info()
2576 void bt_mesh_clear_node_info(uint16_t unicast_addr) in bt_mesh_clear_node_info() argument
2578 if (!BLE_MESH_ADDR_IS_UNICAST(unicast_addr)) { in bt_mesh_clear_node_info()
2579 BT_ERR("Invalid unicast address 0x%04x", unicast_addr); in bt_mesh_clear_node_info()
[all …]
Dsettings.h57 void bt_mesh_clear_node_info(uint16_t unicast_addr);
Dprovisioner_prov.c137 uint16_t unicast_addr; /* unicast address allocated for device */ member
855 uint16_t oob_info, uint16_t unicast_addr) argument
889 if (!BLE_MESH_ADDR_IS_UNICAST(unicast_addr)) {
890 BT_ERR("Invalid unicast address 0x%04x", unicast_addr);
929 …if ((err = provisioner_start_prov_pb_adv(uuid, addr ? &dev_addr : NULL, oob_info, unicast_addr))) {
935 if ((err = provisioner_start_prov_pb_gatt(uuid, &dev_addr, oob_info, unicast_addr))) {
1167 int bt_mesh_test_provisioner_update_alloc_addr(uint16_t unicast_addr, uint16_t element_num) argument
1171 if (unicast_addr + element_num > max_addr) {
1175 prov_ctx.curr_alloc_addr = unicast_addr + element_num;
2447 prev_addr = node->unicast_addr;
[all …]
Dnet.h324 void bt_mesh_msg_cache_clear(uint16_t unicast_addr, uint8_t elem_num);
Dnet.c134 void bt_mesh_msg_cache_clear(uint16_t unicast_addr, uint8_t elem_num) in bt_mesh_msg_cache_clear() argument
139 if (msg_cache[i].src >= unicast_addr && in bt_mesh_msg_cache_clear()
140 msg_cache[i].src < unicast_addr + elem_num) { in bt_mesh_msg_cache_clear()
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/
Desp_ble_mesh_networking_api.h224 esp_err_t esp_ble_mesh_provisioner_store_node_comp_data(uint16_t unicast_addr,
247 esp_ble_mesh_node_t *esp_ble_mesh_provisioner_get_node_with_addr(uint16_t unicast_addr);
311 esp_err_t esp_ble_mesh_provisioner_delete_node_with_addr(uint16_t unicast_addr);
Desp_ble_mesh_provisioning_api.h265 uint16_t oob_info, uint16_t unicast_addr);
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_networking_api.c296 esp_err_t esp_ble_mesh_provisioner_store_node_comp_data(uint16_t unicast_addr, in esp_ble_mesh_provisioner_store_node_comp_data() argument
302 if (!ESP_BLE_MESH_ADDR_IS_UNICAST(unicast_addr) || !data || length <= 14) { in esp_ble_mesh_provisioner_store_node_comp_data()
312 arg.store_node_comp_data.unicast_addr = unicast_addr; in esp_ble_mesh_provisioner_store_node_comp_data()
328 esp_ble_mesh_node_t *esp_ble_mesh_provisioner_get_node_with_addr(uint16_t unicast_addr) in esp_ble_mesh_provisioner_get_node_with_addr() argument
330 if (!ESP_BLE_MESH_ADDR_IS_UNICAST(unicast_addr)) { in esp_ble_mesh_provisioner_get_node_with_addr()
334 return btc_ble_mesh_provisioner_get_node_with_addr(unicast_addr); in esp_ble_mesh_provisioner_get_node_with_addr()
377 esp_err_t esp_ble_mesh_provisioner_delete_node_with_addr(uint16_t unicast_addr) in esp_ble_mesh_provisioner_delete_node_with_addr() argument
382 if (!ESP_BLE_MESH_ADDR_IS_UNICAST(unicast_addr)) { in esp_ble_mesh_provisioner_delete_node_with_addr()
392 arg.delete_node_with_addr.unicast_addr = unicast_addr; in esp_ble_mesh_provisioner_delete_node_with_addr()
Desp_ble_mesh_provisioning_api.c315 uint16_t oob_info, uint16_t unicast_addr) in esp_ble_mesh_provisioner_prov_device_with_addr() argument
323 !ESP_BLE_MESH_ADDR_IS_UNICAST(unicast_addr)) { in esp_ble_mesh_provisioner_prov_device_with_addr()
340 arg.provisioner_prov_dev_with_addr.unicast_addr = unicast_addr; in esp_ble_mesh_provisioner_prov_device_with_addr()
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h160 uint16_t unicast_addr; member
210 uint16_t unicast_addr; member
218 uint16_t unicast_addr; member
352 esp_ble_mesh_node_t *btc_ble_mesh_provisioner_get_node_with_addr(uint16_t unicast_addr);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_main.h306 uint16_t unicast_addr, uint8_t element_num,
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c800 uint16_t unicast_addr, uint8_t element_num, in btc_ble_mesh_provisioner_prov_complete_cb() argument
808 mesh_param.provisioner_prov_complete.unicast_addr = unicast_addr; in btc_ble_mesh_provisioner_prov_complete_cb()
822 esp_ble_mesh_node_t *btc_ble_mesh_provisioner_get_node_with_addr(uint16_t unicast_addr) in btc_ble_mesh_provisioner_get_node_with_addr() argument
824 return (esp_ble_mesh_node_t *)bt_mesh_provisioner_get_node_with_addr(unicast_addr); in btc_ble_mesh_provisioner_get_node_with_addr()
1970 arg->provisioner_prov_dev_with_addr.unicast_addr); in btc_ble_mesh_prov_call_handler()
2079 param.provisioner_store_node_comp_data_comp.addr = arg->store_node_comp_data.unicast_addr; in btc_ble_mesh_prov_call_handler()
2081 bt_mesh_provisioner_store_node_comp_data(arg->store_node_comp_data.unicast_addr, in btc_ble_mesh_prov_call_handler()
2092 …param.provisioner_delete_node_with_addr_comp.unicast_addr = arg->delete_node_with_addr.unicast_add… in btc_ble_mesh_prov_call_handler()
2094 bt_mesh_provisioner_delete_node_with_node_addr(arg->delete_node_with_addr.unicast_addr); in btc_ble_mesh_prov_call_handler()
/hal_espressif-latest/components/bt/esp_ble_mesh/api/
Desp_ble_mesh_defs.h751 uint16_t unicast_addr; /*!< Node unicast address */ member
1102 uint16_t unicast_addr; /*!< Primary address of the provisioned device */ member
1232 uint16_t unicast_addr; /*!< Node unicast address */ member