Lines Matching refs:mod_id
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()
653 uint16_t elem_addr, mod_id, cid; in mod_app_list_handle() local
660 mod_id = net_buf_simple_pull_le16(buf); in mod_app_list_handle()
665 if (param->elem_addr != elem_addr || param->mod_id != mod_id || 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()
718 uint16_t mod_id; member
731 uint16_t mod_id, cid, elem_addr; in mod_pub_status() local
757 mod_id = net_buf_simple_pull_le16(buf); in mod_pub_status()
760 mod_id = net_buf_simple_pull_le16(buf); 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()
806 uint16_t mod_id; member
815 uint16_t elem_addr, sub_addr, mod_id, cid; in mod_sub_status() local
837 mod_id = net_buf_simple_pull_le16(buf); in mod_sub_status()
841 if (param->elem_addr != elem_addr || param->mod_id != mod_id || 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
1533 .mod_id = mod_id, in mod_app_bind()
1551 net_buf_simple_add_le16(&msg, mod_id); in mod_app_bind()
1557 uint16_t mod_app_idx, uint16_t mod_id, uint8_t *status) in bt_mesh_cfg_cli_mod_app_bind() argument
1559 return mod_app_bind(net_idx, addr, elem_addr, mod_app_idx, mod_id, CID_NVAL, status); in bt_mesh_cfg_cli_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
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
1582 .mod_id = mod_id, in mod_app_unbind()
1600 net_buf_simple_add_le16(&msg, mod_id); in mod_app_unbind()
1606 uint16_t mod_app_idx, uint16_t mod_id, uint8_t *status) in bt_mesh_cfg_cli_mod_app_unbind() argument
1608 return mod_app_unbind(net_idx, addr, elem_addr, mod_app_idx, mod_id, CID_NVAL, status); in bt_mesh_cfg_cli_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
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
1631 .mod_id = mod_id, 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()
1653 net_buf_simple_add_le16(&msg, mod_id); in mod_member_list_get()
1660 uint16_t mod_id, uint8_t *status, uint16_t *apps, size_t *app_cnt) in bt_mesh_cfg_cli_mod_app_get() argument
1663 elem_addr, mod_id, CID_NVAL, status, apps, app_cnt); in bt_mesh_cfg_cli_mod_app_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
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
1687 .mod_id = mod_id, in mod_sub()
1708 net_buf_simple_add_le16(&msg, mod_id); in mod_sub()
1714 uint16_t sub_addr, uint16_t mod_id, uint8_t *status) in bt_mesh_cfg_cli_mod_sub_add() argument
1720 return mod_sub(OP_MOD_SUB_ADD, net_idx, addr, elem_addr, sub_addr, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_add()
1725 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_add_vnd() argument
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()
1737 uint16_t sub_addr, uint16_t mod_id, uint8_t *status) in bt_mesh_cfg_cli_mod_sub_del() argument
1743 return mod_sub(OP_MOD_SUB_DEL, net_idx, addr, elem_addr, sub_addr, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_del()
1748 uint16_t mod_id, uint8_t *status) in bt_mesh_cfg_cli_mod_sub_del_all() argument
1751 mod_id, CID_NVAL, status); in bt_mesh_cfg_cli_mod_sub_del_all()
1755 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_del_vnd() argument
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
1774 mod_id, cid, status); in bt_mesh_cfg_cli_mod_sub_del_all_vnd()
1778 uint16_t sub_addr, uint16_t mod_id, uint8_t *status) in bt_mesh_cfg_cli_mod_sub_overwrite() argument
1784 return mod_sub(OP_MOD_SUB_OVERWRITE, net_idx, addr, elem_addr, sub_addr, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_overwrite()
1789 uint16_t sub_addr, uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_overwrite_vnd() argument
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
1811 .mod_id = mod_id, in mod_sub_va()
1823 LOG_DBG("mod_id 0x%04x cid 0x%04x", mod_id, cid); in mod_sub_va()
1833 net_buf_simple_add_le16(&msg, mod_id); in mod_sub_va()
1839 const uint8_t label[16], uint16_t mod_id, uint16_t *virt_addr, in bt_mesh_cfg_cli_mod_sub_va_add() argument
1842 return mod_sub_va(OP_MOD_SUB_VA_ADD, net_idx, addr, elem_addr, label, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_va_add()
1847 const uint8_t label[16], uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_va_add_vnd() argument
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()
1859 const uint8_t label[16], uint16_t mod_id, uint16_t *virt_addr, in bt_mesh_cfg_cli_mod_sub_va_del() argument
1862 return mod_sub_va(OP_MOD_SUB_VA_DEL, net_idx, addr, elem_addr, label, mod_id, CID_NVAL, in bt_mesh_cfg_cli_mod_sub_va_del()
1867 const uint8_t label[16], uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_va_del_vnd() argument
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()
1879 const uint8_t label[16], uint16_t mod_id, in bt_mesh_cfg_cli_mod_sub_va_overwrite() argument
1882 return mod_sub_va(OP_MOD_SUB_VA_OVERWRITE, net_idx, addr, elem_addr, label, mod_id, in bt_mesh_cfg_cli_mod_sub_va_overwrite()
1887 const uint8_t label[16], uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_sub_va_overwrite_vnd() argument
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()
1899 uint16_t mod_id, uint8_t *status, uint16_t *subs, size_t *sub_cnt) in bt_mesh_cfg_cli_mod_sub_get() argument
1902 mod_id, CID_NVAL, status, subs, sub_cnt); in bt_mesh_cfg_cli_mod_sub_get()
1906 uint16_t mod_id, uint16_t cid, uint8_t *status, uint16_t *subs, in bt_mesh_cfg_cli_mod_sub_get_vnd() argument
1914 elem_addr, mod_id, cid, status, subs, sub_cnt); in bt_mesh_cfg_cli_mod_sub_get_vnd()
1917 static int mod_pub_get(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_id, in mod_pub_get() argument
1923 .mod_id = mod_id, in mod_pub_get()
1944 net_buf_simple_add_le16(&msg, mod_id); in mod_pub_get()
1950 uint16_t mod_id, struct bt_mesh_cfg_cli_mod_pub *pub, in bt_mesh_cfg_cli_mod_pub_get() argument
1953 return mod_pub_get(net_idx, addr, elem_addr, mod_id, CID_NVAL, pub, status); in bt_mesh_cfg_cli_mod_pub_get()
1957 uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_pub_get_vnd() argument
1964 return mod_pub_get(net_idx, addr, elem_addr, mod_id, cid, pub, status); in bt_mesh_cfg_cli_mod_pub_get_vnd()
1967 static int mod_pub_set(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_id, in mod_pub_set() argument
1973 .mod_id = mod_id, in mod_pub_set()
1999 net_buf_simple_add_le16(&msg, mod_id); in mod_pub_set()
2004 static int mod_pub_va_set(uint16_t net_idx, uint16_t addr, uint16_t elem_addr, uint16_t mod_id, in mod_pub_va_set() argument
2010 .mod_id = mod_id, in mod_pub_va_set()
2037 net_buf_simple_add_le16(&msg, mod_id); in mod_pub_va_set()
2043 uint16_t mod_id, struct bt_mesh_cfg_cli_mod_pub *pub, in bt_mesh_cfg_cli_mod_pub_set() argument
2051 return mod_pub_va_set(net_idx, addr, elem_addr, mod_id, CID_NVAL, pub, status); in bt_mesh_cfg_cli_mod_pub_set()
2053 return mod_pub_set(net_idx, addr, elem_addr, mod_id, CID_NVAL, pub, status); in bt_mesh_cfg_cli_mod_pub_set()
2058 uint16_t mod_id, uint16_t cid, in bt_mesh_cfg_cli_mod_pub_set_vnd() argument
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()