/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | utils.h | 10 #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);
|
D | utils.c | 31 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()
|
D | cfg.c | 137 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/ |
D | cfg_cli.h | 64 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/ |
D | cfg_cli.c | 520 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 …]
|
D | cfg_srv.c | 657 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/ |
D | btp_mesh.h | 378 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/ |
D | btp_mesh.c | 3196 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()
|