<?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>UART Rx bytes keep on increasing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60207/uart-rx-bytes-keep-on-increasing</link><description>Hi All, 
 I&amp;#39;m using hci interface to scan the ble based beacons. 
 While scanning hci interface&amp;#39;s Rx bytes keep on increasing because beacons are being scanned. 
 I&amp;#39;m using tcflush() function with TCIOFLUSH option to flush the UART. 
 UART flush i&amp;#39;m doing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Apr 2020 06:21:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60207/uart-rx-bytes-keep-on-increasing" /><item><title>RE: UART Rx bytes keep on increasing</title><link>https://devzone.nordicsemi.com/thread/246963?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 06:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:553f4956-4e82-47ed-ae33-c913f51b6135</guid><dc:creator>mayank_patel</dc:creator><description>&lt;p&gt;That is Right Jorgen. I have raised the query in zephyr community forum.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Rx bytes keep on increasing</title><link>https://devzone.nordicsemi.com/thread/246903?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 14:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f5db5d9-dd3f-455e-8a0e-de478dd6bcff</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You may check with &lt;a href="https://www.zephyrproject.org/contact-us/"&gt;Zephyr community&lt;/a&gt; about your concerns.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Rx bytes keep on increasing</title><link>https://devzone.nordicsemi.com/thread/245014?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 13:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27fb9a14-6a58-4601-b239-f4c51fb5ac79</guid><dc:creator>mayank_patel</dc:creator><description>&lt;p&gt;Yes custom board is running an embedded linux.&lt;/p&gt;
&lt;p&gt;I am assuming&amp;nbsp;that whatever I&amp;#39;m seeing using &amp;#39;hciconfig&amp;#39; command, it&amp;#39;s just a statistics. So i can&amp;#39;t expect Rx bytes to restart from 0 after successful flushing the UART. So flushing part seems ok.&lt;/p&gt;
&lt;p&gt;I have a doubt in zephyr&amp;#39;s hci_uart sample app. Whether that has some buffer limitation or what.&lt;/p&gt;
&lt;p&gt;Because &amp;quot;hcitool lescan --duplicates&amp;quot; cli also stops scanning the beacons after some time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Rx bytes keep on increasing</title><link>https://devzone.nordicsemi.com/thread/245001?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 12:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44cb00ad-44e5-4ec6-b935-b0e98854e091</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Ok, I understand. But the i.&lt;span&gt;MX 6ULL&amp;nbsp;application processor is running some kind of embedded Linux, right? And your question is about flushing of the UART buffer on the NXP side, and not on the Nordic/Zephyr HCI side?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Rx bytes keep on increasing</title><link>https://devzone.nordicsemi.com/thread/244968?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 11:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cab8fd04-3b7c-46e1-bba0-d9567133b762</guid><dc:creator>mayank_patel</dc:creator><description>&lt;p&gt;Thanks Jorgen for the reply,&lt;/p&gt;
&lt;p&gt;Actually I have one custom board based on IMX6ULL and on that I&amp;#39;m using nrf52840_pca10056 chip which is flashed with the zephyr&amp;#39;s hci_uart sample application and not hci iface with linux system.&lt;/p&gt;
&lt;p&gt;nrf chip and processor are communicating over UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Rx bytes keep on increasing</title><link>https://devzone.nordicsemi.com/thread/244944?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 10:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ddbb3a4-06a7-4071-b420-640ad7f76501</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you use any Nordic products with the HCI interface? This sounds like a question you should direct to a Linux forum, as they will have much more experience with this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>