Part Number: CC2652R
Tool/software: WEBENCH® Design Tools
condition: APS_MAX_GROUPS=16
Processing:
1,use Zstackapi_ApsAddGroupReq to add many group-IDs (less than 16) into group table.
2,use Zstackapi_ApsFindAllGroupsReq to lookup added group-IDs, all the group-IDs just be added is appearing in parameter "rsp.pGroupList".
3,restart this CC2652R zigbee device. And then use Zstackapi_ApsFindAllGroupsReq to lookup added group-IDs, only one group-IDs is appearing.
Some clue of this issue:
I have tried to debug the function "osal_nv_write" when NV-id is "ZCD_NV_GROUP_TABLE". I have tried to print out the value of NV-buffer. Index 4, 24, 44, 64 and 84 is the value of Group-ID. But all of them are same with the Gourp-ID that is the first added into Group-Table.