For the Simple On/Off Model Light Switch Example.
If i am the client, and i got the handle of a specific server.
How can i query the Mesh Group Address that assigned to that device?
Do we have such helper function there?
For the Simple On/Off Model Light Switch Example.
If i am the client, and i got the handle of a specific server.
How can i query the Mesh Group Address that assigned to that device?
Do we have such helper function there?
Hi,
I am very sorry for the late reply. Are you still stuck with this issue?
The group address is assigned in the configuration stage after provisioning, and you can query with the api call "config_client_model_publication_get" from the client.
When calling this API, you will eventually get the event "CONFIG_OPCODE_MODEL_PUBLICATION_STATUS" back in your callback handler (config_client_event_cb), where you can read out those details through type config_msg_publication_status_t.
The complementary function on the server side is "config_client_model_publication_set".
Humble regards,
Håkon
Hi,
I am very sorry for the late reply. Are you still stuck with this issue?
The group address is assigned in the configuration stage after provisioning, and you can query with the api call "config_client_model_publication_get" from the client.
When calling this API, you will eventually get the event "CONFIG_OPCODE_MODEL_PUBLICATION_STATUS" back in your callback handler (config_client_event_cb), where you can read out those details through type config_msg_publication_status_t.
The complementary function on the server side is "config_client_model_publication_set".
Humble regards,
Håkon