<?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 receive the int type valuse in  nrf52832 from the other nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37827/how-to-receive-the-int-type-valuse-in-nrf52832-from-the-other-nrf52832</link><description>I&amp;#39;m developing multiple peripheral and a central. Central is only scanning and Peripherals are only advertising. 
 In the example, I see that I should use the ble_app_blinky as peripheral ,and ble_app_multilink_central as central. In my project, the advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 01 Sep 2018 13:07:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37827/how-to-receive-the-int-type-valuse-in-nrf52832-from-the-other-nrf52832" /><item><title>RE: How to receive the int type valuse in  nrf52832 from the other nrf52832</title><link>https://devzone.nordicsemi.com/thread/146845?ContentTypeID=1</link><pubDate>Sat, 01 Sep 2018 13:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4f76aec-032c-4f96-a1fc-cc1c2d1ed154</guid><dc:creator>jany</dc:creator><description>&lt;p&gt;Could you tell me how to receive data on the nrf52832 ,and how to pair?&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: How to receive the int type valuse in  nrf52832 from the other nrf52832</title><link>https://devzone.nordicsemi.com/thread/146208?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 05:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd04d533-ac17-437b-9055-4c464ffbb14c</guid><dc:creator>jany</dc:creator><description>&lt;p&gt;You say that I can use&amp;nbsp; &amp;quot;ble_app_uart&amp;quot; as peripheral&amp;nbsp; to send int array, like int[3]&amp;nbsp; from two nrf52832 to the third nrf52832, realizing multilink？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to receive the int type valuse in  nrf52832 from the other nrf52832</title><link>https://devzone.nordicsemi.com/thread/146155?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 15:10:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b281dfc7-2792-4579-929b-dcad19e4064e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Then I understand. So you want a connection, and not sending the SAADC values over the advertisements.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can start with the ble_app_multilink_central, and change the ble_lbs_c service with the ble_nus_c service. When it is able to connect with the ble_app_uart example, you need to set up the SAADC like I described in the previous reply, and then, instead of printing the SAADC values on the UART, pass them into ble_nus_string_send, to send the messages to the ble_app_multilink_central device.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: How to receive the int type valuse in  nrf52832 from the other nrf52832</title><link>https://devzone.nordicsemi.com/thread/146016?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 01:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b15ab03b-5346-4612-9f94-1d56046a8292</guid><dc:creator>jany</dc:creator><description>&lt;p&gt;I want to send the array sampled by two nrf52832 to the other nrf52832. The reason why I use&amp;nbsp;&lt;span&gt;ble_app_multilink_central is that&amp;nbsp;Infocenter say it can link multi&amp;nbsp;peripheral.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to receive the int type valuse in  nrf52832 from the other nrf52832</title><link>https://devzone.nordicsemi.com/thread/145998?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 19:41:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c62d27-d78a-4307-b87f-9c4a7f0c96a5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you want to send the SAADC&amp;nbsp;data using the advertising packs only, or do you want to connect the devices?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The advantage of connecting is that you can prevent packet loss. When you only scan for advertising packs, there is no guarantee that the packet will arrive, and there is no way of finding out whether you missed a packet, and retransmit that packet. If you are in a connection, the lost packages will automatically be retransmitted by the Softdevice.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Depending on the answer on the question above, the implementation will be a bit different. Note that in order to change the advertising data, you need to stop the advertising, update the advertising data, and restart the advertising again. It is not complicated, but you need to follow these steps in order for the softdevice&amp;nbsp;to change the advertising data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you connect the devices, you can use notifications (most of our examples use this) to transmit the SAADC&amp;nbsp;results. Just be aware that the blinky service (LBS service) only contains one byte. You might want to replace the lbs_c servide in the ble_app_multilink_central example with the nus_c service, so that the peripherals can send multiple bytes of payload data in one packet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To set up the SAADC&amp;nbsp;in the example should be pretty straight forward. Just copy the parts from the main.c in the saadc&amp;nbsp;example into your peripheral application. Just remember that the softdevice uses TIMER0, so you need to change the timer used in the application. Remember to enable it in sdk_config.h.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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>