<?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>Subscribe the mesh app to model status updates</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43751/subscribe-the-mesh-app-to-model-status-updates</link><description>Is it possible to subscribe the mesh app (ios and android) for status updates of generic models? 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Feb 2019 11:36:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43751/subscribe-the-mesh-app-to-model-status-updates" /><item><title>RE: Subscribe the mesh app to model status updates</title><link>https://devzone.nordicsemi.com/thread/171602?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 11:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e23d777-eaa7-4433-a43a-ba580818f7db</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The issue is that even though you listen for advertisement packets, depending on the operating system, you may not be able to scan with the radio 100% of the time, so you can&amp;#39;t guarantee that you get the mesh message that you are looking for. Instead, I suggest that you add a BLE service (in addition to your proxy service) that you can use to send the updated state to the phone that is connected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are interested, there is an example in the Mesh SDK called&amp;nbsp;ble_app_uart_coexist, which is a mesh light switch client, in addition to the Nordic UART over BLE service, which you can use to send data back and forth over BLE.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To see how to use it, check out this guide:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_examples_sdk_coexist_ble_app_uart_coexist_README"&gt;https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Mesh_SDK/v3-1-0/md_examples_sdk_coexist_ble_app_uart_coexist_README&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Subscribe the mesh app to model status updates</title><link>https://devzone.nordicsemi.com/thread/171449?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 15:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1d149f6-eaab-4d49-a426-f053019bf4c5</guid><dc:creator>luciom</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to better explain what I need.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working on a mesh app based on your sample nrf mesh app to be used to provision and control mesh nodes.&lt;/p&gt;
&lt;p&gt;What I need is to keep the app GUI sync-ed with the mesh nodes state.&lt;/p&gt;
&lt;p&gt;The generic onoff servers are configured to publish avery state change to a group address C666.&lt;/p&gt;
&lt;p&gt;If I could subscribe the app to C666 I should be able to get the state changes in real time, when the app is running obviously.&lt;/p&gt;
&lt;p&gt;Any suggestion on how to accomplish that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Subscribe the mesh app to model status updates</title><link>https://devzone.nordicsemi.com/thread/171439?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 15:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fe9a07f-7b9d-46dc-a37e-6065b171eaf7</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;No, unfortunately. The nRF Mesh app can only set the subscription and publication addresses to the nodes, and not subscribe itself or publish anything on it&amp;#39;s own. It is however possible, but it would require some changes. You can find links to the source code here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Mesh/GetStarted"&gt;https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Mesh/GetStarted&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The provisioner (phone/app) has all the keys necessary to both send and listen to mesh packets, so it should be doable. Exactly how though, I am not sure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;I just remembered that the nRF Mesh app doesn&amp;#39;t actually &amp;quot;speak Mesh&amp;quot;. It uses BLE to configure the devices, and the devices &amp;quot;speak Mesh&amp;quot; between each other.&lt;/p&gt;
&lt;p&gt;Mesh is basically advertising packets, so it may be possible to both send packets and listen to packets, but it is not as trivial as I first imagined.&lt;/p&gt;
&lt;p&gt;The simple answer that this is not possible. The complicated answer, and maybe the answer you want to hear is that it may be, but it would require a reasonable amount of work. Not trivial.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>