<?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>How to send sensor data from nrf52840 to a mobile application over ble mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37130/how-to-send-sensor-data-from-nrf52840-to-a-mobile-application-over-ble-mesh</link><description>What would be the best example to start with if i have to send the sensor data from nrf52840 to a mobile application using SDK for mesh? I have asked this question before but for SDK 15 for which Nordic UART service example worked well for me. But now</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Oct 2019 14:29:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37130/how-to-send-sensor-data-from-nrf52840-to-a-mobile-application-over-ble-mesh" /><item><title>RE: How to send sensor data from nrf52840 to a mobile application over ble mesh</title><link>https://devzone.nordicsemi.com/thread/216212?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 14:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:244b7faf-1dae-40cc-8476-e8f9d92667d7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Aftab,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you have new question, please create a new case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you to have a look at our nRF SDK for Mesh. We have example of using concurrently nRF SDK v15.3 and mesh.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send sensor data from nrf52840 to a mobile application over ble mesh</title><link>https://devzone.nordicsemi.com/thread/214745?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2019 08:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d173f6-f215-4153-bdd0-9382758a5ec3</guid><dc:creator>Aftab</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I have an nRF52832 GATT based application based on SDK 15.0. I want to convert in into mesh based application. What are steps to be taken, can I re-use my SDK 15 code or everything needs to be re-done?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to send sensor data from nrf52840 to a mobile application over ble mesh</title><link>https://devzone.nordicsemi.com/thread/142870?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 15:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0a9b38d-4e20-45d1-aee5-b9116f5dbe84</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Arshdeep,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that Bluetooth Mesh until now are very focus on a specific application &amp;quot;building lighting&amp;quot;. We don&amp;#39;t have an example for data collecting yet. But it should not be a problem to implementing one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently in our example (light switch example) we use a client and a server. The client can send a set command to the server to turn the LED on and off. The server when receiving the command will send a status back to the client to tell the actually value of the LED after the command. The client can also send GET command to get the status as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want data, you would need to use that status packet to send the current value of the sensor. You can send more than one byte. And you can send without waiting for the client to request, as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to send data to the phone, in current implementation, the phone app works as the provisioner, and can also work as client to the generic on off model. You would need to modify the app to support your proprietary model and receive those status from the sensor as described above. The default address of the phone in the network is 0x123. If you have multiple phone in the network, you would need to define different addresses.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>