<?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>UART to BLE transfer Data Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5750/uart-to-ble-transfer-data-issue</link><description>Hi Sir,
I’m working in an application with the demo board A to communicate via Bluetooth to the demo board B and send data between them. In the module I have to do send a data from demo board A to the demo board B and display it in the computer screen</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Mar 2015 14:55:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5750/uart-to-ble-transfer-data-issue" /><item><title>RE: UART to BLE transfer Data Issue</title><link>https://devzone.nordicsemi.com/thread/20090?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2015 14:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2c499ff-c5bb-46fe-aacb-768d5991b07c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@billtest36: Have you made any changes to the example ? The error code telling that it is NRF_ERROR_NOT_SUPPORTED.
I would suggest you to test first with: ble_app_hrs_c on the S120 side and ble_app_hrs on the S110 side. Let them connected and talk to each other to understand how the central and peripheral works.
After that you can also try to use experimental_ble_app_uart on S110 interfacing with a PC and a phone/tablet, to know how them work and how UART data from the PC can be sent to the phone and vice versa.&lt;/p&gt;
&lt;p&gt;Then you can try to run the set up as in the figure you draw. If you still have the issue, could you add a breakpoint at line 660 and go step by step through to see which line of code give error 0x06&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART to BLE transfer Data Issue</title><link>https://devzone.nordicsemi.com/thread/20091?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2015 08:33:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484397a1-a219-4384-a34e-31aee8227f74</guid><dc:creator>Annim</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suggest you to take a look on the UART example with S110 first, understand how uart SERVICE is been used there.&lt;/p&gt;
&lt;p&gt;Now, pull out the essential stuff for UART Service over S120 and try to fit the UART service in s120, i guess there would be a sample application based on s120, i haven&amp;#39;t checked this out though.&lt;/p&gt;
&lt;p&gt;Nextly, Once you scan and connected from S120 (master) device, the nus_handler will be responsible to get data from Slave(s110). I hope this make sense.&lt;/p&gt;
&lt;p&gt;To make pairing with security steps, try set flags for that in adv params to raise the pin security, do check for the valid and corresponding flag for it. And that should be done in both side, Master and on Slave side as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART to BLE transfer Data Issue</title><link>https://devzone.nordicsemi.com/thread/20089?ContentTypeID=1</link><pubDate>Fri, 27 Feb 2015 06:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f19378e-7c94-4d74-ac76-7f40029e0f82</guid><dc:creator>billtest36</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;Sorry! I have some question need you help.
I have attached a black diagram.&lt;/p&gt;
&lt;p&gt;A board use S120 softDevice for BLE/Master.
B board use S110 softDevice for BLE/Slave.&lt;/p&gt;
&lt;p&gt;I still can&amp;#39;t work with nrf51 UART to BLE transfer Data.
Do you know how to finish BT pairing from nRF51822 code?
Can I change BT pairing PIN code?&lt;/p&gt;
&lt;p&gt;A board code : ble_app_uart_c_S120-master project
B board code : experimental_ble_app_uart project&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0535_2E00_.png" alt="image description" /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7206_2E00_.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,
Billtest&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART to BLE transfer Data Issue</title><link>https://devzone.nordicsemi.com/thread/20088?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2015 12:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efa97658-0671-4ed8-8339-51805cd2960e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Billtest,&lt;/p&gt;
&lt;p&gt;I pasted the wrong answer from another case to your case earlier. I deleted it. Sorry about that.&lt;/p&gt;
&lt;p&gt;We have an example in our SDK that you can have a look. It&amp;#39;s the experimental_ble_app_uart project where it acts as a peripheral and forward the data it receive on UART line to BLE and vice versa. You can test this with the nRFUART app on the phone.&lt;/p&gt;
&lt;p&gt;In your case you want to have nRF51 on both side, then you would need to implement the central as well. We also have an example for that, but it&amp;#39;s not the official one. You can have a look &lt;a href="https://github.com/NordicSemiconductor/ble_app_uart_c_S120"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regarding bonding, you can have a look at the ble_app_hrs_c example where we trigger bonding right after doing service discovery.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>