static int run_group_get_group_membership(MManager *mm, struct menu_data *menu)
{
int ret = ZIGBEE_ERROR_NONE;
- unsigned short group_list[2] = { 0x0001, 0x0002 };
+ unsigned short group_list[2] = { 0x0003, 0x0004 };
+ unsigned char group_count = 2;
- ret = zb_zcl_group_get_group_membership(handle, dest_addr16, sj_ep1.ep, 2,
- group_list, zigbee_zcl_group_get_group_membership_rsp, NULL);
+ ret = zb_zcl_group_get_group_membership(handle, dest_addr16, sj_ep1.ep,
+ group_count, group_list,
+ zigbee_zcl_group_get_group_membership_rsp, NULL);
if (ZIGBEE_ERROR_NONE != ret) {
msg("zb_zcl_group_get_group_membership(0x%X) - FAILED!!!", ret);
return RET_FAILURE;