<?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>Best way to parse a UART string with FIFO?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12596/best-way-to-parse-a-uart-string-with-fifo</link><description>I&amp;#39;ve got my UART (with fifo) functioning, and now I need to read in a string and determine whether to act upon it or not. 
 I&amp;#39;m using the s110 softdevice, and I found a BLE/UART example where the UART read into a buffer seems to be done in the main for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Mar 2016 14:51:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12596/best-way-to-parse-a-uart-string-with-fifo" /><item><title>RE: Best way to parse a UART string with FIFO?</title><link>https://devzone.nordicsemi.com/thread/47825?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 14:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c506e36-a7b8-403c-9e46-4892ec552629</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Yes, the UART reception is specific; but the &lt;strong&gt;parsing&lt;/strong&gt; of the data is not - which is what the question&amp;#39;s about.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best way to parse a UART string with FIFO?</title><link>https://devzone.nordicsemi.com/thread/47824?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 13:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f7dfb4d-5e64-4d6c-aa3f-9bcca7e8dd08</guid><dc:creator>Sensors</dc:creator><description>&lt;p&gt;The implementation of how the UART received data is handled with use of the FIFO is very specific to nordic I would say...? Thanks for the example though, I&amp;#39;l give it a look. I knew the format had a name, just couldn&amp;#39;t remember what it was.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Best way to parse a UART string with FIFO?</title><link>https://devzone.nordicsemi.com/thread/47823?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 12:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:875019ae-b712-47a0-8a73-7242a42f8f89</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;As noted in your previous thread on the same subject:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/71967/recognising-a-received-uart-character/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;State Machines&lt;/strong&gt; can be good here.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s an excellent example: &lt;a href="http://www.visualgps.net/WhitePapers/NMEAParser/NMEAParser.html"&gt;www.visualgps.net/.../NMEAParser.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Again, nothing specifically to do with Nordic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>