<?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>What is the canonical way a mesh sensor device communicates state</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52694/what-is-the-canonical-way-a-mesh-sensor-device-communicates-state</link><description>I&amp;#39;ve played with the Generic OnOff Model Server in a mesh network. It seems like the way state of whether the device is on or off is communicated is through an access message with opcode corresponding to OnOff Status (0x82 0x04). i.e a 3 byte bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Oct 2019 08:53:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52694/what-is-the-canonical-way-a-mesh-sensor-device-communicates-state" /><item><title>RE: What is the canonical way a mesh sensor device communicates state</title><link>https://devzone.nordicsemi.com/thread/212746?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 08:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7da75234-2f71-4365-9c85-b124ea8edaa6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi James,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The presence detection property is to be used inside a Sensor Status message (see section 4.2.14, Mes Model Specification v1.1)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The format is defined in the section.&amp;nbsp; The property ID is in the XML link that you pointed to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sensor Status has opcode 0x52.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the canonical way a mesh sensor device communicates state</title><link>https://devzone.nordicsemi.com/thread/212681?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2019 19:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3be659d8-8ff9-4998-9ad2-2853410ebd4b</guid><dc:creator>James</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;&lt;span&gt;,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I am indeed interested in communicating that there is a person inside a room.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Obviously if I define my own model and opcode and parameters I can have something working for myself, but I was wondering if there was a spec for that already. That is, what opcodes to use and what the parameters look like, similar to the Generic OnOff Model.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;James&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the canonical way a mesh sensor device communicates state</title><link>https://devzone.nordicsemi.com/thread/212612?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2019 12:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48845028-3f43-4c8c-8254-81d3764717e7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi James,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &amp;quot;presence detection&amp;quot; you mentioned is used for detecting if there is a person inside a room for example.&lt;/p&gt;
&lt;p&gt;Is it that what you want to do ? Or you want to detect the presence of the mesh node ? that it&amp;#39;s active in the mesh network ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s the latter, you should use the &amp;quot;heart beat&amp;quot; for the purpose. You can read more about heartbeat at section 3.6.7 in the Mesh profile specification &lt;a href="https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=457092"&gt;v1.1&amp;nbsp;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>