<?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>adding another LED to a server node in light control mesh example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24541/adding-another-led-to-a-server-node-in-light-control-mesh-example</link><description>Hi, I would like to control 2 LEDs independantly with the same server node. Should I try to [1] add a element with the same simple on/off model in that server node OR [2] modify the simple on/off model to add another LED control in that model. Which one</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Aug 2017 07:18:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24541/adding-another-led-to-a-server-node-in-light-control-mesh-example" /><item><title>RE: adding another LED to a server node in light control mesh example</title><link>https://devzone.nordicsemi.com/thread/96609?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2017 07:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb6731fd-3fd1-47c7-92c0-65229aa95ace</guid><dc:creator>Thomas Stenersen</dc:creator><description>&lt;p&gt;Hi ms3412amo,&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using the simple on/off model, you have to go for option [1]. &lt;em&gt;You cannot have two instances of a model on a single element,&lt;/em&gt; as per the Bluetooth Mesh specification. However, you create a &lt;em&gt;new&lt;/em&gt; model that is a &lt;em&gt;Light fixture model&lt;/em&gt; controlling two+ lights. Still, I&amp;#39;d recommend this to span multiple elements (have a look at the more complex lighting models in the &lt;a href="https://www.bluetooth.com/specifications/mesh-specifications"&gt;Bluetooth Mesh model specification&lt;/a&gt;). The general idea is that it&amp;#39;s the &lt;strong&gt;element&lt;/strong&gt; that holds the &lt;strong&gt;state&lt;/strong&gt; and the &lt;strong&gt;model&lt;/strong&gt; operates on it.&lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt;
Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>