/Zephyr-latest/subsys/bluetooth/mesh/ |
D | cdb.c | 49 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 …]
|
D | net.h | 47 uint8_t num_elem; member 67 uint8_t num_elem; member
|
D | transport.h | 48 uint8_t num_elem; member
|
D | friend.c | 99 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()
|
D | provisioner.c | 578 node->num_elem, node->addr); in prov_complete() 611 node->num_elem); in prov_node_add()
|
D | lpn.c | 377 .num_elem = comp->elem_count, in send_friend_req()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | cdb.h | 39 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);
|
D | main.h | 298 uint8_t num_elem);
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | shell.c | 482 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/ |
D | main.c | 246 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/ |
D | test_provision.c | 293 uint8_t num_elem) in prov_node_added() argument 870 uint8_t num_elem) in prov_node_added_rpr() argument
|
D | test_brg.c | 136 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
|
D | test_persistence.c | 324 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/ |
D | btp_mesh.c | 1303 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()
|