aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/gpsd_iface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* gpsd: fix API for 'gps_read'Michael Dickens2019-05-211-0/+4
|
* gpsd: GPGGA string formatting fixesBen Kempke2018-12-201-4/+4
| | | | | - Add missing commas for empty fields - Zeroize longitude and latitude
* various: use "std::abs" instead of "std::fabs"Michael Dickens2018-12-121-5/+5
| | | | | | + better compiler compatibility + let the compiler figure out the actual function IO signature that makes sense, instead of forcing float.
* uhd: Remove usage of time_t (except when required)Martin Braun2018-08-201-1/+1
| | | | | | | | | | The C/C++ standards don't define what time_t is, only that it is arithmetic (and real for C11, and integral for C++). It should not be used in portable software and is only used as the return value for some libc calls. A common definition for time_t is int64_t, so we'll switch to that permanently in our own APIs. System APIs will of course stick with time_t.
* lib: Purge use of boost::assign, except for uhd::dictMartin Braun2018-05-021-5/+8
| | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* uhd: Replaced many lexical_cast with appropriate C++11 equivalentsMartin Braun2017-06-291-1/+0
|
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-1/+1
|
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-5/+5
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* lib: fixed GCC 6 warnings/errorsNicholas Corgan2016-06-211-3/+3
| | | | | * gpsd_iface: fixed ambiguity in boost::assign::list_of usage * b100/clock_ctrl: fixed "misleading indentation" warning
* gps: gpsd: Fix MSVC std::isnan() fail by using boost::math::isnan().Moritz Fischer2015-07-291-6/+7
| | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* gps: gpsd: Provide GPGGA sensor for backwards compatibility.Moritz Fischer2015-07-291-1/+62
| | | | | | | This commit introduces the "gps_gpgga" sensor and exposes it via the property tree. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* gps: gpsd: Provide GPRMC sensor for backwards compatibility.Moritz Fischer2015-07-291-1/+64
| | | | | | | This commit introduces the "gps_gprmc" sensor and exposes it via the property tree. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* gps: gpsd: Adding gpsd_iface to interface with gpsd.Moritz Fischer2015-07-291-0/+184
The gpsd_iface class might be useful for more than just e3x0, it therefore belongs into lib/usrp instead of lib/usrp/e300. A new UHD component is being registered, to cope with the additional dependency. If libgps is not found, UHD and E300 will be compiled without GPS support. This has several consequences: - The E310 GPSDO should now work transparently over network - Users can use the GPS through gpsd for other applications *while* running UHD applications - We now have a dependency on libgps We need currently at least version 3.11 (while running 3.14), on the device. Older versions do work if 3.10 runs on both sides e.g Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>