<?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>Receiving command from Android app. and handling in nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27707/receiving-command-from-android-app-and-handling-in-nrf51822</link><description>Hi Nordic community,
I&amp;#39;m sending several packets from nrf51822 (custom board) to Android application. At the moment I want to configure the sensor by sending commands from android to nrf51822.
I have a difficulty in how to receive the command over ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Dec 2017 11:47:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27707/receiving-command-from-android-app-and-handling-in-nrf51822" /><item><title>RE: Receiving command from Android app. and handling in nrf51822</title><link>https://devzone.nordicsemi.com/thread/109367?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 11:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44c2c205-24aa-467a-8acb-8a2fea9b92b4</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;You can change the UART pin definitions directly in the pca10028.h file or &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v7.x.x/doc/7.0.1/s110/html/a00018.html"&gt;create a custom board profile&lt;/a&gt;. You can also find several previous posts on DevZone discussing how to change the pin configuration including &lt;a href="https://devzone.nordicsemi.com/question/104588/using-uart-without-bsp-file-problem/"&gt;this one&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving command from Android app. and handling in nrf51822</title><link>https://devzone.nordicsemi.com/thread/109366?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 11:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5e1b00a-6efc-4f4d-a586-a020db5109d3</guid><dc:creator>Mostafa</dc:creator><description>&lt;p&gt;Hi Ketil,
Thanks for the answer.
The board that I&amp;#39;m using is custom. S110 is used for soft device and due to differnt Rx and Tx pin am not able to use examples and see the results. As I&amp;#39;ve chacked many examples, I need a sending and receiving data at for both which this example was not able to find. Rx =28 and Tx=29,
Please how to change the example configuration to match it.&lt;/p&gt;
&lt;p&gt;how to use data_handler function for sending and as well receiving?
Regards,
Mostafa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Receiving command from Android app. and handling in nrf51822</title><link>https://devzone.nordicsemi.com/thread/109365?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 10:05:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6189c8c3-8da9-4709-b352-ea28c0ad2b64</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK are you using? We have several firmware examples that demonstrate how to receive and handle data which are documented in the Infocenter.&lt;/p&gt;
&lt;p&gt;I think the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_0_0_4_2_2_22"&gt;UART/Serial Port Emulation over BLE&lt;/a&gt; example might be especially helpful for you.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>