<?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>NRF UART app android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13780/nrf-uart-app-android</link><description>Hi, 
 I tried to get the sample ble_app_uart to work on NRF51422_DK with the S130.2.0.0 soft_device.
The compilation and programmation of the board is OK. 
 The soft run and i&amp;#39;ll pair with my phone (wiko raimbow).
I use nrf uart v2.0 app from NORDIC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 May 2016 15:12:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13780/nrf-uart-app-android" /><item><title>RE: NRF UART app android</title><link>https://devzone.nordicsemi.com/thread/52680?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 15:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b221a389-c37b-41af-bfd9-0a7f0fbc7178</guid><dc:creator>jean.oriano</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t solve the problem but i avoid it.&lt;/p&gt;
&lt;p&gt;in main.c :&lt;/p&gt;
&lt;p&gt;const app_uart_comm_params_t comm_params =
{
RX_PIN_NUMBER,
TX_PIN_NUMBER,
RTS_PIN_NUMBER,
CTS_PIN_NUMBER,
//APP_UART_FLOW_CONTROL_ENABLED,
APP_UART_FLOW_CONTROL_DISABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud115200
};&lt;/p&gt;
&lt;p&gt;I disable the FLOW CONTROL.
I dont understand the problem because i configure &amp;quot;Termite&amp;quot; with flow control RTS/CTS.&lt;/p&gt;
&lt;p&gt;If you have an idea, i&amp;#39;m aware :)&lt;/p&gt;
&lt;p&gt;Thanks for your time&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF UART app android</title><link>https://devzone.nordicsemi.com/thread/52679?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 14:09:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9874084-ccff-4059-8cde-c611f2e03aea</guid><dc:creator>jean.oriano</dc:creator><description>&lt;p&gt;I search uicr_config.h example and i create mine in my project, i followed your solution but nothing change.&lt;/p&gt;
&lt;p&gt;EDIT : After search, NRF51X422 doesn&amp;#39;t have NFC antenna, so i&amp;#39;ts not the problem.
I use a PCA10028&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF UART app android</title><link>https://devzone.nordicsemi.com/thread/52678?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 09:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:606d4765-9e96-4cfc-be2c-1732495c0dd4</guid><dc:creator>jean.oriano</dc:creator><description>&lt;p&gt;Hi, thanks for your anwser,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the next configuration :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define RX_PIN_NUMBER  11
#define TX_PIN_NUMBER  9
#define CTS_PIN_NUMBER 10
#define RTS_PIN_NUMBER 8
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and i searched the line to desable the NFC antenna pins.&lt;/p&gt;
&lt;p&gt;The link you give to me is for NRF52832.
&lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v1.0.pdf"&gt;infocenter.nordicsemi.com/.../nRF51822_PS_v1.0.pdf&lt;/a&gt;
On the .pdf for nRF51x22, they are no information about this register.&lt;/p&gt;
&lt;p&gt;I found this page : &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/4.4.1/html/group__uicr__config__example.html"&gt;devzone.nordicsemi.com/.../group__uicr__config__example.html&lt;/a&gt;
same as your link.&lt;/p&gt;
&lt;p&gt;i didn&amp;#39; find &amp;quot;uicr_config.h&amp;quot; in my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF UART app android</title><link>https://devzone.nordicsemi.com/thread/52676?ContentTypeID=1</link><pubDate>Tue, 17 May 2016 08:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0711b4bd-fd8f-4335-a8bc-4bcdc27d259b</guid><dc:creator>jean.oriano</dc:creator><description>&lt;p&gt;Hi, thanks for your anwser. I ran the application in debug mode and use a breakpoint in nus_data_handler() function.
When i sent a data from my phone to my board, i entered in the nus_data_handler() function.
For the BLE_GATTS_EVT_WRITE, i found 2 function with this event :
in ble_nus.c&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void ble_nus_on_ble_evt(ble_nus_t * p_nus, ble_evt_t * p_ble_evt)
{
if ((p_nus == NULL) || (p_ble_evt == NULL))
{
    return;
}

switch (p_ble_evt-&amp;gt;header.evt_id)
{
    case BLE_GAP_EVT_CONNECTED:
        on_connect(p_nus, p_ble_evt);
        break;

    case BLE_GAP_EVT_DISCONNECTED:
        on_disconnect(p_nus, p_ble_evt);
        break;

    case BLE_GATTS_EVT_WRITE:
        on_write(p_nus, p_ble_evt);
        break;

    default:
        // No implementation needed.
        break;
}
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;in ble_conn_params.c&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void ble_conn_params_on_ble_evt(ble_evt_t * p_ble_evt)
{
switch (p_ble_evt-&amp;gt;header.evt_id)
{
    case BLE_GAP_EVT_CONNECTED:
        on_connect(p_ble_evt);
        break;

    case BLE_GAP_EVT_DISCONNECTED:
        on_disconnect(p_ble_evt);
        break;

    case BLE_GATTS_EVT_WRITE:
        on_write(p_ble_evt);
        break;

    case BLE_GAP_EVT_CONN_PARAM_UPDATE:
        on_conn_params_update(p_ble_evt);
        break;

    default:
        // No implementation needed.
        break;
}
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I use breakpoint in cases and nothing appear when i sent data from my phone to my board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF UART app android</title><link>https://devzone.nordicsemi.com/thread/52675?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 15:05:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c481d8a-1b91-4a42-af7a-87de625b0afe</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Jean: Could you run the application in debug mode and check if the nus_data_handler() is called or BLE_GATTS_EVT_WRITE event is received ?
I assume you have tested and the UART worked both direction (with the SDK&amp;#39;s uart example)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF UART app android</title><link>https://devzone.nordicsemi.com/thread/52677?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 15:44:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:463f7dea-f6a8-4931-8377-27e7ba5f0391</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;What pin are you using for RX? If you&amp;#39;re using pin 0.09 or 0.10 see this thread:
&lt;a href="https://devzone.nordicsemi.com/question/78950/nrf52832-uart-reset/#78955"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>