<?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>BLE UART without flow control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7842/ble-uart-without-flow-control</link><description>Hi,
Im trying to use this example to send serial data from GPS module via BLE:
 github.com/.../ble_app_uart_low_power_slave 
 I have disabled hardware flow control since GPS doesnt support it, but then I get 0C in ERRORSRC and after that UART IRQHandler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jul 2015 12:14:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7842/ble-uart-without-flow-control" /><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27947?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 12:14:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca20d5fa-4875-4bb3-b63e-085b7d423bc8</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sergey , could you please update this thread with latest info,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27946?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 07:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d876a582-56b7-4972-a4ca-5da52015456c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;zero is a valid Conn_handle
BLE_CONN_HANDLE_INVALID = 0XFFFF
Why does this fail for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27945?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 14:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28f35b87-6185-4fe5-8024-2088467361ce</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;indeed that overcomes uart overflow problem, but now there is a problem with BLE connection.
in on_connect function conn_handle is zero:
p_nus-&amp;gt;conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;&lt;/p&gt;
&lt;p&gt;And when it ries to send the string it checks for BLE_CONN_HANDLE_INVALID and that prevents from sending data.&lt;/p&gt;
&lt;p&gt;On the phone I see that its connected to the UART service.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27943?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 14:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2c7d937-20e1-45d7-988a-0858834fe2c2</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;There is no special reason, but SD7.0.0 was stable, so I keep using it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27944?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 09:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90edc680-c490-4004-b8c4-42a0334d1a66</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This might work, I have checked the Git hub
app_uart_fifo_mod.c: app_uart_get, replace it by below code.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t app_uart_get(uint8_t * p_byte)
{
    return app_fifo_get(&amp;amp;m_rx_fifo, p_byte);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The effect of this is that your driver will keep on going even if there are overflow errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27942?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 09:36:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a815f0f0-d96e-4d0e-abf7-e4b4337de3a6</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;you are using very very old SDK. is there any specific reason you cannot use a newer one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27941?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 08:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:421e483f-075b-495c-9912-002f2dcaf2ed</guid><dc:creator>Sergy</dc:creator><description>&lt;p&gt;Hi Aryan, could you please tell me which one is that? Under S110 directory I dont see any BLE UART examples.
(SDK 6.0.1)
Thanks,
Sergey&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART without flow control</title><link>https://devzone.nordicsemi.com/thread/27940?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 08:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa890589-4761-4b50-8b63-3e59456f0232</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Sergey,
Many have tried UART example in the SDK and they see that it worked as expected when there are overflow errors. I have not tried the github example, but you can try to see if SDK example works for you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>