Searched refs:node_info (Results 1 – 7 of 7) sorted by relevance
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/ |
A D | provisioner_prov.h | 89 struct node_info { struct 419 int bt_mesh_provisioner_add_node(struct node_info *node_info, uint8_t dev_key[16]);
|
A D | provisioner_main.h | 72 int bt_mesh_provisioner_store_node_info(struct bt_mesh_node_t *node_info);
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | settings.c | 778 struct bt_mesh_node_t node_info = { 0 }; in prov_node_set() local 792 err = mesh_x_set(read_cb, cb_arg, &node_info, sizeof(node_info)); in prov_node_set() 799 addr.type = node_info.addr_type; in prov_node_set() 800 memcpy(addr.a.val, node_info.addr_val, 6); in prov_node_set() 801 …provisioner_prov_restore_nodes_info(&addr, node_info.dev_uuid, node_info.oob_info, node_info.eleme… in prov_node_set() 802 … node_info.unicast_addr, node_info.net_idx, node_info.flags, node_info.iv_index, in prov_node_set() 803 node_info.dev_key, 0); in prov_node_set()
|
A D | prov.c | 1212 struct node_info node_info; in prov_data() local 1215 memcpy(&node_info.addr, &oob.addr, sizeof(bt_addr_le_t)); in prov_data() 1216 memcpy(node_info.uuid, prov->uuid, 16); in prov_data() 1217 node_info.oob_info = prov->oob_info; in prov_data() 1218 node_info.element_num = bt_mesh_elem_count(); in prov_data() 1219 node_info.unicast_addr = addr; in prov_data() 1220 node_info.net_idx = net_idx; in prov_data() 1221 node_info.flags = flags; in prov_data() 1222 node_info.iv_index = iv_index; in prov_data() 1223 bt_mesh_provisioner_add_node(&node_info, dev_key); in prov_data()
|
A D | provisioner_prov.c | 503 memset(&node[i], 0, sizeof(struct node_info)); in provisioner_prov_reset_all_nodes() 837 int bt_mesh_provisioner_add_node(struct node_info *node_info, uint8_t dev_key[16]) in bt_mesh_provisioner_add_node() argument 839 if (!node_info || !dev_key) { in bt_mesh_provisioner_add_node() 849 node[j].oob_info = node_info->oob_info; in bt_mesh_provisioner_add_node() 850 node[j].element_num = node_info->element_num; in bt_mesh_provisioner_add_node() 852 node[j].net_idx = node_info->net_idx; in bt_mesh_provisioner_add_node() 853 node[j].flags = node_info->flags; in bt_mesh_provisioner_add_node() 854 node[j].iv_index = node_info->iv_index; in bt_mesh_provisioner_add_node() 855 node[j].addr.type = node_info->addr.type; in bt_mesh_provisioner_add_node() 857 memcpy(node[j].uuid, node_info->uuid, 16); in bt_mesh_provisioner_add_node() [all …]
|
A D | provisioner_main.c | 508 int bt_mesh_provisioner_store_node_info(struct bt_mesh_node_t *node_info) in bt_mesh_provisioner_store_node_info() argument 513 if (!node_info) { in bt_mesh_provisioner_store_node_info() 522 if (node->node_active && !memcmp(node->dev_uuid, node_info->dev_uuid, 16)) { in bt_mesh_provisioner_store_node_info() 542 memcpy(node, node_info, sizeof(struct bt_mesh_node_t)); in bt_mesh_provisioner_store_node_info()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_node/ |
A D | mesh_node.c | 399 mesh_node_local_t node_info; in prov_complete() local 400 node_info.prim_unicast = addr; in prov_complete() 405 g_mesh_node.user_prov_cb(BT_MESH_EVENT_NODE_PROV_COMP, &node_info); in prov_complete()
|
Completed in 20 milliseconds