<?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>Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13483/sending-data-from-beacon-and-receiving-them-on-the-nrf51-dk</link><description>Hi! I want to send data from the temperature sensor of the beacon, receive them with the nrf51 and then send them to the PC via USB cable. The nrf51 has to start the connection recognizing the name or the UUId of the beacon and enable the notification</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Apr 2016 10:19:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13483/sending-data-from-beacon-and-receiving-them-on-the-nrf51-dk" /><item><title>RE: Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/51444?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2016 10:19:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ebba031-fefd-488c-b006-5811851d1f72</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;Thank you I&amp;#39;m trying to follow your answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/51440?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 12:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac5e2506-675d-4839-9f16-98bd85fbc796</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You and revo seem to be working on the same thing. Maybe my &lt;a href="https://devzone.nordicsemi.com/question/77364/how-to-correctly-receive-a-value-sent-by-notification-on-my-nrf51-dk/?answer=77562#post-id-77562"&gt;answer&lt;/a&gt; to his question will help you out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/51442?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 09:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9964566-ccae-4d1c-8dbf-0a510afab073</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;I think to have understood that the ble_app_uart_c that I have put on the nrf51 dk is looking for a nus event discovery, so even if they connect, the dk can&amp;#39;t receive anything...so I have to use the nus service on the beacon, how can I add the correct library to the beacon?for the beacon I use the sdk 7.1, s110
Or, if I don&amp;#39;t want to modify my beacon, how can I enable the notification in the nrf51 without the nus service?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/51441?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 08:52:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b5d13d7-0e2c-4bbd-bd51-290d90e79990</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;No, on the beacon I have the example that there is in the tutorial that I have linked, in which I have added a service to send temperature (as in &lt;a href="https://devzone.nordicsemi.com/tutorials/17/"&gt;this&lt;/a&gt;)...so I don&amp;#39;t use ble_nus_string_send(), but i put the temperature data directly in &lt;code&gt;hvx_params.p_data = (uint8_t*)temperature_value;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I have put a printf inside the case BLE_GATTC_EVT_HVX and it doesn&amp;#39;t anything, so I think I&amp;#39;m not getting any event&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/51443?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 08:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a108d2a2-659c-44c7-b276-02e28b0e7968</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What example do you have on the beacon? ble_app_uart? Are you just putting the temperature data into the ble_nus_string_send()? Have you modified the service? Are you getting BLE_GATTC_EVT_HVX events?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/51446?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 07:38:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcdb64d6-c019-467b-9de5-4ee6e93d628b</guid><dc:creator>Francesca</dc:creator><description>&lt;p&gt;I&amp;#39;ve already done it, and I am sure that the beacon and the nrf51dk connect to each others, but I can&amp;#39;t understand why the nrf51 doesn&amp;#39;t receive the data...I send the data with a service that I have created and on the nrf51 there is a nus service that should receive them...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data from beacon and receiving them on the nrf51 dk</title><link>https://devzone.nordicsemi.com/thread/51445?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 23:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7102fcab-cb53-44f4-b42e-a0b8c4f805e6</guid><dc:creator>RichieJH</dc:creator><description>&lt;p&gt;The first thing is to check your environment is right on the PC via IDE. Add some printf()s at key points of the connection process to make sure they connect successfully and try to print incoming values in your IDE&amp;#39;s console before turning to your terminal app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>