<?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>C++ library for ST Teseo GPS - pt. 3: Pico and UART support</title><link>/technologies/embedded/b/blog/posts/c-library-for-st-teseo-gps---pt-1-pico-and-uart-support</link><description>This article is related to Fun With Arduino, Global Navigation Satellite Systems (GNSS) and Teseo III - again.
In the previous two posts, I created a device-and-comms-protocol independent C++ GPS library. The test code was for a ...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: C++ library for ST Teseo GPS - pt. 3: Pico and UART support</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/c-library-for-st-teseo-gps---pt-1-pico-and-uart-support</link><pubDate>Sat, 20 Jul 2024 18:06:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9b8a2fc8-ea76-4e12-8d7f-0196385e429f</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update Jan.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28184&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: C++ library for ST Teseo GPS - pt. 3: Pico and UART support</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/c-library-for-st-teseo-gps---pt-1-pico-and-uart-support</link><pubDate>Fri, 19 Jul 2024 21:54:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9b8a2fc8-ea76-4e12-8d7f-0196385e429f</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;If I&amp;#39;d code review my own code, I&amp;#39;d challenge having pBuf (a pointer into the read buffer) public global.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d challenge myself to have it interrupt local (as a static).&lt;br /&gt;And make it reset itself to the start of the buffer before&amp;nbsp;starting a new read.&lt;/p&gt;
&lt;p&gt;One option would be to replace the Boolean guard:&lt;/p&gt;
&lt;pre&gt;volatile bool bWantChars;&lt;/pre&gt;
&lt;p&gt;by an enumerator with 3 states: start - doing - done ...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28184&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: C++ library for ST Teseo GPS - pt. 3: Pico and UART support</title><link>https://community.element14.com/technologies/embedded/b/blog/posts/c-library-for-st-teseo-gps---pt-1-pico-and-uart-support</link><pubDate>Fri, 19 Jul 2024 20:19:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9b8a2fc8-ea76-4e12-8d7f-0196385e429f</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice work. This will make it far easier to use the module. I think this is the first time I&amp;#39;m seeing STL pair being used, very interesting. Neat how the command response verification string becomes simply part of a pair with the command request!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28184&amp;AppID=7&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>