<?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>is it possible to add client and server functionality on the same nRF52 DK Mesh network LightSwitch Example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40443/is-it-possible-to-add-client-and-server-functionality-on-the-same-nrf52-dk-mesh-network-lightswitch-example</link><description>Hi, 
 
 I am using nrf52 DK with BLE mesh Light-Switch Example. I was looking for changing behavior of the client/server. Is it possible to have both Client and server functionality in the same board. 
 I am attaching the mesh network design I&amp;#39;m looking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Nov 2018 14:34:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40443/is-it-possible-to-add-client-and-server-functionality-on-the-same-nrf52-dk-mesh-network-lightswitch-example" /><item><title>RE: is it possible to add client and server functionality on the same nRF52 DK Mesh network LightSwitch Example?</title><link>https://devzone.nordicsemi.com/thread/157130?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 14:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a82ef7b0-0dcf-4f14-900b-c5d80bdf6a28</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pavan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes you can have both server, client of the same model on one node, but they need to be on different elements.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can have a look at and example &lt;a href="https://github.com/NordicPlayground/nrf52-mesh-light-switch-client-server-proxy"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, for your application, do you really need server and client on Switch 1 &amp;amp; 2 ?&amp;nbsp;You can always control Light1&amp;amp;2 and light 3&amp;amp;4 directly from the Main Switch by just let them subscribe to Group Switch 1 and Group Switch 2. You don&amp;#39;t really need to implement a server on Switch 1 and Switch 2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>