Home
last modified time | relevance | path

Searched refs:elem_addr (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dop_agg.c16 uint16_t elem_addr; in cmd_seq_start() local
19 elem_addr = shell_strtoul(argv[1], 0, &err); in cmd_seq_start()
25 bt_mesh_shell_target_ctx.dst = elem_addr; in cmd_seq_start()
26 shell_print(sh, "mesh dst set to 0x%04x", elem_addr); in cmd_seq_start()
30 bt_mesh_shell_target_ctx.dst, elem_addr); in cmd_seq_start()
Dcfg.c929 uint16_t elem_addr, mod_app_idx, mod_id, cid; in cmd_mod_app_bind() local
933 elem_addr = shell_strtoul(argv[1], 0, &err); in cmd_mod_app_bind()
949 bt_mesh_shell_target_ctx.dst, elem_addr, in cmd_mod_app_bind()
953 bt_mesh_shell_target_ctx.dst, elem_addr, mod_app_idx, in cmd_mod_app_bind()
973 uint16_t elem_addr, mod_app_idx, mod_id, cid; in cmd_mod_app_unbind() local
977 elem_addr = shell_strtoul(argv[1], 0, &err); in cmd_mod_app_unbind()
993 bt_mesh_shell_target_ctx.dst, elem_addr, in cmd_mod_app_unbind()
997 bt_mesh_shell_target_ctx.dst, elem_addr, in cmd_mod_app_unbind()
1017 uint16_t elem_addr, mod_id, cid; in cmd_mod_app_get() local
1025 elem_addr = shell_strtoul(argv[1], 0, &err); in cmd_mod_app_get()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcfg_cli.h64 uint16_t elem_addr, uint16_t mod_id, uint16_t cid,
79 uint8_t status, uint16_t elem_addr,
99 uint16_t elem_addr, uint16_t mod_id, uint16_t cid,
246 uint8_t status, uint16_t elem_addr,
265 uint16_t elem_addr, uint16_t mod_id, uint16_t cid,
292 uint16_t elem_addr, uint32_t timeout);
901 int bt_mesh_cfg_cli_mod_app_bind(uint16_t net_idx, uint16_t addr, uint16_t elem_addr,
919 int bt_mesh_cfg_cli_mod_app_unbind(uint16_t net_idx, uint16_t addr, uint16_t elem_addr,
938 int bt_mesh_cfg_cli_mod_app_bind_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr,
958 int bt_mesh_cfg_cli_mod_app_unbind_vnd(uint16_t net_idx, uint16_t addr, uint16_t elem_addr,
[all …]
Dop_agg_cli.h40 uint16_t elem_addr);
/Zephyr-latest/subsys/bluetooth/mesh/
Dcfg_cli.c518 uint16_t elem_addr; member
529 uint16_t elem_addr, mod_app_idx, mod_id, cid; in mod_app_status() local
542 elem_addr = net_buf_simple_pull_le16(buf); in mod_app_status()
556 if (param->elem_addr != elem_addr || in mod_app_status()
575 cli->cb->mod_app_status(cli, ctx->addr, status, elem_addr, in mod_app_status()
584 uint16_t elem_addr; member
597 uint16_t elem_addr, mod_id, cid; in mod_sub_list_handle() local
601 elem_addr = net_buf_simple_pull_le16(buf); in mod_sub_list_handle()
613 if (param->elem_addr != elem_addr || param->mod_id != mod_id || in mod_sub_list_handle()
640 cli->cb->mod_sub_list(cli, ctx->addr, status, elem_addr, mod_id, cid, buf); in mod_sub_list_handle()
[all …]
Dcfg_srv.c654 struct bt_mesh_msg_ctx *ctx, uint16_t elem_addr, in send_mod_pub_status() argument
664 net_buf_simple_add_le16(&msg, elem_addr); in send_mod_pub_status()
696 uint16_t elem_addr, pub_addr = 0U; in mod_pub_get() local
707 elem_addr = net_buf_simple_pull_le16(buf); in mod_pub_get()
708 if (!BT_MESH_ADDR_IS_UNICAST(elem_addr)) { in mod_pub_get()
715 LOG_DBG("elem_addr 0x%04x", elem_addr); in mod_pub_get()
717 elem = bt_mesh_elem_find(elem_addr); in mod_pub_get()
740 return send_mod_pub_status(model, ctx, elem_addr, pub_addr, vnd, mod, in mod_pub_get()
749 uint16_t elem_addr, pub_addr, pub_app_idx; in mod_pub_set() local
760 elem_addr = net_buf_simple_pull_le16(buf); in mod_pub_set()
[all …]
Dop_agg_cli.c48 uint16_t elem_addr, addr; in handle_status() local
63 elem_addr = net_buf_simple_pull_le16(buf); in handle_status()
125 uint16_t elem_addr) in bt_mesh_op_agg_cli_seq_start() argument
127 if (!BT_MESH_ADDR_IS_UNICAST(elem_addr)) { in bt_mesh_op_agg_cli_seq_start()
144 net_buf_simple_add_le16(cli.ctx.sdu, elem_addr); in bt_mesh_op_agg_cli_seq_start()
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c152 int err, elem_addr; in configure_node() local
189 elem_addr = node->addr; in configure_node()
191 printk("Element @ 0x%04x: %u + %u models\n", elem_addr, in configure_node()
201 elem_addr, id); in configure_node()
203 err = bt_mesh_cfg_cli_mod_app_bind(net_idx, node->addr, elem_addr, app_idx, in configure_node()
216 elem_addr, id.company, id.id); in configure_node()
218 err = bt_mesh_cfg_cli_mod_app_bind_vnd(net_idx, node->addr, elem_addr, in configure_node()
226 elem_addr++; in configure_node()
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_mesh.h844 uint16_t elem_addr; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c3881 err = bt_mesh_op_agg_cli_seq_start(cp->net_idx, cp->app_idx, cp->dst, cp->elem_addr); in opcodes_aggregator_init()
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dshell.rst1680 ``elem_addr``.