summaryrefslogtreecommitdiff
path: root/src/plugins/position/serialnmea/qgeopositioninfosourcefactory_serialnmea.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QtPositioning: improve NMEA pluginIvan Solovev2021-02-121-254/+0
| | | | | | | | | | | | | - Rename serialnmea to nmea - Add support for QTcpSocket - Add support for reading data from QFile [ChangeLog][QtPositioning] SerialNmea plugin is renamed to Nmea. It's now capable of working with QTcpSocket and QFile. Task-number: QTBUG-90491 Change-Id: I9f591785c27157d7decf4e61aa6edfbeaffcd6f0 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* QtPositioning: move QNmeaSatelliteInfoSource to the libraryIvan Solovev2021-02-121-1/+1
| | | | | | | | | | - Move files from plugin to the library. - Add virtual methods, so that NMEA parsing can be overridden. - Add and update unit tests Task-number: QTBUG-90491 Change-Id: Ia2deb27c97c1552cd96832a47fe944bdc7638a07 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* QtPositioning: refactor QGeoPositionInfoSourceFactoryIvan Solovev2021-01-221-18/+3
| | | | | | | | | | [ChangeLog][QtPositioning][Important Behavior Changes] Remove QGeoPositionInfoSourceFactoryV2 and update QGeoPositionInfoSourceFactory to support source configuration parameters. Update plugin ID string. Task-number: QTBUG-90491 Change-Id: I1d3dc556d73e273e2e364f77e2decaad11810547 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add ; to Q_UNUSEDLars Schmertmann2020-06-291-1/+1
| | | | | | | | This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I1aaf36e893b8f947abd0770acd9d3007cffdcb10 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add Satellite support to serialnmea pluginPaolo Angelelli2019-08-151-3/+64
| | | | | | | | | | | This adds a new class, QNmeaSatelliteInfoSource, locally to the plugin, that behaves similarly to QNmeaPositionInfoSource in the way of handling the IODevice and producing the updates. Change-Id: Id594152dd70514974ac79c7757ce6f0da4631191 Fixes: QTBUG-59274 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Introduce QIOPipe and use it in serialnmea pluginPaolo Angelelli2019-08-091-20/+80
| | | | | | | | | | | This allows the plugin to pipe the input stream into multiple, independent processing pipelines. Good for allowing multiple position sources from the same serial port, and will allow supporting satellite info source in the nmea plugin too. Change-Id: I21e3cd2c78e7138ca49821c68b55ce96eb83e986 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Support specifying serial port via PluginParameter in serialnmea pluginPaolo Angelelli2019-07-181-6/+27
| | | | | | | | This patch supports the serialnmea.serial_port plugin parameter. Task-number: QTBUG-66304 Change-Id: I1d1e3083f50c25e2ba2fd24ddb300e73b1f883f9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Replace Q_NULLPTR with nullptrKevin Funk2018-02-051-3/+3
| | | | | Change-Id: Icbebfaae93cc5827d80ef09323ec82868789838a Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Merge remote-tracking branch 'origin/5.6' into devLiang Qi2016-01-261-9/+7
|\ | | | | | | Change-Id: I23c874c5dcd0452142c3cf8abff65415ad31a1e7
| * Added support for Qstarz GPS trackerHarald Meyer2015-12-161-9/+7
| | | | | | | | | | | | | | | | Added support for Qstarz tracker (with MTK II chipset) such as BT-Q818XT for instance. Change-Id: I937358a82ebce76ac1cdaf87458234f8045d11ad Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-201-14/+20
|/ | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Iaee1a5fd53291752a1891710ee375ca32778b142 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Add qtserialport-based NMEA position plugin for WindowsLaszlo Agocs2015-10-091-0/+123
GPS receivers typically come with USB-to-serial drivers for Windows. This allows reading NMEA sentences via Qt Serial Port, thus providing basic GPS positioning support for all desktop Windows versions. Task-number: QTBUG-48082 Change-Id: Ie053dffaaf76bc08b2b6148104fd981b0f1ccc6b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>