/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | provisioner_main.c | 222 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 …]
|
D | provisioner_main.h | 29 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);
|
D | provisioner_prov.h | 209 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);
|
D | test.h | 26 uint16_t unicast_addr; member
|
D | test.c | 41 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()
|
D | settings.c | 163 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 …]
|
D | settings.h | 57 void bt_mesh_clear_node_info(uint16_t unicast_addr);
|
D | provisioner_prov.c | 137 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 …]
|
D | net.h | 324 void bt_mesh_msg_cache_clear(uint16_t unicast_addr, uint8_t elem_num);
|
D | net.c | 134 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/ |
D | esp_ble_mesh_networking_api.h | 224 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);
|
D | esp_ble_mesh_provisioning_api.h | 265 uint16_t oob_info, uint16_t unicast_addr);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/ |
D | esp_ble_mesh_networking_api.c | 296 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()
|
D | esp_ble_mesh_provisioning_api.c | 315 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/ |
D | btc_ble_mesh_prov.h | 160 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/ |
D | mesh_main.h | 306 uint16_t unicast_addr, uint8_t element_num,
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 800 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/ |
D | esp_ble_mesh_defs.h | 751 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
|