Lines Matching refs:cid

521 	uint16_t cid;  member
529 uint16_t elem_addr, mod_app_idx, mod_id, cid; in mod_app_status() local
546 cid = net_buf_simple_pull_le16(buf); in mod_app_status()
548 cid = CID_NVAL; 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()
586 uint16_t cid; member
597 uint16_t elem_addr, mod_id, cid; in mod_sub_list_handle() local
602 cid = vnd ? net_buf_simple_pull_le16(buf) : CID_NVAL; in mod_sub_list_handle()
614 (vnd && param->cid != cid)) { 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()
653 uint16_t elem_addr, mod_id, cid; in mod_app_list_handle() local
658 cid = vnd ? net_buf_simple_pull_le16(buf) : CID_NVAL; in mod_app_list_handle()
666 (vnd && param->cid != cid)) { in mod_app_list_handle()
692 cli->cb->mod_app_list(cli, ctx->addr, status, elem_addr, mod_id, cid, buf); in mod_app_list_handle()
719 uint16_t cid; member
731 uint16_t mod_id, cid, elem_addr; in mod_pub_status() local
756 cid = net_buf_simple_pull_le16(buf); in mod_pub_status()
759 cid = CID_NVAL; in mod_pub_status()
765 if (mod_id != param->mod_id || cid != param->cid) { in mod_pub_status()
795 cli->cb->mod_pub_status(cli, ctx->addr, status, elem_addr, mod_id, cid, &pub); in mod_pub_status()
807 uint16_t cid; member
815 uint16_t elem_addr, sub_addr, mod_id, cid; in mod_sub_status() local
832 cid = net_buf_simple_pull_le16(buf); in mod_sub_status()
834 cid = CID_NVAL; in mod_sub_status()
843 param->cid != cid) { in mod_sub_status()
863 sub_addr, (cid << 16) | mod_id); in mod_sub_status()
1525 uint16_t mod_id, uint16_t cid, uint8_t *status) in mod_app_bind() argument
1534 .cid = cid, in mod_app_bind()
1547 if (cid != CID_NVAL) { in mod_app_bind()
1548 net_buf_simple_add_le16(&msg, cid); in mod_app_bind()
1563 uint16_t mod_app_idx, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_app_bind_vnd() argument
1566 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_app_bind_vnd()
1570 return mod_app_bind(net_idx, addr, elem_addr, mod_app_idx, mod_id, cid, status); in bt_mesh_cfg_cli_mod_app_bind_vnd()
1574 uint16_t mod_id, uint16_t cid, uint8_t *status) in mod_app_unbind() argument
1583 .cid = cid, in mod_app_unbind()
1596 if (cid != CID_NVAL) { in mod_app_unbind()
1597 net_buf_simple_add_le16(&msg, cid); in mod_app_unbind()
1612 uint16_t mod_app_idx, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_app_unbind_vnd() argument
1615 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_app_unbind_vnd()
1619 return mod_app_unbind(net_idx, addr, elem_addr, mod_app_idx, mod_id, cid, status); in bt_mesh_cfg_cli_mod_app_unbind_vnd()
1623 uint16_t elem_addr, uint16_t mod_id, uint16_t cid, uint8_t *status, in mod_member_list_get() argument
1632 .cid = cid, in mod_member_list_get()
1644 LOG_DBG("mod_id 0x%04x cid 0x%04x op: %x", mod_id, cid, op); in mod_member_list_get()
1649 if (cid != CID_NVAL) { in mod_member_list_get()
1650 net_buf_simple_add_le16(&msg, cid); in mod_member_list_get()
1667 uint16_t mod_id, uint16_t cid, uint8_t *status, uint16_t *apps, in bt_mesh_cfg_cli_mod_app_get_vnd() argument
1670 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_app_get_vnd()
1675 elem_addr, mod_id, cid, status, apps, app_cnt); in bt_mesh_cfg_cli_mod_app_get_vnd()
1679 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, uint8_t *status) in mod_sub() argument
1688 .cid = cid, in mod_sub()
1704 if (cid != CID_NVAL) { in mod_sub()
1705 net_buf_simple_add_le16(&msg, cid); in mod_sub()
1725 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_add_vnd() argument
1729 cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_add_vnd()
1733 return mod_sub(OP_MOD_SUB_ADD, net_idx, addr, elem_addr, sub_addr, mod_id, cid, status); in bt_mesh_cfg_cli_mod_sub_add_vnd()
1755 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_del_vnd() argument
1759 cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_del_vnd()
1763 return mod_sub(OP_MOD_SUB_DEL, net_idx, addr, elem_addr, sub_addr, mod_id, cid, status); in bt_mesh_cfg_cli_mod_sub_del_vnd()
1767 uint16_t mod_id, uint16_t cid, uint8_t *status) in bt_mesh_cfg_cli_mod_sub_del_all_vnd() argument
1769 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_del_all_vnd()
1774 mod_id, cid, status); in bt_mesh_cfg_cli_mod_sub_del_all_vnd()
1789 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_overwrite_vnd() argument
1793 cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_overwrite_vnd()
1797 return mod_sub(OP_MOD_SUB_OVERWRITE, net_idx, addr, elem_addr, sub_addr, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_overwrite_vnd()
1802 const uint8_t label[16], uint16_t mod_id, uint16_t cid, uint16_t *virt_addr, in mod_sub_va() argument
1812 .cid = cid, in mod_sub_va()
1823 LOG_DBG("mod_id 0x%04x cid 0x%04x", mod_id, cid); in mod_sub_va()
1829 if (cid != CID_NVAL) { in mod_sub_va()
1830 net_buf_simple_add_le16(&msg, cid); in mod_sub_va()
1847 const uint8_t label[16], uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_va_add_vnd() argument
1850 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_va_add_vnd()
1854 return mod_sub_va(OP_MOD_SUB_VA_ADD, net_idx, addr, elem_addr, label, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_va_add_vnd()
1867 const uint8_t label[16], uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_va_del_vnd() argument
1870 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_va_del_vnd()
1874 return mod_sub_va(OP_MOD_SUB_VA_DEL, net_idx, addr, elem_addr, label, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_va_del_vnd()
1887 const uint8_t label[16], uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_va_overwrite_vnd() argument
1890 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_va_overwrite_vnd()
1894 return mod_sub_va(OP_MOD_SUB_VA_OVERWRITE, net_idx, addr, elem_addr, label, mod_id, cid, in bt_mesh_cfg_cli_mod_sub_va_overwrite_vnd()
1906 uint16_t mod_id, uint16_t cid, uint8_t *status, uint16_t *subs, in bt_mesh_cfg_cli_mod_sub_get_vnd() argument
1909 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_sub_get_vnd()
1914 elem_addr, mod_id, cid, status, subs, sub_cnt); in bt_mesh_cfg_cli_mod_sub_get_vnd()
1918 uint16_t cid, struct bt_mesh_cfg_cli_mod_pub *pub, uint8_t *status) in mod_pub_get() argument
1924 .cid = cid, in mod_pub_get()
1940 if (cid != CID_NVAL) { in mod_pub_get()
1941 net_buf_simple_add_le16(&msg, cid); in mod_pub_get()
1957 uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_pub_get_vnd() argument
1960 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_pub_get_vnd()
1964 return mod_pub_get(net_idx, addr, elem_addr, mod_id, cid, pub, status); in bt_mesh_cfg_cli_mod_pub_get_vnd()
1968 uint16_t cid, struct bt_mesh_cfg_cli_mod_pub *pub, uint8_t *status) in mod_pub_set() argument
1974 .cid = cid, in mod_pub_set()
1995 if (cid != CID_NVAL) { in mod_pub_set()
1996 net_buf_simple_add_le16(&msg, cid); in mod_pub_set()
2005 uint16_t cid, struct bt_mesh_cfg_cli_mod_pub *pub, uint8_t *status) in mod_pub_va_set() argument
2011 .cid = cid, in mod_pub_va_set()
2033 if (cid != CID_NVAL) { in mod_pub_va_set()
2034 net_buf_simple_add_le16(&msg, cid); in mod_pub_va_set()
2058 uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_pub_set_vnd() argument
2065 if (cid == CID_NVAL) { in bt_mesh_cfg_cli_mod_pub_set_vnd()
2070 return mod_pub_va_set(net_idx, addr, elem_addr, mod_id, cid, pub, status); in bt_mesh_cfg_cli_mod_pub_set_vnd()
2072 return mod_pub_set(net_idx, addr, elem_addr, mod_id, cid, pub, status); in bt_mesh_cfg_cli_mod_pub_set_vnd()
2264 page->cid = net_buf_simple_pull_le16(buf); in bt_mesh_comp_p0_get()