<?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>Multiple switch on a single server node</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65865/multiple-switch-on-a-single-server-node</link><description>Hello, 
 I had been looking at BLE mesh documentation as well as the examples on the SDK and looks every node should have a dedicated function. generic on/off server controlling one switch, sensor node reading one sensor and I think that&amp;#39;s the BLE specification</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Sep 2020 14:00:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65865/multiple-switch-on-a-single-server-node" /><item><title>RE: Multiple switch on a single server node</title><link>https://devzone.nordicsemi.com/thread/269688?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 14:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99bda641-7030-4855-a0cf-2b1b2bc611e0</guid><dc:creator>Lakay</dc:creator><description>&lt;p&gt;Thank you for the inputs. I&amp;#39;m progressing more quickly :D&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple switch on a single server node</title><link>https://devzone.nordicsemi.com/thread/269388?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 13:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfdf1da0-769c-47cd-88ba-334d0467bcf3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Lakay,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have a look at our light switch client example you can find that we have 2 elements on one node. Each element has a light switch client. It&amp;#39;s initialized in&amp;nbsp;models_init_cb() function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to&amp;nbsp;have multiple servers that control multiple light bulb you can choose to do the same thing. Note that on one element there should be only one server/client with the same model. This is the reason why we have multiple elements with one model on each element.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you plan to use a generic model to control multiple application/sensor you can define your own model (something similar to the UART service we have in Bluetooth LE). You can follow our simple on_off model in our SDK (models/) and instead of sending 1 byte you can send a byte array instead.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>