Lines Matching refs:mod_id

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()
1017 uint16_t elem_addr, mod_id, cid; in cmd_mod_app_get() local
1026 mod_id = shell_strtoul(argv[2], 0, &err); in cmd_mod_app_get()
1040 bt_mesh_shell_target_ctx.dst, elem_addr, mod_id, in cmd_mod_app_get()
1044 bt_mesh_shell_target_ctx.dst, elem_addr, mod_id, in cmd_mod_app_get()
1056 shell_print(sh, "Apps bound to Element 0x%04x, Model 0x%04x %s:", elem_addr, mod_id, in cmd_mod_app_get()
1073 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_add() local
1079 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_sub_add()
1094 mod_id, cid, &status); in cmd_mod_sub_add()
1098 mod_id, &status); in cmd_mod_sub_add()
1117 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_del() local
1123 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_sub_del()
1138 mod_id, cid, &status); in cmd_mod_sub_del()
1142 mod_id, &status); in cmd_mod_sub_del()
1161 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_add_va() local
1172 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_sub_add_va()
1187 mod_id, cid, &sub_addr, &status); in cmd_mod_sub_add_va()
1191 mod_id, &sub_addr, &status); in cmd_mod_sub_add_va()
1211 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_del_va() local
1222 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_sub_del_va()
1237 mod_id, cid, &sub_addr, &status); in cmd_mod_sub_del_va()
1241 mod_id, &sub_addr, &status); in cmd_mod_sub_del_va()
1261 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_ow() local
1267 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_sub_ow()
1282 sub_addr, mod_id, cid, &status); in cmd_mod_sub_ow()
1286 sub_addr, mod_id, &status); in cmd_mod_sub_ow()
1305 uint16_t elem_addr, sub_addr, mod_id, cid; in cmd_mod_sub_ow_va() local
1316 mod_id = shell_strtoul(argv[3], 0, &err); in cmd_mod_sub_ow_va()
1331 label, mod_id, cid, &sub_addr, &status); in cmd_mod_sub_ow_va()
1335 label, mod_id, &sub_addr, &status); in cmd_mod_sub_ow_va()
1355 uint16_t elem_addr, mod_id, cid; in cmd_mod_sub_del_all() local
1360 mod_id = shell_strtoul(argv[2], 0, &err); in cmd_mod_sub_del_all()
1375 mod_id, cid, &status); in cmd_mod_sub_del_all()
1378 bt_mesh_shell_target_ctx.dst, elem_addr, mod_id, in cmd_mod_sub_del_all()
1398 uint16_t elem_addr, mod_id, cid; in cmd_mod_sub_get() local
1407 mod_id = shell_strtoul(argv[2], 0, &err); in cmd_mod_sub_get()
1421 bt_mesh_shell_target_ctx.dst, elem_addr, mod_id, in cmd_mod_sub_get()
1425 bt_mesh_shell_target_ctx.dst, elem_addr, mod_id, in cmd_mod_sub_get()
1439 mod_id, argc > 3 ? argv[3] : "(SIG)"); in cmd_mod_sub_get()
1493 static int mod_pub_get(const struct shell *sh, uint16_t addr, uint16_t mod_id, uint16_t cid) in mod_pub_get() argument
1501 bt_mesh_shell_target_ctx.dst, addr, mod_id, &pub, in mod_pub_get()
1505 bt_mesh_shell_target_ctx.dst, addr, mod_id, cid, in mod_pub_get()
1528 addr, mod_id, pub.addr, pub.app_idx, pub.cred_flag, pub.ttl, pub.period, in mod_pub_get()
1535 static int mod_pub_set(const struct shell *sh, uint16_t addr, bool is_va, uint16_t mod_id, in mod_pub_set() argument
1586 bt_mesh_shell_target_ctx.dst, addr, mod_id, &pub, in mod_pub_set()
1590 bt_mesh_shell_target_ctx.dst, addr, mod_id, cid, in mod_pub_set()
1611 uint16_t addr, mod_id, cid; in cmd_mod_pub() local
1614 mod_id = shell_strtoul(argv[2], 0, &err); in cmd_mod_pub()
1638 return mod_pub_set(sh, addr, false, mod_id, cid, argv); in cmd_mod_pub()
1640 return mod_pub_get(sh, addr, mod_id, cid); in cmd_mod_pub()
1647 uint16_t addr, mod_id, cid = CID_NVAL; in cmd_mod_pub_va() local
1650 mod_id = shell_strtoul(argv[9], 0, &err); in cmd_mod_pub_va()
1663 return mod_pub_set(sh, addr, true, mod_id, cid, argv); in cmd_mod_pub_va()