<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic QML - Getting GPS data from COM port? in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760760#M3787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;I am working on a QML application that utilizes QtPositioning&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;5.3 to grab the location of the device to display and orient the map etc.&amp;nbsp; This is working great on the iPhone and iPad.&amp;nbsp; However, for the Windows all in one tablet (Motion) the GPS is set on a COM port.&amp;nbsp; As a result, I can't see any GPS info in my QML app when I build for the Windows device.&amp;nbsp;&amp;nbsp; Now - I can see all the data I want using the Serial Port GPS C++ sample from the QTSample Application but am not doing well getting access to that same feed from within my QML application.&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Has anyone successfully utilized the C++ serial Port GPS sample from within a QML application?&amp;nbsp; Suggestions for alternatives on how to listen to the COM port from QML are also welcome.&amp;nbsp;&amp;nbsp; If I can grab the NMEA string then I can handle it from there. &lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 19:21:14 GMT</pubDate>
    <dc:creator>AmyWright_Webber</dc:creator>
    <dc:date>2016-03-16T19:21:14Z</dc:date>
    <item>
      <title>QML - Getting GPS data from COM port?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760760#M3787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;I am working on a QML application that utilizes QtPositioning&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;5.3 to grab the location of the device to display and orient the map etc.&amp;nbsp; This is working great on the iPhone and iPad.&amp;nbsp; However, for the Windows all in one tablet (Motion) the GPS is set on a COM port.&amp;nbsp; As a result, I can't see any GPS info in my QML app when I build for the Windows device.&amp;nbsp;&amp;nbsp; Now - I can see all the data I want using the Serial Port GPS C++ sample from the QTSample Application but am not doing well getting access to that same feed from within my QML application.&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Has anyone successfully utilized the C++ serial Port GPS sample from within a QML application?&amp;nbsp; Suggestions for alternatives on how to listen to the COM port from QML are also welcome.&amp;nbsp;&amp;nbsp; If I can grab the NMEA string then I can handle it from there. &lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Thanks!&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: verdana, geneva; font-size: 13.3333px;"&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 19:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760760#M3787</guid>
      <dc:creator>AmyWright_Webber</dc:creator>
      <dc:date>2016-03-16T19:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: QML - Getting GPS data from COM port?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760761#M3788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever figure out a solution to this? I am struggling with the exact same problem currently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 12:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760761#M3788</guid>
      <dc:creator>LeeSorrell1</dc:creator>
      <dc:date>2016-08-23T12:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: QML - Getting GPS data from COM port?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760762#M3789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be great if &lt;A href="https://community.esri.com/migrated-users/8969" target="_blank"&gt;Amy Wright Webber&lt;/A&gt;‌ could chime in with her solution, but I think she tried the following code and it worked for her:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;PositionSource {
&amp;nbsp;&amp;nbsp;&amp;nbsp; id: serialPortGPS
&amp;nbsp;&amp;nbsp;&amp;nbsp; name:"SerialPortNmea"
&amp;nbsp;&amp;nbsp;&amp;nbsp; preferredPositioningMethods: PositionSource.SatellitePositioningMethods
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760762#M3789</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-12T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: QML - Getting GPS data from COM port?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760763#M3790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This solution worked. I did not have&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;name:"SerialPortNmea"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and this was causing it to not recognize the internal GPS as a supported method.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760763#M3790</guid>
      <dc:creator>LeeSorrell1</dc:creator>
      <dc:date>2016-08-24T13:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: QML - Getting GPS data from COM port?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760764#M3791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;BR /&gt;I have a problem that is kind of similar to this one. I am developing a QML application which is using as a position source a GNSS antenna outside of the mobile device and I cannot use the nmea string that comes from the antenna on a COM port. The connection between my portable computer and the antenna is via cable. According to me, the problem is that I have GPS data on two COM&amp;nbsp;ports - one from my computer`s GPS and one from the outside antenna. The application sees&amp;nbsp;only the data from my computer`s GPS. Can you, please, tell me how to get the data that comes on the COM port which is connected&amp;nbsp;to the cable?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Zlatoslav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/qml-getting-gps-data-from-com-port/m-p/760764#M3791</guid>
      <dc:creator>ZlatoslavMarchev2</dc:creator>
      <dc:date>2016-09-20T14:39:56Z</dc:date>
    </item>
  </channel>
</rss>

