<?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>How can I Receive a large packet instead of one byte at a time with the use of this sample uart_async_api? and How can I use this sample?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57187/how-can-i-receive-a-large-packet-instead-of-one-byte-at-a-time-with-the-use-of-this-sample-uart_async_api-and-how-can-i-use-this-sample</link><description>Hi 
 We are using nRF9160 DK and I am able to transfer my data to BL652 via UART with P0.10 And P0.11 with use of This Example 
 But I get only One byte at a time so I read This Thread and suggestion for use this example uart_async_api 
 But I don&amp;#39;t know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jan 2020 07:52:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57187/how-can-i-receive-a-large-packet-instead-of-one-byte-at-a-time-with-the-use-of-this-sample-uart_async_api-and-how-can-i-use-this-sample" /><item><title>RE: How can I Receive a large packet instead of one byte at a time with the use of this sample uart_async_api? and How can I use this sample?</title><link>https://devzone.nordicsemi.com/thread/232008?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 07:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:288b98c9-8662-4dd6-92b7-da6414eac658</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Jaydip,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="jaydip kavaiya"]Like I already upload code for sending AT commands to BL652 via UART and its work fine but received only one byte at a time so How this example or API helps me to get large data packet.[/quote]
&lt;p&gt;&amp;nbsp;If you know how many bytes you are to receive, you can use this driver to set the amount, like done here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/tests/drivers/uart/uart_async_api/src/test_uart_async.c#L56"&gt;https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/tests/drivers/uart/uart_async_api/src/test_uart_async.c#L56&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It also has an API for transmitting:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/tests/drivers/uart/uart_async_api/src/test_uart_async.c#L57"&gt;https://github.com/NordicPlayground/fw-nrfconnect-zephyr/blob/master/tests/drivers/uart/uart_async_api/src/test_uart_async.c#L57&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I Receive a large packet instead of one byte at a time with the use of this sample uart_async_api? and How can I use this sample?</title><link>https://devzone.nordicsemi.com/thread/232002?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 05:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e324e6c3-c6b8-4465-8774-76734538bf4e</guid><dc:creator>jaydip kavaiya</dc:creator><description>&lt;p&gt;Hi Hakon Alseth&lt;/p&gt;
&lt;p&gt;Thanks for the quick response&lt;/p&gt;
&lt;p&gt;I already see this example link someone&amp;#39;s Thread but still, the question is How to use this example for sending AT command from nRF9160 to BL652 via UART.&lt;/p&gt;
&lt;p&gt;Like I already upload code for sending AT commands to BL652 via UART and its work fine but received only one byte at a time so How this example or API helps me to get large data packet.&lt;/p&gt;
&lt;p&gt;just want to know how to use this example with my uploaded Code of UART.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Jaydip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I Receive a large packet instead of one byte at a time with the use of this sample uart_async_api? and How can I use this sample?</title><link>https://devzone.nordicsemi.com/thread/231878?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2020 12:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e045323-71ee-4dd9-925f-076949360a6c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a test scenario sample available for the uart async module here which can be of help:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-zephyr/tree/master/tests/drivers/uart/uart_async_api"&gt;https://github.com/NordicPlayground/fw-nrfconnect-zephyr/tree/master/tests/drivers/uart/uart_async_api&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>