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.382 #define LE_GNSS_NMEA_MASK_GPZDA 0x800000/// PSIDX type enabled: SSI Proprietary data for accuracy387 //--------------------------------------------------------------------------------------------------391 //--------------------------------------------------------------------------------------------------404 //--------------------------------------------------------------------------------------------------408 //--------------------------------------------------------------------------------------------------423 //--------------------------------------------------------------------------------------------------427 //--------------------------------------------------------------------------------------------------444 //--------------------------------------------------------------------------------------------------448 //--------------------------------------------------------------------------------------------------452 //--------------------------------------------------------------------------------------------------457 //--------------------------------------------------------------------------------------------------459 (467 //--------------------------------------------------------------------------------------------------471 //--------------------------------------------------------------------------------------------------478 //--------------------------------------------------------------------------------------------------482 //--------------------------------------------------------------------------------------------------489 //--------------------------------------------------------------------------------------------------493 //--------------------------------------------------------------------------------------------------500 //--------------------------------------------------------------------------------------------------516 //--------------------------------------------------------------------------------------------------524 //--------------------------------------------------------------------------------------------------535 //--------------------------------------------------------------------------------------------------543 //--------------------------------------------------------------------------------------------------557 //--------------------------------------------------------------------------------------------------567 //--------------------------------------------------------------------------------------------------580 //--------------------------------------------------------------------------------------------------590 //--------------------------------------------------------------------------------------------------601 //--------------------------------------------------------------------------------------------------607 //--------------------------------------------------------------------------------------------------618 //--------------------------------------------------------------------------------------------------624 //--------------------------------------------------------------------------------------------------633 //--------------------------------------------------------------------------------------------------641 //--------------------------------------------------------------------------------------------------652 //--------------------------------------------------------------------------------------------------660 //--------------------------------------------------------------------------------------------------668 * @note If the caller is passing an invalid Position sample reference or null pointers into this671 //--------------------------------------------------------------------------------------------------681 //--------------------------------------------------------------------------------------------------690 * @note It is mandatory to enable the 'Extended Ephemeris' file injection into the GNSS device with693 //--------------------------------------------------------------------------------------------------703 //--------------------------------------------------------------------------------------------------714 //--------------------------------------------------------------------------------------------------720 //--------------------------------------------------------------------------------------------------731 * @warning This function may be subject to limitations depending on the platform. Please refer to734 //--------------------------------------------------------------------------------------------------742 //--------------------------------------------------------------------------------------------------753 //--------------------------------------------------------------------------------------------------759 //--------------------------------------------------------------------------------------------------768 * @Note This API can be used to restart the GNSS device. It is equivalent calling le_gnss_Stop()771 //--------------------------------------------------------------------------------------------------777 //--------------------------------------------------------------------------------------------------789 //--------------------------------------------------------------------------------------------------795 //--------------------------------------------------------------------------------------------------805 //--------------------------------------------------------------------------------------------------811 //--------------------------------------------------------------------------------------------------821 //--------------------------------------------------------------------------------------------------827 //--------------------------------------------------------------------------------------------------840 //--------------------------------------------------------------------------------------------------848 //--------------------------------------------------------------------------------------------------861 //--------------------------------------------------------------------------------------------------867 //--------------------------------------------------------------------------------------------------880 //--------------------------------------------------------------------------------------------------886 //--------------------------------------------------------------------------------------------------898 * @warning This function may be subject to limitations depending on the platform. Please refer to904 //--------------------------------------------------------------------------------------------------912 //--------------------------------------------------------------------------------------------------924 //--------------------------------------------------------------------------------------------------932 //--------------------------------------------------------------------------------------------------942 //--------------------------------------------------------------------------------------------------952 //--------------------------------------------------------------------------------------------------956 //--------------------------------------------------------------------------------------------------964 //--------------------------------------------------------------------------------------------------971 * @note If the caller is passing an invalid Position sample reference or a null pointer into this974 //--------------------------------------------------------------------------------------------------984 //--------------------------------------------------------------------------------------------------1008 //--------------------------------------------------------------------------------------------------1022 //--------------------------------------------------------------------------------------------------1031 * @note horUncEllipseSemiMajorPtr, horUncEllipseSemiMinorPtr and horConfidencePtr can be set to1036 * @note The confidence level is given in an integer percentage with values ranging from 0 to 99.1045 //--------------------------------------------------------------------------------------------------1059 //--------------------------------------------------------------------------------------------------1068 * @note Altitude is in meters, above Mean Sea Level, with 3 decimal places (3047 = 3.047 meters).1085 //--------------------------------------------------------------------------------------------------1097 //--------------------------------------------------------------------------------------------------1106 * @note If the caller is passing an invalid Position sample reference or null pointers into this1110 //--------------------------------------------------------------------------------------------------1126 //--------------------------------------------------------------------------------------------------1135 * @note If the caller is passing an invalid Position sample reference or null pointers into this1138 //--------------------------------------------------------------------------------------------------1150 //--------------------------------------------------------------------------------------------------1162 * @note If the caller is passing an invalid position sample reference or a null pointer into this1165 //--------------------------------------------------------------------------------------------------1175 //--------------------------------------------------------------------------------------------------1184 * @note If the caller is passing an invalid position sample reference or a null pointer into this1187 //--------------------------------------------------------------------------------------------------1197 //--------------------------------------------------------------------------------------------------1206 * @note The leap seconds in advance is the accumulated time in seconds since the start of GPS Epoch1209 * @note Insertion of each UTC leap second is usually decided about six months in advance by the1212 * @note If the caller is passing an invalid position sample reference or a null pointer into this1217 //--------------------------------------------------------------------------------------------------1227 //--------------------------------------------------------------------------------------------------1237 * @note Insertion of each UTC leap second is usually decided about six months in advance by the1243 * @note If the return value of a parameter is INT32_MAX/UINT64_MAX, the parameter is not valid.1245 //--------------------------------------------------------------------------------------------------1262 //--------------------------------------------------------------------------------------------------1271 * @note If the caller is passing an invalid Position sample reference or null pointers into this1274 //--------------------------------------------------------------------------------------------------1288 //--------------------------------------------------------------------------------------------------1298 * @note Horizontal speed is in meters/second with 2 decimal places (3047 = 30.47 meters/second).1300 * @note Horizontal speed accuracy estimate is default set to meters/second with 1 decimal place1314 //--------------------------------------------------------------------------------------------------1326 //--------------------------------------------------------------------------------------------------1354 //--------------------------------------------------------------------------------------------------1367 //--------------------------------------------------------------------------------------------------1369 * Get the position sample's direction. Direction of movement is the direction that the vehicle or1377 * @note Direction and direction accuracy are given in degrees with 1 decimal place: 1755 = 175.51389 //--------------------------------------------------------------------------------------------------1403 //--------------------------------------------------------------------------------------------------1425 //--------------------------------------------------------------------------------------------------1466 //--------------------------------------------------------------------------------------------------1471 //--------------------------------------------------------------------------------------------------1479 //--------------------------------------------------------------------------------------------------1494 //--------------------------------------------------------------------------------------------------1508 //--------------------------------------------------------------------------------------------------1523 //--------------------------------------------------------------------------------------------------1535 //--------------------------------------------------------------------------------------------------1547 * @note For a 2D position fix, the altitude with respect to the WGS-84 ellipsoid will be indicated1553 //--------------------------------------------------------------------------------------------------1564 //--------------------------------------------------------------------------------------------------1580 //--------------------------------------------------------------------------------------------------1590 //--------------------------------------------------------------------------------------------------1600 //--------------------------------------------------------------------------------------------------1606 //--------------------------------------------------------------------------------------------------1613 //--------------------------------------------------------------------------------------------------1621 //--------------------------------------------------------------------------------------------------1634 //--------------------------------------------------------------------------------------------------1642 //--------------------------------------------------------------------------------------------------1653 //--------------------------------------------------------------------------------------------------1661 //--------------------------------------------------------------------------------------------------1679 //--------------------------------------------------------------------------------------------------1687 //--------------------------------------------------------------------------------------------------1703 //--------------------------------------------------------------------------------------------------1716 //--------------------------------------------------------------------------------------------------1727 //--------------------------------------------------------------------------------------------------1736 //--------------------------------------------------------------------------------------------------1748 * @warning This function may be subject to limitations depending on the platform. Please refer to1758 //--------------------------------------------------------------------------------------------------1766 //--------------------------------------------------------------------------------------------------1784 //--------------------------------------------------------------------------------------------------1792 //--------------------------------------------------------------------------------------------------1797 //--------------------------------------------------------------------------------------------------1803 //--------------------------------------------------------------------------------------------------1816 //--------------------------------------------------------------------------------------------------1824 //--------------------------------------------------------------------------------------------------1836 //--------------------------------------------------------------------------------------------------1844 //--------------------------------------------------------------------------------------------------1857 //--------------------------------------------------------------------------------------------------1865 //--------------------------------------------------------------------------------------------------1877 //--------------------------------------------------------------------------------------------------1887 //--------------------------------------------------------------------------------------------------1899 //--------------------------------------------------------------------------------------------------1915 //--------------------------------------------------------------------------------------------------1925 //--------------------------------------------------------------------------------------------------1931 //--------------------------------------------------------------------------------------------------1940 //--------------------------------------------------------------------------------------------------1946 //--------------------------------------------------------------------------------------------------1955 //--------------------------------------------------------------------------------------------------1963 //--------------------------------------------------------------------------------------------------1970 //--------------------------------------------------------------------------------------------------1978 //--------------------------------------------------------------------------------------------------1985 //--------------------------------------------------------------------------------------------------1993 //--------------------------------------------------------------------------------------------------2000 //--------------------------------------------------------------------------------------------------2008 //--------------------------------------------------------------------------------------------------2015 //--------------------------------------------------------------------------------------------------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:459Definition: 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:449Estimated (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