<?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>Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80991/send-data-from-one-nrf52-to-another-nrf52</link><description>Hello everyone. I am trying to develop a communication link between two nrf52 devices. I want to collect measurements from some sensors, pack them into a single data pack and send them every for example 10 seconds and receive the data on the other board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Oct 2021 07:14:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80991/send-data-from-one-nrf52-to-another-nrf52" /><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/336594?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 07:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85b9f71d-6d7d-4124-96b2-32dec07798bf</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Power optimization and alterations to our example projects are expected to be made on your side, and we can help you with techincal questions if you run into issues during development.&lt;/p&gt;
&lt;p&gt;For example, the APP_ADV_DURATION define in our example projects is what&amp;#39;s used to modify the advertising duration If you want it to advertise for I.E. 10 seconds this define should be set to 1000.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For current consumption I would suggest checking out my colleague &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;Scott&amp;#39;s blog post on ways to optimize current conusmption in nRF52 designs&lt;/a&gt;. This is good both for hardware design and software development.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/336540?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 15:04:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac61aa8b-e469-432f-888a-3d10e8ffb986</guid><dc:creator>Reza papi</dc:creator><description>&lt;p&gt;Thank you, Simon, for all this information. I appreciate it.&lt;/p&gt;
&lt;p&gt;I wanted to connect to the central device, but do you know this connection adds more power to the power consumption in comparison to Beacon advertising? And about the heart rate application, can you provide more detail about it? In the description of this example, it is mentioned that &amp;quot;&lt;span&gt;This application is not power-optimized!&amp;quot; and the code stop advertising after 3 minutes. How can I solve these problems?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/336414?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 10:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca5dba57-a48e-4be9-a994-1ab4650c72c9</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, there are multiple example projects in the nRF5 SDK that does what you describe, but you need to decide on whether you actually want to connect to the central device (for added security) or just advertise the data every 5 or 10 seconds for anyone to pick up. For having the device in a connection you can check out the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_hrs.html"&gt;ble_app_hrs&lt;/a&gt; heart rate application for instance or the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_beacon.html"&gt;beacon application&lt;/a&gt; for just advertising. I think you need to provide more details as to what exactly you want to do for me to give you any further suggestions.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/336259?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 14:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b27ff13-f773-4210-a5f4-465b1fb5be60</guid><dc:creator>Reza papi</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;yes I checked the online profiler and it seems with connection interval in some seconds I can reduce the power consumption. do you have any suggestions or example in the sdk based on the requirements of my project?&lt;/p&gt;
&lt;p&gt;Best,&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/336130?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 09:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e867d988-407b-48f5-9960-c1633d449c7a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Adding sensor data in your&amp;nbsp;advertising dataand scan response data as long as there aren&amp;#39;t too many bytes. This does of course require that the scanning device is continuously scanning, or else I would recommend a connection instead I think where the device could go to sleep between transmissions. Have you checked out the &lt;a href="https://devzone.nordicsemi.com/nordic/power/w/opp/2/online-power-profiler-for-bluetooth-le"&gt;Online Power Profiler&lt;/a&gt;&amp;nbsp;on DevZone which can give you a few estimates on what current consumption to expect during advertising versus connections and so on?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335947?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 11:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66486fdd-8498-4593-a986-6ee21af30b6d</guid><dc:creator>Reza papi</dc:creator><description>&lt;p&gt;I prefer to be to be secured but as I said the main concern is power and sending just my data not something like uuid or rssi or...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335924?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 10:55:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2e2a3bf-b793-4c09-a8fd-f04dd3c76231</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;A beacon generally is an advertising device that does not connect to a central device but just advertises data in 31 byte advertising packets and alternatively a scan response packet of the same size. Please note that this is not very secure compared to connecting to a central device and bonding to encrypt the connection before transmitting data, as any BLE scanning device will be able to detect and read this data. Will security be a high concern for you?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335855?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 06:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f92ef2-6f35-415f-8bbf-86b68ec70ab4</guid><dc:creator>Reza papi</dc:creator><description>&lt;p&gt;Hi simnor,&lt;/p&gt;
&lt;p&gt;I am using nrf52832 with&amp;nbsp;nRF5_SDK_17.0.2. in my project I have a very limited power budget (80 uA on average) so the most important thing is the power efficiency. I did not check with Dien code yet because actually, I don&amp;#39;t know what is the meaning of the Beacon! I want to pack my data from different sensors and just send this bytes at a short time and receive these bytes at the receiver side. then using serial communication to import them into Matlab. the main challenge for me is to find the best way to send these data with maximum power efficiency.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335851?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 06:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31b8aded-1fde-490b-a02e-310a10075348</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What exactly are you struggling with on your end? Which SDK are you using for development, the nRFConnect SDK (NCS) or nRF5 SDK? Did you have any issues with the example project &lt;a href="https://devzone.nordicsemi.com/members/dien-nguyen"&gt;Dien Nguyen&lt;/a&gt; shared with you?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335827?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 19:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efe296d8-e8bf-4a33-9210-e1a3631d70a2</guid><dc:creator>Reza papi</dc:creator><description>&lt;p&gt;does any one else have suggestion for my problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335563?ContentTypeID=1</link><pubDate>Sat, 23 Oct 2021 10:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfbacef3-0eb5-4d25-b730-ba8e52ed0bad</guid><dc:creator>Dien Nguyen</dc:creator><description>&lt;p&gt;&lt;span class="pl-en"&gt;it is defined by NON_CONNECTABLE_ADV_INTERVAL&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335562?ContentTypeID=1</link><pubDate>Sat, 23 Oct 2021 10:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f1096a-ba30-4363-963a-384ef57d54ca</guid><dc:creator>Reza papi</dc:creator><description>&lt;p&gt;Thank you very much, it&amp;#39;s really kind of you. just one more question, what is the time between 2 consecutive advertisement?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335561?ContentTypeID=1</link><pubDate>Sat, 23 Oct 2021 10:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37eefc56-c9e9-49ed-b5e6-7a1c33590e11</guid><dc:creator>Dien Nguyen</dc:creator><description>&lt;p&gt;ESP32 is a type of Wifi &amp;amp; Bluetooth MCU. And here is my example&amp;nbsp;&lt;a href="https://github.com/dienvx1997bn/nRF52-SHT1x-read-and-adv-data"&gt;https://github.com/dienvx1997bn/nRF52-SHT1x-read-and-adv-data&lt;/a&gt;.&amp;nbsp;the UUID is a list of bytes contained in the advertise message, so the scanner can &amp;quot;see&amp;quot; it and decrypt data&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/221366437_5F00_2587076981436499_5F00_386257373530881461_5F00_n.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335560?ContentTypeID=1</link><pubDate>Sat, 23 Oct 2021 09:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5e32ba1-6f25-4df3-9d34-8fc39a6ec1be</guid><dc:creator>Reza papi</dc:creator><description>&lt;p&gt;great! what is esp32? and can you please share your code with me?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data from one nrf52 to another nrf52</title><link>https://devzone.nordicsemi.com/thread/335559?ContentTypeID=1</link><pubDate>Sat, 23 Oct 2021 09:11:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cca6a09-94ba-4350-9e21-0acce87cd6d8</guid><dc:creator>Dien Nguyen</dc:creator><description>&lt;p&gt;i have similar example, send sensor data from nrf52832 to esp32 via BLE by changing uuid bytes in advertise message&amp;nbsp;from iBeacon example.&amp;nbsp;it is the most battery saving which&amp;nbsp;i can found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>