Home
last modified time | relevance | path

Searched refs:num_elem (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dcdb.c49 uint8_t num_elem; member
108 static int addr_is_free(uint16_t addr_start, uint8_t num_elem, uint16_t *next) in addr_is_free() argument
110 uint16_t addr_end = addr_start + num_elem - 1; in addr_is_free()
116 num_elem == 0) { in addr_is_free()
128 other_end = other_start + node->num_elem - 1; in addr_is_free()
151 static uint16_t find_lowest_free_addr(uint8_t num_elem) in find_lowest_free_addr() argument
163 err = addr_is_free(addr, num_elem, &next); in find_lowest_free_addr()
249 node = bt_mesh_cdb_node_alloc(val.uuid, addr, val.num_elem, in cdb_node_set()
447 val.num_elem = node->num_elem; in store_cdb_node()
717 static uint16_t addr_assign(uint16_t addr, uint8_t num_elem) in addr_assign() argument
[all …]
Dnet.h47 uint8_t num_elem; member
67 uint8_t num_elem; member
Dtransport.h48 uint8_t num_elem; member
Dfriend.c99 return (addr >= frnd->lpn && addr < (frnd->lpn + frnd->num_elem)); in is_lpn_unicast()
1004 if (msg->num_elem == 0x00) { in bt_mesh_friend_req()
1009 if (!BT_MESH_ADDR_IS_UNICAST(rx->ctx.addr + msg->num_elem - 1)) { in bt_mesh_friend_req()
1046 frnd->num_elem = msg->num_elem; in bt_mesh_friend_req()
Dprovisioner.c578 node->num_elem, node->addr); in prov_complete()
611 node->num_elem); in prov_node_add()
Dlpn.c377 .num_elem = comp->elem_count, in send_friend_req()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcdb.h39 uint8_t num_elem; member
139 uint8_t num_elem, uint16_t net_idx);
148 uint16_t bt_mesh_cdb_free_addr_get(uint8_t num_elem);
173 uint8_t num_elem);
Dmain.h298 uint8_t num_elem);
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dshell.c482 uint8_t num_elem) in prov_node_added() argument
485 "0x%04x elements %d", net_idx, addr, num_elem); in prov_node_added()
1245 node->num_elem, configured ? "C" : "-", in cdb_print_nodes()
1335 uint8_t num_elem; in cmd_cdb_node_add() local
1343 num_elem = shell_strtoul(argv[3], 0, &err); in cmd_cdb_node_add()
1358 node = bt_mesh_cdb_node_alloc(uuid, addr, num_elem, net_idx); in cmd_cdb_node_add()
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c246 static void node_added(uint16_t idx, uint8_t uuid[16], uint16_t addr, uint8_t num_elem) in node_added() argument
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_provision.c293 uint8_t num_elem) in prov_node_added() argument
870 uint8_t num_elem) in prov_node_added_rpr() argument
Dtest_brg.c136 static void prov_node_added(uint16_t net_idx, uint8_t uuid[16], uint16_t addr, uint8_t num_elem) in prov_node_added() argument
Dtest_persistence.c324 static void prov_node_added(uint16_t net_idx, uint8_t uuid[16], uint16_t addr, uint8_t num_elem) in prov_node_added() argument
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c1303 uint8_t num_elem) in prov_node_added() argument
1308 num_elem); in prov_node_added()
1312 ev.num_elems = num_elem; in prov_node_added()