le_gnss_common.h
Go to the documentation of this file.
28 //--------------------------------------------------------------------------------------------------32 //--------------------------------------------------------------------------------------------------35 //--------------------------------------------------------------------------------------------------40 //--------------------------------------------------------------------------------------------------43 //--------------------------------------------------------------------------------------------------47 //--------------------------------------------------------------------------------------------------50 //--------------------------------------------------------------------------------------------------55 //--------------------------------------------------------------------------------------------------58 //--------------------------------------------------------------------------------------------------62 //--------------------------------------------------------------------------------------------------65 //--------------------------------------------------------------------------------------------------71 //--------------------------------------------------------------------------------------------------74 //--------------------------------------------------------------------------------------------------78 //--------------------------------------------------------------------------------------------------81 //--------------------------------------------------------------------------------------------------88 //--------------------------------------------------------------------------------------------------91 //--------------------------------------------------------------------------------------------------94 //--------------------------------------------------------------------------------------------------97 //--------------------------------------------------------------------------------------------------100 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------106 //--------------------------------------------------------------------------------------------------109 //--------------------------------------------------------------------------------------------------112 //--------------------------------------------------------------------------------------------------115 //--------------------------------------------------------------------------------------------------118 //--------------------------------------------------------------------------------------------------121 //--------------------------------------------------------------------------------------------------125 //--------------------------------------------------------------------------------------------------129 //--------------------------------------------------------------------------------------------------133 //--------------------------------------------------------------------------------------------------150 //--------------------------------------------------------------------------------------------------154 //--------------------------------------------------------------------------------------------------169 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------209 //--------------------------------------------------------------------------------------------------213 //--------------------------------------------------------------------------------------------------238 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------271 //--------------------------------------------------------------------------------------------------275 //--------------------------------------------------------------------------------------------------288 //--------------------------------------------------------------------------------------------------292 //--------------------------------------------------------------------------------------------------311 //--------------------------------------------------------------------------------------------------315 //--------------------------------------------------------------------------------------------------328 //--------------------------------------------------------------------------------------------------334 //--------------------------------------------------------------------------------------------------/// GPS constellation used in solution.345 #define LE_GNSS_CONSTELLATION_QZSS 0x20349 //--------------------------------------------------------------------------------------------------358 //--------------------------------------------------------------------------------------------------/// GPGGA type enabled: GPS fix data.362 #define LE_GNSS_NMEA_MASK_GPRMC 0x8/// GPVTG type enabled: GPS vector track and speed over the ground.370 #define LE_GNSS_NMEA_MASK_GARMC 0x800/// GAVTG type enabled: Galileo vector track and speed over the ground.375 #define LE_GNSS_NMEA_MASK_GPGRS 0x10000/// GPGLL type enabled: GPS Geographic position, latitude / longitude.377 #define LE_GNSS_NMEA_MASK_DEBUG 0x40000/// GPDTM type enabled: Local geodetic datum and datum offset from a380 #define LE_GNSS_NMEA_MASK_GPGNS 0x200000/// GPGST type enabled: Position Error statistics for GPS.381 #define LE_GNSS_NMEA_MASK_GPGST 0x400000/// GPZDA type enabled: UTC day, month, year, and local time zone offset.386 //--------------------------------------------------------------------------------------------------390 //--------------------------------------------------------------------------------------------------403 //--------------------------------------------------------------------------------------------------407 //--------------------------------------------------------------------------------------------------422 //--------------------------------------------------------------------------------------------------426 //--------------------------------------------------------------------------------------------------443 //--------------------------------------------------------------------------------------------------447 //--------------------------------------------------------------------------------------------------451 //--------------------------------------------------------------------------------------------------456 //--------------------------------------------------------------------------------------------------458 (466 //--------------------------------------------------------------------------------------------------470 //--------------------------------------------------------------------------------------------------477 //--------------------------------------------------------------------------------------------------481 //--------------------------------------------------------------------------------------------------488 //--------------------------------------------------------------------------------------------------492 //--------------------------------------------------------------------------------------------------499 //--------------------------------------------------------------------------------------------------515 //--------------------------------------------------------------------------------------------------523 //--------------------------------------------------------------------------------------------------534 //--------------------------------------------------------------------------------------------------542 //--------------------------------------------------------------------------------------------------556 //--------------------------------------------------------------------------------------------------566 //--------------------------------------------------------------------------------------------------579 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------600 //--------------------------------------------------------------------------------------------------606 //--------------------------------------------------------------------------------------------------617 //--------------------------------------------------------------------------------------------------623 //--------------------------------------------------------------------------------------------------634 //--------------------------------------------------------------------------------------------------642 //--------------------------------------------------------------------------------------------------650 * @note If the caller is passing an invalid Position sample reference or null pointers into this653 //--------------------------------------------------------------------------------------------------663 //--------------------------------------------------------------------------------------------------672 * @note It is mandatory to enable the 'Extended Ephemeris' file injection into the GNSS device with675 //--------------------------------------------------------------------------------------------------685 //--------------------------------------------------------------------------------------------------696 //--------------------------------------------------------------------------------------------------702 //--------------------------------------------------------------------------------------------------713 * @warning This function may be subject to limitations depending on the platform. Please refer to716 //--------------------------------------------------------------------------------------------------724 //--------------------------------------------------------------------------------------------------735 //--------------------------------------------------------------------------------------------------741 //--------------------------------------------------------------------------------------------------750 * @Note This API can be used to restart the GNSS device. It is equivalent calling le_gnss_Stop()753 //--------------------------------------------------------------------------------------------------759 //--------------------------------------------------------------------------------------------------771 //--------------------------------------------------------------------------------------------------777 //--------------------------------------------------------------------------------------------------787 //--------------------------------------------------------------------------------------------------793 //--------------------------------------------------------------------------------------------------803 //--------------------------------------------------------------------------------------------------809 //--------------------------------------------------------------------------------------------------822 //--------------------------------------------------------------------------------------------------830 //--------------------------------------------------------------------------------------------------843 //--------------------------------------------------------------------------------------------------849 //--------------------------------------------------------------------------------------------------862 //--------------------------------------------------------------------------------------------------868 //--------------------------------------------------------------------------------------------------880 * @warning This function may be subject to limitations depending on the platform. Please refer to886 //--------------------------------------------------------------------------------------------------894 //--------------------------------------------------------------------------------------------------906 //--------------------------------------------------------------------------------------------------914 //--------------------------------------------------------------------------------------------------924 //--------------------------------------------------------------------------------------------------934 //--------------------------------------------------------------------------------------------------938 //--------------------------------------------------------------------------------------------------946 //--------------------------------------------------------------------------------------------------953 * @note If the caller is passing an invalid Position sample reference or a null pointer into this956 //--------------------------------------------------------------------------------------------------966 //--------------------------------------------------------------------------------------------------990 //--------------------------------------------------------------------------------------------------1004 //--------------------------------------------------------------------------------------------------1013 * @note Altitude is in meters, above Mean Sea Level, with 3 decimal places (3047 = 3.047 meters).1030 //--------------------------------------------------------------------------------------------------1042 //--------------------------------------------------------------------------------------------------1051 * @note If the caller is passing an invalid Position sample reference or null pointers into this1055 //--------------------------------------------------------------------------------------------------1071 //--------------------------------------------------------------------------------------------------1080 * @note If the caller is passing an invalid Position sample reference or null pointers into this1083 //--------------------------------------------------------------------------------------------------1095 //--------------------------------------------------------------------------------------------------1107 * @note If the caller is passing an invalid position sample reference or a null pointer into this1110 //--------------------------------------------------------------------------------------------------1120 //--------------------------------------------------------------------------------------------------1129 * @note If the caller is passing an invalid position sample reference or a null pointer into this1132 //--------------------------------------------------------------------------------------------------1142 //--------------------------------------------------------------------------------------------------1151 * @note The leap seconds in advance is the accumulated time in seconds since the start of GPS Epoch1154 * @note Insertion of each UTC leap second is usually decided about six months in advance by the1157 * @note If the caller is passing an invalid position sample reference or a null pointer into this1162 //--------------------------------------------------------------------------------------------------1172 //--------------------------------------------------------------------------------------------------1182 * @note Insertion of each UTC leap second is usually decided about six months in advance by the1188 * @note If the return value of a parameter is INT32_MAX/UINT64_MAX, the parameter is not valid.1190 //--------------------------------------------------------------------------------------------------1207 //--------------------------------------------------------------------------------------------------1216 * @note If the caller is passing an invalid Position sample reference or null pointers into this1219 //--------------------------------------------------------------------------------------------------1233 //--------------------------------------------------------------------------------------------------1243 * @note Horizontal speed is in meters/second with 2 decimal places (3047 = 30.47 meters/second).1245 * @note Horizontal speed accuracy estimate is default set to meters/second with 1 decimal place1259 //--------------------------------------------------------------------------------------------------1271 //--------------------------------------------------------------------------------------------------1299 //--------------------------------------------------------------------------------------------------1312 //--------------------------------------------------------------------------------------------------1314 * Get the position sample's direction. Direction of movement is the direction that the vehicle or1322 * @note Direction and direction accuracy are given in degrees with 1 decimal place: 1755 = 175.51334 //--------------------------------------------------------------------------------------------------1348 //--------------------------------------------------------------------------------------------------1370 //--------------------------------------------------------------------------------------------------1411 //--------------------------------------------------------------------------------------------------1416 //--------------------------------------------------------------------------------------------------1424 //--------------------------------------------------------------------------------------------------1439 //--------------------------------------------------------------------------------------------------1453 //--------------------------------------------------------------------------------------------------1468 //--------------------------------------------------------------------------------------------------1480 //--------------------------------------------------------------------------------------------------1492 * @note For a 2D position fix, the altitude with respect to the WGS-84 ellipsoid will be indicated1498 //--------------------------------------------------------------------------------------------------1509 //--------------------------------------------------------------------------------------------------1525 //--------------------------------------------------------------------------------------------------1535 //--------------------------------------------------------------------------------------------------1545 //--------------------------------------------------------------------------------------------------1551 //--------------------------------------------------------------------------------------------------1558 //--------------------------------------------------------------------------------------------------1566 //--------------------------------------------------------------------------------------------------1579 //--------------------------------------------------------------------------------------------------1587 //--------------------------------------------------------------------------------------------------1598 //--------------------------------------------------------------------------------------------------1606 //--------------------------------------------------------------------------------------------------1624 //--------------------------------------------------------------------------------------------------1632 //--------------------------------------------------------------------------------------------------1648 //--------------------------------------------------------------------------------------------------1661 //--------------------------------------------------------------------------------------------------1672 //--------------------------------------------------------------------------------------------------1681 //--------------------------------------------------------------------------------------------------1693 * @warning This function may be subject to limitations depending on the platform. Please refer to1703 //--------------------------------------------------------------------------------------------------1711 //--------------------------------------------------------------------------------------------------1729 //--------------------------------------------------------------------------------------------------1737 //--------------------------------------------------------------------------------------------------1742 //--------------------------------------------------------------------------------------------------1748 //--------------------------------------------------------------------------------------------------1761 //--------------------------------------------------------------------------------------------------1769 //--------------------------------------------------------------------------------------------------1781 //--------------------------------------------------------------------------------------------------1789 //--------------------------------------------------------------------------------------------------1802 //--------------------------------------------------------------------------------------------------1810 //--------------------------------------------------------------------------------------------------1822 //--------------------------------------------------------------------------------------------------1832 //--------------------------------------------------------------------------------------------------1844 //--------------------------------------------------------------------------------------------------1860 //--------------------------------------------------------------------------------------------------1870 //--------------------------------------------------------------------------------------------------1876 //--------------------------------------------------------------------------------------------------1885 //--------------------------------------------------------------------------------------------------1891 //--------------------------------------------------------------------------------------------------1900 //--------------------------------------------------------------------------------------------------1908 //--------------------------------------------------------------------------------------------------1915 //--------------------------------------------------------------------------------------------------1923 //--------------------------------------------------------------------------------------------------1930 //--------------------------------------------------------------------------------------------------1938 //--------------------------------------------------------------------------------------------------1945 //--------------------------------------------------------------------------------------------------1953 //--------------------------------------------------------------------------------------------------1960 //--------------------------------------------------------------------------------------------------Definition: le_gnss_common.h:262GNSS constellation field not defined.Definition: le_gnss_common.h:245Definition: le_gnss_common.h:222Definition: le_gnss_common.h:225Definition: le_gnss_common.h:253Definition: le_gnss_common.h:219Definition: le_gnss_common.h:231le_gnss_SbasConstellationCategory_tDefinition: le_gnss_common.h:214void(* le_gnss_PositionHandlerFunc_t)(le_gnss_SampleRef_t positionSampleRef, void *contextPtr)Definition: le_gnss_common.h:458Definition: le_gnss_common.h:259Definition: le_gnss_common.h:250Definition: le_gnss_common.h:216struct le_gnss_PositionHandler * le_gnss_PositionHandlerRef_tDefinition: le_gnss_common.h:448Estimated (i.e. forward predicted) position fix.Definition: le_gnss_common.h:163Definition: le_gnss_common.h:256Definition: le_gnss_common.h:247Definition: le_gnss_common.h:228