<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Query the Mesh Group Address for a specific simple_on_off client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30059/query-the-mesh-group-address-for-a-specific-simple_on_off-client</link><description>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?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Feb 2018 13:45:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30059/query-the-mesh-group-address-for-a-specific-simple_on_off-client" /><item><title>RE: Query the Mesh Group Address for a specific simple_on_off client</title><link>https://devzone.nordicsemi.com/thread/121677?ContentTypeID=1</link><pubDate>Thu, 22 Feb 2018 13:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6b501ee-5b40-4e49-8230-161c9bba25d8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am very sorry for the late reply. Are you still stuck with this issue?&lt;/p&gt;
&lt;p&gt;The group address is assigned in the configuration stage after provisioning, and you can query with the api call &amp;quot;config_client_model_publication_get&amp;quot; from the client.&lt;/p&gt;
&lt;p&gt;When calling this API, you will eventually get&amp;nbsp;the event &amp;quot;CONFIG_OPCODE_MODEL_PUBLICATION_STATUS&amp;quot; back in your callback handler (config_client_event_cb), where you can read out those details through type&amp;nbsp;config_msg_publication_status_t.&lt;/p&gt;
&lt;p&gt;The complementary function on the server side is &amp;quot;config_client_model_publication_set&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Humble regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>