<?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>Want to use data for processing that I receive using UART.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43148/want-to-use-data-for-processing-that-i-receive-using-uart</link><description>Hi, 
 I am using UART example of SDK15.2(uart_pca1040). Actually i am sending data from Raspberry Pi to NORDIC nrf52832 using UART. Data which I transmit is well received and viewed using Putty window. 
 But I want to use this data for further processing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jan 2019 10:12:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43148/want-to-use-data-for-processing-that-i-receive-using-uart" /><item><title>RE: Want to use data for processing that I receive using UART.</title><link>https://devzone.nordicsemi.com/thread/168653?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 10:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72f8a64f-178a-422c-8cbf-f4d5c7d1e2c4</guid><dc:creator>MRafiq9748</dc:creator><description>&lt;p&gt;Yeah that one only.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try this.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to use data for processing that I receive using UART.</title><link>https://devzone.nordicsemi.com/thread/168643?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 09:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:130c2cb7-8ead-490a-8678-042e65aadf60</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Do you mean the example found in the folder: &amp;lt;InstallFolder&amp;gt;\examples\peripheral\uart ?&lt;/p&gt;
&lt;p&gt;You can use the API function app_uart_get() to get the data from UART and store it in a struct for example.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for getting a byte from the UART.
 *
 * @details This function will get the next byte from the RX buffer. If the RX buffer is empty
 *          an error code will be returned and the app_uart module will generate an event upon
 *          reception of the first byte which is added to the RX buffer.
 *
 * @param[out] p_byte    Pointer to an address where next byte received on the UART will be copied.
 *
 * @retval NRF_SUCCESS          If a byte has been received and pushed to the pointer provided.
 * @retval NRF_ERROR_NOT_FOUND  If no byte is available in the RX buffer of the app_uart module.
 */
uint32_t app_uart_get(uint8_t * p_byte);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to use data for processing that I receive using UART.</title><link>https://devzone.nordicsemi.com/thread/168639?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 09:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd3cbd7a-f445-42df-8e21-2e9457e631a6</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Do you mean the example found in the folder:&lt;strong&gt; &amp;lt;InstallFolder&amp;gt;\examples\peripheral\uart\&lt;/strong&gt; ?&lt;/p&gt;
&lt;p&gt;You can use the API function &lt;strong&gt;app_uart_get() &lt;/strong&gt;and get bytes from UART, and store them in a struct for example.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for getting a byte from the UART.
 *
 * @details This function will get the next byte from the RX buffer. If the RX buffer is empty
 *          an error code will be returned and the app_uart module will generate an event upon
 *          reception of the first byte which is added to the RX buffer.
 *
 * @param[out] p_byte    Pointer to an address where next byte received on the UART will be copied.
 *
 * @retval NRF_SUCCESS          If a byte has been received and pushed to the pointer provided.
 * @retval NRF_ERROR_NOT_FOUND  If no byte is available in the RX buffer of the app_uart module.
 */
uint32_t app_uart_get(uint8_t * p_byte);
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to use data for processing that I receive using UART.</title><link>https://devzone.nordicsemi.com/thread/168626?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 08:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b04becdc-9153-4ff3-82c6-4bc09ad130df</guid><dc:creator>MRafiq9748</dc:creator><description>&lt;p&gt;Thanks for the reply.But i am not using ble_app_uart ,I am using UART(uart_pca1040) which is working fine.Only thing i want is how to store/retrieve received data for processing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to use data for processing that I receive using UART.</title><link>https://devzone.nordicsemi.com/thread/168602?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 06:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b687065-7d2e-4ba0-83d2-144627f41447</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;If you take a look at the documentation for the UART example (&amp;lt;InstallFolder&amp;gt;\examples\ble_peripheral\ble_app_uart), you can read about &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/ble_sdk_app_nus_eval"&gt;handling data received over UART&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>