<?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>Regarding BLE Mesh Model Publish &amp;amp; Subscribe</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60540/regarding-ble-mesh-model-publish-subscribe</link><description>Hello Developers, 
 I have just started playing around with BLE Mesh Zephyr examples on my recently purchased nRF52840-PDK board. 
 Anyways, I am bit stuck with one fundamental concept of Publish &amp;amp; Subscribe. Any insight to this will be highly appreciable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 May 2020 02:09:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60540/regarding-ble-mesh-model-publish-subscribe" /><item><title>RE: Regarding BLE Mesh Model Publish &amp; Subscribe</title><link>https://devzone.nordicsemi.com/thread/248601?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 02:09:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7bc6fe7-07b8-492b-be1c-7db6b59ce852</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I&amp;#39;m not really sure if I understand the question here.&lt;/p&gt;
&lt;p&gt;If you have configured periodic publishing, it should publish the message at the given, defined period. &lt;br /&gt;I want to emphasise that you don&amp;#39;t &lt;em&gt;have &lt;/em&gt;to use periodic publication if you only want to send messages on, i.e user interaction.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE Mesh Model Publish &amp; Subscribe</title><link>https://devzone.nordicsemi.com/thread/247661?ContentTypeID=1</link><pubDate>Fri, 01 May 2020 03:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ccf779-61b5-4242-ac25-a3dfcfe985ba</guid><dc:creator>Anupam Roy</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for the clarification. One last question based on the below example.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;1. Generic OnOffclient sets light state ON to OFF to the Generic OnOff Server.&lt;/p&gt;
&lt;p&gt;2. Generic OnOff Server sends Unicast status to Generic OnOff client.&lt;/p&gt;
&lt;p&gt;3. Generic OnOffServer publishes unsolicited *status* to the publish address&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;In step#3, If the publication is set in the Generic OnOffServer,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;- Does it become mandatory to publish the unsolicited *status* messages by the server?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;- Does it become mandatory to publish the unsolicted *status* messages periodically as per publication period?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE Mesh Model Publish &amp; Subscribe</title><link>https://devzone.nordicsemi.com/thread/247293?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2020 10:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ac6f292-d307-4070-9ce1-41d7166e13e7</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Ah. No you can still send messages on, i.e user interaction. &lt;br /&gt;Periodic publish will be handled by the application, yes. This will not happen automatically in every mesh node. You will need to enable this feature yourself.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE Mesh Model Publish &amp; Subscribe</title><link>https://devzone.nordicsemi.com/thread/247107?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 13:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7536ccc-0399-46b1-a0f8-bd46fb4422eb</guid><dc:creator>Anupam Roy</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt;&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1.5em;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;Not sure if I understand the question. If you are using periodic publication your device will publish the message at the defined intervals, yes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;What I mean is, *if* periodic publication is set in Generic OnOff client, does it become mandatory to follow periodic publishing when sending *Get* / *Set* messages?&lt;/p&gt;
&lt;p&gt;I believe, periodic publishing will not happen automatically&amp;nbsp; by the device. It is application&amp;#39;s responsibility to do periodic publishing. Please correct me if I am wrong!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE Mesh Model Publish &amp; Subscribe</title><link>https://devzone.nordicsemi.com/thread/246755?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 10:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b445732e-f3f8-42c9-b854-34fcf1a0246b</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Not sure if I understand the question. If you are using periodic publication your device will publish the message at the defined intervals, yes.&lt;/p&gt;
&lt;p&gt;There is no requirement to use periodic publication. You can also send messages on user interaction etc.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE Mesh Model Publish &amp; Subscribe</title><link>https://devzone.nordicsemi.com/thread/246606?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 19:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50751d9d-aa21-4bac-a4a1-82cffdfa91aa</guid><dc:creator>Anupam Roy</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your reply. Ok, i got that sending and publishing are same in terms of ADV bearer.&lt;/p&gt;
&lt;p&gt;Then i have another question..as follows..&lt;/p&gt;
&lt;p&gt;Suppose, If config server sets a publication period while configuring a simple Generic OnOff client, then *sending* or *publishing* a&amp;nbsp; &amp;nbsp;&amp;quot;Get&amp;quot; or a &amp;quot;Set&amp;quot; light state message also needs to follow the publish period?&amp;nbsp; Meaning an OnOff client application need to continously send or publish the Get/Set message to the publish address?&lt;/p&gt;
&lt;p&gt;I could not find any such guideline in spec. Profile spec just says, publish period in publication set is used for publishing message. So will that mean, every publish message need to follow it?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE Mesh Model Publish &amp; Subscribe</title><link>https://devzone.nordicsemi.com/thread/246460?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2020 10:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78aa071b-adba-4de6-b53c-750f69df0d47</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;1) Yes, you are correct. Publishing in Mesh is the same as sending a message. BT Mesh isn&amp;#39;t connection based, but based on the nodes broadcasting their message to every other node in range, i.e they are publishing their message.&lt;/p&gt;
&lt;p&gt;2) If the client should subscribe to any address depends on the usecase. If the client wants to, i.e receive status message from the server, it needs to subscribe to the address the server is publishing to.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>