<?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>To implement ble_uart peripheral service in  central and peripheral relay example !!!!!!!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37042/to-implement-ble_uart-peripheral-service-in-central-and-peripheral-relay-example</link><description>I am trying to implement UART service which should act as both central and peripheral at a time. 
 So, I started implementing ble_uart peripheral service into the central and peripheral relay example. 
 I dumped a ble_uart central example in one board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Aug 2018 08:54:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37042/to-implement-ble_uart-peripheral-service-in-central-and-peripheral-relay-example" /><item><title>RE: To implement ble_uart peripheral service in  central and peripheral relay example !!!!!!!</title><link>https://devzone.nordicsemi.com/thread/143513?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 08:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a8775e7-b3fa-4d89-aa86-4cd9d7c77ee8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You will need to look at the call stack, open the p_error_info and find the value of err_code.&lt;/p&gt;
&lt;p&gt;See this image:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/88253.Capture.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To implement ble_uart peripheral service in  central and peripheral relay example !!!!!!!</title><link>https://devzone.nordicsemi.com/thread/143477?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 06:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9c4cc6-6cd4-4ff9-ad0e-66d692c07d5a</guid><dc:creator>kishor babu</dc:creator><description>&lt;p&gt;Yes, when i am including that line I am getting fatal error, how can i solve it.&lt;/p&gt;
&lt;p&gt;I have gone through the post of debugging with keil, but I am not getting where to include that code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To implement ble_uart peripheral service in  central and peripheral relay example !!!!!!!</title><link>https://devzone.nordicsemi.com/thread/143312?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 08:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:295011cc-0d6a-4fc5-8721-e70b29f14a4f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;I see in the code you attached, that you have commented out the error-check in&amp;nbsp;uart_init(). ( Line 21 in the snippet)&lt;/p&gt;
&lt;p&gt;Snippet:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void uart_init(void)
{
    uint32_t                     err_code;
    const app_uart_comm_params_t comm_params =
    {
        .rx_pin_no    = RX_PIN_NUMBER,
        .tx_pin_no    = TX_PIN_NUMBER,
        .rts_pin_no   = RTS_PIN_NUMBER,
        .cts_pin_no   = CTS_PIN_NUMBER,
        .flow_control = APP_UART_FLOW_CONTROL_ENABLED,
        .use_parity   = false,
        .baud_rate    = UART_BAUDRATE_BAUDRATE_Baud115200
    };

    APP_UART_FIFO_INIT( &amp;amp;comm_params,
                       UART_RX_BUF_SIZE,
                       UART_TX_BUF_SIZE,
                       uart_event_handle,
                       APP_IRQ_PRIORITY_LOWEST,
                       err_code);
    //APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Are you getting any errors here?&lt;/p&gt;
&lt;p&gt;If you add it back, i.e.&amp;nbsp;APP_ERROR_CHECK(err_code); ,&amp;nbsp;are you running into the error-handler then?&lt;/p&gt;
&lt;p&gt;You should also take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;this post&lt;/a&gt; about debugging with Keil.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To implement ble_uart peripheral service in  central and peripheral relay example !!!!!!!</title><link>https://devzone.nordicsemi.com/thread/143118?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 05:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf205a90-45c3-4c4b-bbed-4365bd97ba80</guid><dc:creator>kishor babu</dc:creator><description>&lt;p&gt;Hi sigurd,&lt;/p&gt;
&lt;p&gt;Thanks for the reply, Yes I am trying to send data from modified relay example to central.&lt;/p&gt;
&lt;p&gt;I am not able call &amp;quot;the uart_event_handle&amp;quot;, not even entering into that function.&lt;/p&gt;
&lt;p&gt;Could you help me in this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To implement ble_uart peripheral service in  central and peripheral relay example !!!!!!!</title><link>https://devzone.nordicsemi.com/thread/143034?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 13:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:581c7961-f4e5-4f01-942f-cefdfa8871e1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You are trying to send data from the &amp;quot;&lt;span&gt;modified relay example&amp;quot; to the central? correct?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What happens when you call&amp;nbsp;&lt;/span&gt;ble_nus_string_send() ? Does it return&amp;nbsp;NRF_SUCCESS ? if not, what does it return ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>