Hi,
It looks like the implementation of SampleRemote is not according to the zigbee specification. Specifically, the #define SAMPLEREMOTE_NUM_GRPS 0. That doesn't seem correct, as clearly the remote is capable of controlling MAX_LINKED_GROUPS 3 groups.
Then there is zllSampleRemote_InitLinkedTargets which just assigns a random group to arr[0], and zllSampleRemote_HandleKeys which has hard-coded support for GID 1, 2 and 3.
So nothing is done with free gid ranges that (according to spec) another initiator (controller) is supposed to give to it. When receiving GET_GID_RSP, the controlledGroups array is filled with those, but those indices are never used (except index 0). So what is the use?
Maybe because this is a sample application, I need to implement this to make it according to specification?
Can you clear this up?
Best regards,
Sjef.