<?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>How to get light switch servers publishing to group address 0xCAFE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38998/how-to-get-light-switch-servers-publishing-to-group-address-0xcafe</link><description>Hi, 
 in provisioner.c, 
 /* configure the publication parametrs for the on/off server */ 
 case PROV__STATE_CONFIG_PUBLICATION_ONOFF: 
 I&amp;#39;ve changed publish_address.type to NRF_MESH_TYPE_GROUP and .value to GROUP_ADDRESS. 
 Using nRf52832 and mesh v1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Oct 2018 08:47:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38998/how-to-get-light-switch-servers-publishing-to-group-address-0xcafe" /><item><title>RE: How to get light switch servers publishing to group address 0xCAFE?</title><link>https://devzone.nordicsemi.com/thread/150903?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 08:47:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c786e88-0e04-46e7-87fe-f9c62d78696d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes. That seems about right.&lt;/p&gt;
&lt;p&gt;.type = NRF_MESH_ADDRESS_TYPE_UNICAST is an address that is only to one specific device, while NRF_MESH_ADDRESS_TYPE_GROUP is an address that more nodes can subscribe to.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have not tested this, but if you experience some issues, you may try to use the implementation from case PROV_STATE_CONFIG_SUBSCRIPTION instead.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that this will tell the light switch servers to listen on this channel. You also need to have something to publish on this channel in order to turn the LEDs on and off.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are starting experimenting with this now, I would really recommend that you move to a later SDK, Mesh SDK v 2.2.0. Here the group addresses are used, in addition to a lot of bug fixes in the examples.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In this SDK you can choose whether you want to use the provisioner node (provisioning is not done with the light switch client example anymore) or if you want to use the provisioning app for iOS or Android. This app is a great tool to get familiar with setting up subscription and publication channels for the Mesh Nodes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>