Other Parts Discussed in Thread: Z-STACK
Hi,
I'm trying to develop a android application by usin Z-Stack Linux Gateway API. How can i get the groups list so i can show groups to the user?
Thank you.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: Z-STACK
Hi,
I'm trying to develop a android application by usin Z-Stack Linux Gateway API. How can i get the groups list so i can show groups to the user?
Thank you.
The groups that have been assigned are not stored in the GW. You would need to set up a new server application on the GW that "manages" (or remembers) the groups.
Alternatively you can use the GW_GET_GROUP_MEMBERSHIP_REQ command to get the groups that a Light is assigned to, see section 9.1.2 GW_GET_GROUP_MEMBERSHIP_REQ of the "Z-Stack Linux Gateway - API document". You could use this command to read back all the groups on the lights in the network.
When designing the GW it was envisaged that an application would be implemented on top of the servers, which would add cloud connectivity or connection to the SmartPhone.
Regard, TC.