Home
last modified time | relevance | path

Searched refs:mod_id (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dutils.h10 #define BT_MESH_SHELL_MDL_INSTANCE_CMDS(cmd_set_name, mod_id, mod_ptr) \ argument
13 return bt_mesh_shell_mdl_print_all(sh, (mod_id)); \
27 return bt_mesh_shell_mdl_instance_set(sh, &(mod_ptr), (mod_id), elem_idx); \
40 uint16_t mod_id, uint8_t elem_idx);
42 int bt_mesh_shell_mdl_print_all(const struct shell *sh, uint16_t mod_id);
Dutils.c31 uint16_t mod_id, uint8_t elem_idx) in bt_mesh_shell_mdl_instance_set() argument
41 mod_temp = bt_mesh_model_find(&comp->elem[elem_idx], mod_id); in bt_mesh_shell_mdl_instance_set()
53 int bt_mesh_shell_mdl_print_all(const struct shell *sh, uint16_t mod_id) in bt_mesh_shell_mdl_print_all() argument
59 mod = bt_mesh_model_find(&comp->elem[i], mod_id); in bt_mesh_shell_mdl_print_all()
Dcfg.c137 uint16_t mod_id = bt_mesh_comp_p0_elem_mod(&elem, i); in cmd_get_comp() local
139 shell_print(sh, "\t\t\t0x%04x", mod_id); in cmd_get_comp()
929 uint16_t elem_addr, mod_app_idx, mod_id, cid; in cmd_mod_app_bind() local
935 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_app_bind()
950 mod_app_idx, mod_id, cid, &status); in cmd_mod_app_bind()
954 mod_id, &status); in cmd_mod_app_bind()
973 uint16_t elem_addr, mod_app_idx, mod_id, cid; in cmd_mod_app_unbind() local
979 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_app_unbind()
994 mod_app_idx, mod_id, cid, &status); in cmd_mod_app_unbind()
998 mod_app_idx, mod_id, &status); in cmd_mod_app_unbind()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcfg_cli.h64 uint16_t elem_addr, uint16_t mod_id, uint16_t cid,
80 uint16_t sub_addr, uint32_t mod_id);
99 uint16_t elem_addr, uint16_t mod_id, uint16_t cid,
247 uint16_t app_idx, uint32_t mod_id);
265 uint16_t elem_addr, uint16_t mod_id, uint16_t cid,
902 uint16_t mod_app_idx, uint16_t mod_id, uint8_t *status);
920 uint16_t mod_app_idx, uint16_t mod_id, uint8_t *status);
939 uint16_t mod_app_idx, uint16_t mod_id, uint16_t cid,
959 uint16_t mod_app_idx, uint16_t mod_id, uint16_t cid,
983 uint16_t mod_id, uint8_t *status, uint16_t *apps, size_t *app_cnt);
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dcfg_cli.c520 uint16_t mod_id; member
529 uint16_t elem_addr, mod_app_idx, mod_id, cid; in mod_app_status() local
551 mod_id = net_buf_simple_pull_le16(buf); in mod_app_status()
558 param->mod_id != mod_id || param->cid != cid) { in mod_app_status()
576 mod_app_idx, (cid << 16) | mod_id); in mod_app_status()
585 uint16_t mod_id; member
597 uint16_t elem_addr, mod_id, cid; in mod_sub_list_handle() local
604 mod_id = 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.c657 uint8_t *mod_id) in send_mod_pub_status() argument
681 memcpy(net_buf_simple_add(&msg, 4), mod_id, 4); in send_mod_pub_status()
683 memcpy(net_buf_simple_add(&msg, 2), mod_id, 2); in send_mod_pub_status()
699 uint8_t *mod_id, status; in mod_pub_get() local
713 mod_id = buf->data; in mod_pub_get()
741 status, mod_id); in mod_pub_get()
752 uint8_t *mod_id; in mod_pub_set() local
779 mod_id = buf->data; in mod_pub_set()
806 status, mod_id); in mod_pub_set()
851 uint8_t *mod_id; in mod_pub_va_set() local
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_mesh.h378 uint16_t mod_id; member
390 uint16_t mod_id; member
401 uint16_t mod_id; member
412 uint16_t mod_id; member
653 uint16_t mod_id; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c3196 sys_le16_to_cpu(cp->mod_id), in config_model_app_bind()
3224 sys_le16_to_cpu(cp->mod_id), in config_model_app_bind_vnd()
3253 sys_le16_to_cpu(cp->mod_id), in config_model_app_unbind()
3282 sys_le16_to_cpu(cp->mod_id), in config_model_app_get()
3311 sys_le16_to_cpu(cp->mod_id), in config_model_app_vnd_get()