<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>UDP STACK-- DATA PAYLOAD OF NMEA SENTENCE---EK-TM4C1294XL KIT--- SERIAL TO ETHERNET CONVERSION.</title><link>/products/roadtest/b/blog/posts/udp-stack---data-payload-of-nmea-sentence---ek-tm4c1294xl-kit----serial-to-ethernet-conversion</link><description>This demonstration shows serial to ethernet conversion. EK-TM4C1294XL KIT (Tiva C launchpad kit) is connected with PC using USB cable. This connections enables onboard debugger &amp;amp; creates Virtual com port on configuring the windows drivers on PC. ...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: UDP STACK-- DATA PAYLOAD OF NMEA SENTENCE---EK-TM4C1294XL KIT--- SERIAL TO ETHERNET CONVERSION.</title><link>https://community.element14.com/products/roadtest/b/blog/posts/udp-stack---data-payload-of-nmea-sentence---ek-tm4c1294xl-kit----serial-to-ethernet-conversion</link><pubDate>Sun, 27 Nov 2022 04:06:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9018a6bd-720b-4cac-b559-0bf34cad26b1</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Not that it matters after so many years, but because it&amp;#39;s interesting to spot bugs, and since you&amp;#39;ve posted it:&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a bit of a bug in the solution. You&amp;#39;re sending 18 bytes:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1280x720/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-9018a6bd-720b-4cac-b559-0bf34cad26b1/nmea_2D00_uart.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;However, the UDP packets contain 20 bytes:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/1280x720/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-9018a6bd-720b-4cac-b559-0bf34cad26b1/nmea_2D00_packet.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;The problem is, the stream has no delimiter, perhaps you&amp;#39;re using CR/LF to do that, but that&amp;#39;s no good if the serial stream carried anything other than NMEA.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s actually standards to do what you&amp;#39;re doing, dating back to serial modern days. Something like &lt;a href="https://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol"&gt;SLIP &lt;/a&gt;would do it (easy for a microcontroller to decipher that). Plenty of other methods too, that&amp;#39;s just one of the simplest, and would solve that problem.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=24848&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>