Home
last modified time | relevance | path

Searched refs:sub_addr (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dcfg_srv.c919 uint16_t elem_addr, uint16_t sub_addr, uint8_t *mod_id, in send_mod_sub_status() argument
924 LOG_DBG("status 0x%02x elem_addr 0x%04x sub_addr 0x%04x", status, elem_addr, sub_addr); in send_mod_sub_status()
930 net_buf_simple_add_le16(&msg, sub_addr); in send_mod_sub_status()
949 uint16_t elem_addr, sub_addr; in mod_sub_add() local
968 sub_addr = net_buf_simple_pull_le16(buf); in mod_sub_add()
970 LOG_DBG("elem_addr 0x%04x, sub_addr 0x%04x", elem_addr, sub_addr); in mod_sub_add()
988 if (!BT_MESH_ADDR_IS_GROUP(sub_addr) && !BT_MESH_ADDR_IS_FIXED_GROUP(sub_addr)) { in mod_sub_add()
993 if (bt_mesh_model_find_group(&mod, sub_addr)) { in mod_sub_add()
1006 *entry = sub_addr; in mod_sub_add()
1014 bt_mesh_lpn_group_add(sub_addr); in mod_sub_add()
[all …]
Dcfg_cli.c804 uint16_t *sub_addr; member
815 uint16_t elem_addr, sub_addr, mod_id, cid; in mod_sub_status() local
829 sub_addr = net_buf_simple_pull_le16(buf); in mod_sub_status()
842 (param->expect_sub && *param->expect_sub != sub_addr) || in mod_sub_status()
849 if (param->sub_addr) { in mod_sub_status()
850 *param->sub_addr = sub_addr; in mod_sub_status()
863 sub_addr, (cid << 16) | mod_id); in mod_sub_status()
1679 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, uint8_t *status) in mod_sub() argument
1686 .expect_sub = &sub_addr, in mod_sub()
1700 if (sub_addr != BT_MESH_ADDR_UNASSIGNED) { in mod_sub()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dcfg.c1073 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_add() local
1078 sub_addr = shell_strtoul(argv[2], 0, &err); in cmd_mod_sub_add()
1093 bt_mesh_shell_target_ctx.dst, elem_addr, sub_addr, in cmd_mod_sub_add()
1097 bt_mesh_shell_target_ctx.dst, elem_addr, sub_addr, in cmd_mod_sub_add()
1117 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_del() local
1122 sub_addr = shell_strtoul(argv[2], 0, &err); in cmd_mod_sub_del()
1137 bt_mesh_shell_target_ctx.dst, elem_addr, sub_addr, in cmd_mod_sub_del()
1141 bt_mesh_shell_target_ctx.dst, elem_addr, sub_addr, in cmd_mod_sub_del()
1161 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_add_va() local
1187 mod_id, cid, &sub_addr, &status); in cmd_mod_sub_add_va()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcfg_cli.h80 uint16_t sub_addr, uint32_t mod_id);
1108 uint16_t sub_addr, uint16_t mod_id, uint8_t *status);
1127 uint16_t sub_addr, uint16_t mod_id, uint16_t cid,
1146 uint16_t sub_addr, uint16_t mod_id, uint8_t *status);
1165 uint16_t sub_addr, uint16_t mod_id, uint16_t cid,
1188 uint16_t sub_addr, uint16_t mod_id, uint8_t *status);
1211 uint16_t sub_addr, uint16_t mod_id, uint16_t cid,
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_mesh.h289 uint16_t sub_addr; member
301 uint16_t sub_addr; member
488 uint16_t sub_addr; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c2723 sys_le16_to_cpu(cp->sub_addr), in config_mod_sub_add()
2751 sys_le16_to_cpu(cp->sub_addr), in config_mod_sub_ovw()
2778 sys_le16_to_cpu(cp->sub_addr), in config_mod_sub_del()