<?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>Questions about the implementation of Generic Power OnOff model</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43611/questions-about-the-implementation-of-generic-power-onoff-model</link><description>Hi, 
 I&amp;#39;m looking at the Generic Power OnOff model available in SDK For Mesh v3.1.0. 
 
 1. Why is there a `generic_ponoff_setup_server_status_publish()` when the setup server doesn&amp;#39;t support publishing? 
 From the Mesh Model Specification v1.0.1, section</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Feb 2019 08:15:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43611/questions-about-the-implementation-of-generic-power-onoff-model" /><item><title>RE: Questions about the implementation of Generic Power OnOff model</title><link>https://devzone.nordicsemi.com/thread/171551?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 08:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ef2157a-6624-4b34-8873-d4e2e5430718</guid><dc:creator>JonasJ</dc:creator><description>&lt;p&gt;I do agree with you that it doesn&amp;#39;t really make sense. But since it was implemented I thought I might have overlooked something.&lt;/p&gt;
&lt;p&gt;Perhaps it gets removed in the next release.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the implementation of Generic Power OnOff model</title><link>https://devzone.nordicsemi.com/thread/171550?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 08:13:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1265c1c3-ccf3-417e-8bc8-51c3d38e825a</guid><dc:creator>Jorge M</dc:creator><description>&lt;p&gt;Hi again Jonas,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have an answer to the question in point 1, but as far as I can see in the code the&amp;nbsp;&lt;span&gt;generic_ponoff_setup_server_status_publish() function is never called, which make sense because the Mesh model specification in section&amp;nbsp;&lt;span class="fontstyle0"&gt;3.3.5.2.1&lt;/span&gt;&amp;nbsp;says:&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot; &lt;span class="fontstyle0"&gt;If the received message is a Generic OnPowerUp Set message, the Generic Power OnOff Server&lt;br /&gt;shall respond with a Generic OnPowerUp Status message (see Section &lt;/span&gt;&lt;span class="fontstyle0"&gt;3.3.4.3.2&lt;/span&gt;&lt;span class="fontstyle0"&gt;).&lt;/span&gt;&amp;nbsp;&amp;quot;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, the message added by the power on off setup server (the&amp;nbsp;Generic OnPowerUp Set message)&amp;nbsp; is answered with a message from the power on off server (the Generic OnPowerUp Status mesage) which supports publishing. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I might be wrong but it seems to me that there is no need of&amp;nbsp;a `generic_ponoff_setup_server_status_publish()` function.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the implementation of Generic Power OnOff model</title><link>https://devzone.nordicsemi.com/thread/171510?ContentTypeID=1</link><pubDate>Sat, 16 Feb 2019 19:16:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ea66749-6678-4266-a5ef-8a405d451c3e</guid><dc:creator>JonasJ</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Indeed, you are right. I must have overlooked that part, thanks.&lt;/p&gt;
&lt;p&gt;Any comments on point 1?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the implementation of Generic Power OnOff model</title><link>https://devzone.nordicsemi.com/thread/171289?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 07:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85add3a3-1b80-48f9-a7e7-6722986711fe</guid><dc:creator>Jorge M</dc:creator><description>&lt;p&gt;Hi Jonas,&lt;/p&gt;
&lt;p&gt;Reviewing the Mesh Profile Specification, section 4.2.3 says about the subscription list:&lt;/p&gt;
&lt;p&gt;&lt;span class="fontstyle0"&gt;&amp;quot;Instances of models that extend other models (i.e., all models within an&lt;br /&gt;extension relation tree) shall share a single instance of a Subscription List per element.&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;So, it seems that, even if the states are not bounded, they should share the subscription list.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>