Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
#include "common.h"
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  loc_LocApplicationInfo
 
struct  loc_LocGNSSPowerMode
 
struct  loc_SV
 
struct  loc_SVInfo
 
struct  loc_GnssData
 
struct  loc_CellDb
 
struct  loc_ClkInfo
 
struct  loc_BdsSV
 
struct  loc_BdsSVInfo
 
struct  pack_loc_EventRegister_t
 
struct  unpack_loc_EventRegister_t
 
struct  pack_loc_SetExtPowerState_t
 
struct  unpack_loc_SetExtPowerState_t
 
struct  pack_loc_Start_t
 
struct  unpack_loc_Start_t
 
struct  pack_loc_Stop_t
 
struct  unpack_loc_Stop_t
 
struct  pack_loc_SetOperationMode_t
 
struct  unpack_loc_SetOperationMode_t
 
struct  pack_loc_Delete_Assist_Data_t
 
struct  unpack_loc_Delete_Assist_Data_t
 
struct  loc_precisionDilution
 
struct  loc_sensorDataUsage
 
struct  loc_svUsedforFix
 
struct  loc_extendedPrecisionDilution
 
struct  loc_diffCorrectionSourceID
 
struct  loc_velocity
 
struct  loc_svsSignalTypes
 
struct  loc_jammerIndicator
 
struct  loc_jammerIndicatorList
 
struct  loc_satelliteSignalTypes
 
struct  loc_expandedSVs
 
struct  loc_gpsTime
 
struct  unpack_loc_PositionRpt_Ind_t
 
struct  unpack_loc_EngineState_Ind_t
 
struct  unpack_loc_SetExtPowerConfig_Ind_t
 
struct  unpack_loc_SLQSLOCGetBestAvailPos_t
 
struct  pack_loc_SLQSLOCGetBestAvailPos_t
 
struct  unpack_loc_BestAvailPos_Ind_t
 
struct  unpack_loc_SetOperationMode_Ind_t
 
struct  unpack_loc_DeleteAssistData_Ind_t
 
struct  loc_satelliteInfo
 
struct  loc_satelliteInfoList
 
struct  unpack_loc_GnssSvInfo_Ind_t
 
struct  pack_loc_SLQSLOCInjectUTCTime_t
 
struct  altSrcInfo_t
 
struct  pack_loc_SLQSLOCInjectPosition_t
 
struct  pack_loc_SLQSLOCSetCradleMountConfig_t
 
struct  sensorData_t
 
struct  tempData_t
 
struct  pack_loc_SLQSLOCInjectSensorData_t
 
struct  unpack_loc_EventNMEA_Ind_t
 
struct  pack_loc_SLQSLOCGetServer_t
 
struct  loc_IPv4Info
 
struct  loc_IPv6Info
 
struct  loc_urlAddr
 
struct  unpack_loc_GetServer_Ind_t
 
struct  unpack_loc_CradleMountCallback_Ind_t
 
struct  unpack_loc_EventTimeSyncCallback_Ind_t
 
struct  unpack_loc_InjectTimeSyncDataCallback_Ind_t
 
struct  unpack_loc_InjectSensorDataCallback_Ind_t
 
struct  loc_accelAcceptReady
 
struct  loc_gyroAcceptReady
 
struct  loc_accelTempAcceptReady
 
struct  loc_gyroTempAcceptReady
 
struct  unpack_loc_SensorStreamingCallback_Ind_t
 
struct  unpack_loc_InjectUTCTimeCallback_Ind_t
 
struct  unpack_loc_InjectPositionCallback_Ind_t
 
struct  loc_IPv4Config
 
struct  loc_IPv6Config
 
struct  loc_URLAddrInfo
 
struct  pack_loc_SLQSLOCSetServer_t
 
struct  unpack_loc_SetServer_Ind_t
 
struct  unpack_loc_Event_Wifi_Req_Ind_t
 
struct  pack_loc_NmeaTypes_t
 
struct  unpack_loc_SetNmeaTypes_Ind_t
 
struct  unpack_loc_GetNmeaTypes_Ind_t
 
struct  unpack_loc_EventInjectTime_Ind_t
 
struct  unpack_loc_EventInjectTime_t
 
struct  pack_loc_RegisterMasterClient_t
 
struct  unpack_loc_RegisterMasterClient_t
 
struct  unpack_loc_RegisterMasterClient_Ind_t
 
struct  pack_loc_InjectSuplCertificate_t
 
struct  unpack_loc_InjectSuplCertificate_t
 
struct  pack_loc_DeleteSuplCertificate_t
 
struct  unpack_loc_DeleteSuplCertificate_t
 
struct  unpack_loc_InjectSuplCertificate_Ind_t
 
struct  unpack_loc_DeleteSuplCertificate_Ind_t
 
struct  pack_loc_SetGnssConstellReportConfig_t
 
struct  unpack_loc_NiGeofenceInd_t
 
struct  unpack_loc_GeofenceGenAlertInd_t
 
struct  QmiGeofencePosition_t
 
struct  unpack_loc_GeofenceBreachInd_t
 
struct  unpack_loc_GeofenceProximityInd_t
 
struct  CircularGeofenceArguments_t
 
struct  pack_loc_GeofenceAddCircularReq_t
 
struct  unpack_loc_GeofenceAddCircularInd_t
 
struct  pack_loc_GeofenceDeleteReq_t
 
struct  unpack_loc_GeofenceDeleteInd_t
 
struct  pack_loc_GeofenceQueryReq_t
 
struct  unpack_loc_GeofenceQueryInd_t
 
struct  pack_loc_GeofenceEditReq_t
 
struct  unpack_loc_GeofenceEditInd_t
 
struct  pack_loc_GetNiGeofenceIdListReq_t
 
struct  QmiGeofenceNiGeofenceIDList_t
 
struct  unpack_loc_GeofenceNiGetIdListInd_t
 
struct  GeofenceMotionStateSpeedInfo_t
 
struct  GeofenceMotionInfo_t
 
struct  pack_loc_GeofenceSetEngineConfigReq_t
 
struct  pack_loc_GeofenceGetEngineConfigReq_t
 
struct  unpack_loc_GeofenceSetEngineConfigInd_t
 
struct  unpack_loc_GeofenceGetEngineConfigInd_t
 
struct  Geofence_SsidString_t
 
struct  Geofence_WifiApSsidStringList_t
 
struct  Geofence_WifiApMacStringList_t
 
struct  Geofence_TDSCDMACellIDList_t
 
struct  Geofence_WCDMACellID_t
 
struct  Geofence_WCDMACellIDList_t
 
struct  Geofence_GSMCellID_t
 
struct  Geofence_GSMCellIDList_t
 
struct  Geofence_IBeacon_t
 
struct  Geofence_IBeaconList_t
 
struct  pack_loc_GeofenceAddContextReq_t
 
struct  unpack_loc_GeofenceAddContextInd_t
 
struct  pack_loc_GeofenceSetEngineContextReq_t
 
struct  unpack_loc_GeofenceSetEngineContextInd_t
 
struct  pack_loc_GeofenceDeleteContextReq_t
 
struct  unpack_loc_GeofenceDeleteContextInd_t
 
struct  QmiGeofenceIdLH_t
 
struct  QmiGeofenceId_t
 
struct  GeofenceIdDiscrete_t
 
struct  GeofencePosition_t
 
struct  DilutionOfPrecision_t
 
struct  ExpSVsUsedCalculateFix_t
 
struct  SatelliteSignalTypes_t
 
struct  SVsUsedCalculateFix_t
 
struct  ExtDilutionOfPrecision_t
 
struct  unpack_loc_GeofenceBatchedDwellInd_t
 
struct  unpack_loc_SetGnssConstellReportConfig_Ind_t
 
struct  loc_GNSSReceiverClockFreqInfo
 
struct  loc_LeapSecondInformation
 
struct  loc_GpsIntersysTimeBias
 
struct  loc_SatelliteSysTimeInfo
 
struct  loc_GlonassSystemTimeInfo
 
struct  loc_ExtendedTimeInfo
 
struct  SatelliteSysMeasReportEnabledConst
 
struct  loc_SatelliteSysMeasReportEnabledConstList
 
struct  loc_SvCarrierPhaseMeasurment
 
struct  GPSIntrasysTimeBias
 
struct  loc_OtherCodeTypeName
 
struct  MeasurementReportExtSVs
 
struct  loc_MeasurementReportExtSVsList
 
struct  loc_CarrierPhaseMeasuUncerExtSVs
 
struct  unpack_loc_QmiCbkLocEventGnssMeasurementReportInd_t
 

Macros

#define LOC_UINT8_MAX_STRING_SZ   255
 
#define LOC_MAX_DGNSS_STATIONID   32
 
#define LOC_MAX_GNSS_USEDSIGNALTYPE   32
 
#define LOC_MAX_JAMMERINDICATOR   20
 
#define LOCEVENTMASKPOSITIONREPORT   0x00000001
 
#define LOCEVENTMASKGNSSSVINFO   0x00000002
 
#define LOCEVENTMASKNMEA   0x00000004
 
#define LOCEVENTMASKNINOTIFYVERIFYREQ   0x00000008
 
#define LOCEVENTMASKINJECTTIMEREQ   0x00000010
 
#define LOCEVENTMASKINJECTPREDICTEDORBITSREQ   0x00000020
 
#define LOCEVENTMASKINJECTPOSITIONREQ   0x00000040
 
#define LOCEVENTMASKENGINESTATE   0x00000080
 
#define LOCEVENTMASKFIXSESSIONSTATE   0x00000100
 
#define LOCEVENTMASKWIFIREQ   0x00000200
 
#define LOCEVENTMASKSENSORSTREAMINGREADYSTATUS   0x00000400
 
#define LOCEVENTMASKTIMESYNCREQ   0x00000800
 
#define LOCEVENTMASKSETSPISTREAMINGREPORT   0x00001000
 
#define LOCEVENTMASKLOCATIONSERVERCONNECTIONREQ   0x00002000
 
#define LOCEVENTMASKNIGEOFENCENOTIFICATION   0x00004000
 
#define LOCEVENTMASKGEOFENCEGENALERT   0x00008000
 
#define LOCEVENTMASKGEOFENCEBREACHNOTIFICATION   0x00010000
 
#define LOCEVENTMASKPEDOMETERCONTROL   0x00020000
 
#define LOCEVENTMASKMOTIONDATACONTROL   0x00040000
 
#define LOCEVENTMASKBATCHFULLNOTIFICATION   0x00080000
 
#define LOCEVENTMASKLIVEBATCHEDPOSITIONREPORT   0x00100000
 
#define LOCEVENTMASKINJECTWIFIAPDATAREQ   0x00200000
 
#define LOCEVENTMASKGEOFENCEBATCHBREACHNOTIFICATION   0x00400000
 
#define LOCEVENTMASKVEHICLEDATAREADYSTATUS   0x00800000
 
#define LOCEVENTMASKGNSSMEASUREMENTREPORT   0x01000000
 
#define LOCEVENTMASKINVALIDVALUE   0xFFFFFFFF
 
#define MAX_SENSOR_DATA_LEN   64
 
#define MAX_TEMP_DATA_LEN   64
 
#define MAX_LOC_NMEA_STR_LEN   201
 
#define MAX_Expanded_SVS   16
 
#define MAX_SATELLITES_SIGNAL_TYPES   20
 

Typedefs

typedef unpack_result_t unpack_loc_SLQSLOCInjectUTCTime_t
 
typedef unpack_result_t unpack_loc_SLQSLOCInjectPosition_t
 
typedef unpack_result_t unpack_loc_SLQSLOCSetCradleMountConfig_t
 
typedef unpack_result_t unpack_loc_SLQSLOCInjectSensorData_t
 
typedef unpack_result_t unpack_loc_SLQSLOCGetServer_t
 
typedef unpack_result_t unpack_loc_NmeaTypes_t
 
typedef unpack_result_t unpack_loc_GnssConstellReportConfig_t
 
typedef unpack_result_t unpack_loc_GeofenceAddCircularReq_t
 
typedef unpack_result_t unpack_loc_GeofenceDeleteResp_t
 
typedef unpack_result_t unpack_loc_GeofenceQueryResp_t
 
typedef unpack_result_t unpack_loc_GeofenceEditResp_t
 
typedef unpack_result_t unpack_loc_GetNiGeofenceIdListReq_t
 
typedef unpack_result_t unpack_loc_GeofenceSetEngineConfigResp_t
 
typedef unpack_result_t unpack_loc_GeofenceGetEngineConfigResp_t
 
typedef unpack_result_t unpack_loc_GeofenceAddContextResp_t
 
typedef unpack_result_t unpack_loc_GeofenceSetEngineContextResp_t
 
typedef unpack_result_t unpack_loc_GeofenceDeleteContextResp_t
 

Enumerations

enum  { eQMI_LOC_SESS_STATUS_SUCCESS =0, eQMI_LOC_SESS_STATUS_IN_PROGRESS =1, eQMI_LOC_SESS_STATUS_FAILURE =2, eQMI_LOC_SESS_STATUS_TIMEOUT =3 }
 
enum  {
  QMI_LOC_NMEA_MASK_GGA = 0x00000001, QMI_LOC_NMEA_MASK_RMC = 0x00000002, QMI_LOC_NMEA_MASK_GSV = 0x00000004, QMI_LOC_NMEA_MASK_GSA = 0x00000008,
  QMI_LOC_NMEA_MASK_VTG = 0x00000010, QMI_LOC_NMEA_MASK_PQXFI = 0x00000020, QMI_LOC_NMEA_MASK_PSTIS = 0x00000040, QMI_LOC_NMEA_MASK_GLGSV = 0x00000080,
  QMI_LOC_NMEA_MASK_GNGSA = 0x00000100, QMI_LOC_NMEA_MASK_GNGNS = 0x00000200, QMI_LOC_NMEA_MASK_GARMC = 0x00000400, QMI_LOC_NMEA_MASK_GAGSV = 0x00000800,
  QMI_LOC_NMEA_MASK_GAGSA = 0x00001000, QMI_LOC_NMEA_MASK_GAVTG = 0x00002000, QMI_LOC_NMEA_MASK_GAGGA = 0x00004000, QMI_LOC_NMEA_MASK_PQGSA = 0x00008000,
  QMI_LOC_NMEA_MASK_PQGSV = 0x00010000, QMI_LOC_NMEA_MASK_DEBUG = 0x00020000, QMI_LOC_NMEA_MASK_GPDTM = 0x00040000, QMI_LOC_NMEA_MASK_GNGGA = 0x00080000,
  QMI_LOC_NMEA_MASK_GNRMC = 0x00100000, QMI_LOC_NMEA_MASK_GNVTG = 0x00200000, QMI_LOC_NMEA_MASK_GAGNS = 0x00400000, QMI_LOC_NMEA_MASK_GBGGA = 0x00800000,
  QMI_LOC_NMEA_MASK_GBGSA = 0x01000000, QMI_LOC_NMEA_MASK_GBGSV = 0x02000000, QMI_LOC_NMEA_MASK_GBRMC = 0x04000000, QMI_LOC_NMEA_MASK_GBVTG = 0x08000000,
  QMI_LOC_NMEA_MASK_GQGSV = 0x10000000, QMI_LOC_NMEA_MASK_GIGSV = 0x20000000, QMI_LOC_NMEA_MASK_GNDTM = 0x40000000
}
 

Functions

int pack_loc_EventRegister (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_EventRegister_t *reqArg)
 
int unpack_loc_EventRegister (uint8_t *pResp, uint16_t respLen, unpack_loc_EventRegister_t *pOutput)
 
int pack_loc_SetExtPowerState (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SetExtPowerState_t *reqArg)
 
int unpack_loc_SetExtPowerState (uint8_t *pResp, uint16_t respLen, unpack_loc_SetExtPowerState_t *pOutput)
 
int pack_loc_Start (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_Start_t *reqArg)
 
int unpack_loc_Start (uint8_t *pResp, uint16_t respLen, unpack_loc_Start_t *pOutput)
 
int pack_loc_Stop (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_Stop_t *reqArg)
 
int unpack_loc_Stop (uint8_t *pResp, uint16_t respLen, unpack_loc_Stop_t *pOutput)
 
int pack_loc_SetOperationMode (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SetOperationMode_t *reqArg)
 
int unpack_loc_SetOperationMode (uint8_t *pResp, uint16_t respLen, unpack_loc_SetOperationMode_t *pOutput)
 
int pack_loc_DeleteAssistData (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_Delete_Assist_Data_t *reqArg)
 
int unpack_loc_DeleteAssistData (uint8_t *pResp, uint16_t respLen, unpack_loc_Delete_Assist_Data_t *pOutput)
 
int unpack_loc_PositionRpt_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_PositionRpt_Ind_t *pOutput)
 
int unpack_loc_EngineState_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_EngineState_Ind_t *pOutput)
 
int unpack_loc_SetExtPowerConfig_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_SetExtPowerConfig_Ind_t *pOutput)
 
int pack_loc_SLQSLOCGetBestAvailPos (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SLQSLOCGetBestAvailPos_t *reqArg)
 
int unpack_loc_SLQSLOCGetBestAvailPos (uint8_t *pResp, uint16_t respLen, unpack_loc_SLQSLOCGetBestAvailPos_t *pOutput)
 
int unpack_loc_BestAvailPos_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_BestAvailPos_Ind_t *pOutput)
 
int unpack_loc_SetOperationMode_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_SetOperationMode_Ind_t *pOutput)
 
int unpack_loc_DeleteAssistData_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_DeleteAssistData_Ind_t *pOutput)
 
int unpack_loc_GnssSvInfo_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GnssSvInfo_Ind_t *pOutput)
 
int pack_loc_SLQSLOCInjectUTCTime (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SLQSLOCInjectUTCTime_t *reqArg)
 
int unpack_loc_SLQSLOCInjectUTCTime (uint8_t *pResp, uint16_t respLen, unpack_loc_SLQSLOCInjectUTCTime_t *pOutput)
 
int pack_loc_SLQSLOCInjectPosition (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SLQSLOCInjectPosition_t *reqArg)
 
int unpack_loc_SLQSLOCInjectPosition (uint8_t *pResp, uint16_t respLen, unpack_loc_SLQSLOCInjectPosition_t *pOutput)
 
int pack_loc_SLQSLOCSetCradleMountConfig (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SLQSLOCSetCradleMountConfig_t *reqArg)
 
int unpack_loc_SLQSLOCSetCradleMountConfig (uint8_t *pResp, uint16_t respLen, unpack_loc_SLQSLOCSetCradleMountConfig_t *pOutput)
 
int pack_loc_SLQSLOCInjectSensorData (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SLQSLOCInjectSensorData_t *reqArg)
 
int unpack_loc_SLQSLOCInjectSensorData (uint8_t *pResp, uint16_t respLen, unpack_loc_SLQSLOCInjectSensorData_t *pOutput)
 
int unpack_loc_EventNMEA_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_EventNMEA_Ind_t *pOutput)
 
int pack_loc_SLQSLOCGetServer (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SLQSLOCGetServer_t *reqArg)
 
int unpack_loc_SLQSLOCGetServer (uint8_t *pResp, uint16_t respLen, unpack_loc_SLQSLOCGetServer_t *pOutput)
 
int unpack_loc_GetServer_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GetServer_Ind_t *pOutput)
 
int unpack_loc_CradleMountCallback_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_CradleMountCallback_Ind_t *pOutput)
 
int unpack_loc_EventTimeSyncCallback_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_EventTimeSyncCallback_Ind_t *pOutput)
 
int unpack_loc_InjectTimeSyncDataCallback_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_InjectTimeSyncDataCallback_Ind_t *pOutput)
 
int unpack_loc_InjectSensorDataCallback_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_InjectSensorDataCallback_Ind_t *pOutput)
 
int unpack_loc_SensorStreamingCallback_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_SensorStreamingCallback_Ind_t *pOutput)
 
int unpack_loc_InjectUTCTimeCallback_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_InjectUTCTimeCallback_Ind_t *pOutput)
 
int unpack_loc_InjectPositionCallback_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_InjectPositionCallback_Ind_t *pOutput)
 
int pack_loc_SLQSLOCSetServer (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SLQSLOCSetServer_t *reqArg)
 
int unpack_loc_SLQSLOCSetServer (uint8_t *pResp, uint16_t respLen)
 
int unpack_loc_SetServer_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_SetServer_Ind_t *pOutput)
 
int unpack_loc_Event_Wifi_Req_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_Event_Wifi_Req_Ind_t *pOutput)
 
int pack_loc_SetNmeaTypes (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_NmeaTypes_t *reqArg)
 
int unpack_loc_SetNmeaTypes (uint8_t *pResp, uint16_t respLen, unpack_loc_NmeaTypes_t *pOutput)
 
int unpack_loc_SetNmeaTypes_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_SetNmeaTypes_Ind_t *pOutput)
 
int pack_loc_GetNmeaTypes (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_loc_GetNmeaTypes (uint8_t *pResp, uint16_t respLen, unpack_loc_NmeaTypes_t *pOutput)
 
int unpack_loc_GetNmeaTypes_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GetNmeaTypes_Ind_t *pOutput)
 
int pack_loc_EventInjectTime (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_loc_EventInjectTime_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_EventInjectTime_Ind_t *pOutput)
 
int pack_loc_RegisterMasterClient (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_RegisterMasterClient_t *reqArg)
 
int unpack_loc_RegisterMasterClient (uint8_t *pResp, uint16_t respLen, unpack_loc_RegisterMasterClient_t *pOutput)
 
int unpack_loc_RegisterMasterClient_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_RegisterMasterClient_Ind_t *pOutput)
 
int pack_loc_InjectSuplCertificate (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_InjectSuplCertificate_t *reqArg)
 
int unpack_loc_InjectSuplCertificate (uint8_t *pResp, uint16_t respLen, unpack_loc_InjectSuplCertificate_t *pOutput)
 
int pack_loc_DeleteSuplCertificate (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_DeleteSuplCertificate_t *pReqArg)
 
int unpack_loc_DeleteSuplCertificate (uint8_t *pResp, uint16_t respLen, unpack_loc_DeleteSuplCertificate_t *pOutput)
 
int unpack_loc_InjectSuplCertificate_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_InjectSuplCertificate_Ind_t *pOutput)
 
int unpack_loc_DeleteSuplCertificate_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_DeleteSuplCertificate_Ind_t *pOutput)
 
int pack_loc_SetGnssConstellReportConfig (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_SetGnssConstellReportConfig_t *reqArg)
 
int unpack_loc_SetGnssConstellReportConfig (uint8_t *pResp, uint16_t respLen, unpack_loc_GnssConstellReportConfig_t *pOutput)
 
int unpack_loc_NiGeofenceNotification_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_NiGeofenceInd_t *pOutput)
 
int unpack_loc_GeofenceGerAlert_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceGenAlertInd_t *pOutput)
 
int unpack_loc_GeofenceBreach_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceBreachInd_t *pOutput)
 
int unpack_loc_GeofenceProximity_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceProximityInd_t *pOutput)
 
int pack_loc_GeofenceAddCircular (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceAddCircularReq_t *reqArg)
 
int unpack_loc_pack_loc_GeofenceAddCircular (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceAddCircularReq_t *pOutput)
 
int unpack_loc_GeofenceAddCircular_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceAddCircularInd_t *pOutput)
 
int pack_loc_GeofenceDelete (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceDeleteReq_t *reqArg)
 
int unpack_loc_GeofenceDelete (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceDeleteResp_t *pOutput)
 
int unpack_loc_GeofenceDelete_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceDeleteInd_t *pOutput)
 
int pack_loc_GeofenceQuery (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceQueryReq_t *reqArg)
 
int unpack_loc_GeofenceQuery (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceQueryResp_t *pOutput)
 
int unpack_loc_GeofenceQuery_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceQueryInd_t *pOutput)
 
int pack_loc_GeofenceEdit (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceEditReq_t *reqArg)
 
int unpack_loc_GeofenceEdit (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceEditResp_t *pOutput)
 
int unpack_loc_GeofenceEdit_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceEditInd_t *pOutput)
 
int pack_loc_GetNiGeofenceIdList (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GetNiGeofenceIdListReq_t *reqArg)
 
int unpack_loc_GetNiGeofenceIdList (uint8_t *pResp, uint16_t respLen, unpack_loc_GetNiGeofenceIdListReq_t *pOutput)
 
int unpack_loc_GeofenceNiGetIdList_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceNiGetIdListInd_t *pOutput)
 
int pack_loc_GeofenceSetEngineConfig (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceSetEngineConfigReq_t *reqArg)
 
int unpack_loc_GeofenceSetEngineConfig (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceSetEngineConfigResp_t *pOutput)
 
int pack_loc_GeofenceGetEngineConfig (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceGetEngineConfigReq_t *reqArg)
 
int unpack_loc_GeofenceGetEnginConfig (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceGetEngineConfigResp_t *pOutput)
 
int unpack_loc_GeofenceSetEngineConfig_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceSetEngineConfigInd_t *pOutput)
 
int unpack_loc_GeofenceGetEngineConfig_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceGetEngineConfigInd_t *pOutput)
 
int pack_loc_GeofenceAddContext (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceAddContextReq_t *reqArg)
 
int unpack_loc_GeofenceAddContext (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceAddContextResp_t *pOutput)
 
int unpack_loc_GeofenceAddContext_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceAddContextInd_t *pOutput)
 
int pack_loc_GeofenceSetEngineContext (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceSetEngineContextReq_t *reqArg)
 
int unpack_loc_GeofenceSetEngineContext (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceSetEngineContextResp_t *pOutput)
 
int unpack_loc_GeofenceSetEngineContext_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceSetEngineContextInd_t *pOutput)
 
int pack_loc_GeofenceDeleteContext (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_loc_GeofenceDeleteContextReq_t *reqArg)
 
int unpack_loc_GeofenceDeleteContext (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceDeleteContextResp_t *pOutput)
 
int unpack_loc_GeofenceDeleteContext_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceDeleteContextInd_t *pOutput)
 
int unpack_loc_GeofenceBatchedDwell_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_GeofenceBatchedDwellInd_t *pOutput)
 
int unpack_loc_SetGnssConstellReportConfig_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_SetGnssConstellReportConfig_Ind_t *pOutput)
 
int unpack_loc_EventGnssMeasurementReport_Ind (uint8_t *pResp, uint16_t respLen, unpack_loc_QmiCbkLocEventGnssMeasurementReportInd_t *pOutput)
 

Macro Definition Documentation

◆ LOC_MAX_DGNSS_STATIONID

#define LOC_MAX_DGNSS_STATIONID   32

maximum number of GNSS station ID buffer

◆ LOC_MAX_GNSS_USEDSIGNALTYPE

#define LOC_MAX_GNSS_USEDSIGNALTYPE   32

maximum number of GNSS used signal type buffer

◆ LOC_MAX_JAMMERINDICATOR

#define LOC_MAX_JAMMERINDICATOR   20

maximum number of jammer indicator buffer

◆ LOC_UINT8_MAX_STRING_SZ

#define LOC_UINT8_MAX_STRING_SZ   255

maximum string size

◆ LOCEVENTMASKBATCHFULLNOTIFICATION

#define LOCEVENTMASKBATCHFULLNOTIFICATION   0x00080000

The control point must enable this mask to receive notification when a batch is full. The location engine sends this event to notify of Batch Full for ongoing batching session.

◆ LOCEVENTMASKENGINESTATE

#define LOCEVENTMASKENGINESTATE   0x00000080

The control point must enable this mask to receive engine state report event indications.

◆ LOCEVENTMASKFIXSESSIONSTATE

#define LOCEVENTMASKFIXSESSIONSTATE   0x00000100

The control point must enable this mask to receive fix session status report event indications.

◆ LOCEVENTMASKGEOFENCEBATCHBREACHNOTIFICATION

#define LOCEVENTMASKGEOFENCEBATCHBREACHNOTIFICATION   0x00400000

The control point must enable this mask to receive notifications when a Geofence is breached. These events are generated when a UE enters or leaves the perimeter of a Geofence. This breach notification is for multiple Geofences. Breaches from multiple Geofences are all batched and sent in the same notification.

◆ LOCEVENTMASKGEOFENCEBREACHNOTIFICATION

#define LOCEVENTMASKGEOFENCEBREACHNOTIFICATION   0x00010000

The control point must enable this mask to receive notifications when a Geofence is breached. These events are generated when a UE enters or leaves the perimeter of a Geofence. This breach report is for a single Geofence.

◆ LOCEVENTMASKGEOFENCEGENALERT

#define LOCEVENTMASKGEOFENCEGENALERT   0x00008000

The control point must enable this mask to receive Geofence alerts. These alerts are generated to inform the client of the changes that may affect a Geofence, for example, if GPS is turned off or if the network is unavailable.

◆ LOCEVENTMASKGNSSMEASUREMENTREPORT

#define LOCEVENTMASKGNSSMEASUREMENTREPORT   0x01000000

The control point must enable this mask to receive system clock and satellite measurement report events (system clock, SV time, Doppler, etc.). Reports are generated only for the GNSS satellite constellations that are enabled using QMI_LOC_SET_GNSS_ CONSTELL_REPORT_CONFIG(Not yet supported).

◆ LOCEVENTMASKGNSSSVINFO

#define LOCEVENTMASKGNSSSVINFO   0x00000002

The control point must enable this mask to receive satellite report event indications. These reports are sent at a 1 Hz rate.

◆ LOCEVENTMASKINJECTPOSITIONREQ

#define LOCEVENTMASKINJECTPOSITIONREQ   0x00000040

The control point must enable this mask to receive position injection request event indications.

◆ LOCEVENTMASKINJECTPREDICTEDORBITSREQ

#define LOCEVENTMASKINJECTPREDICTEDORBITSREQ   0x00000020

The control point must enable this mask to receive predicted orbits request event indications.

◆ LOCEVENTMASKINJECTTIMEREQ

#define LOCEVENTMASKINJECTTIMEREQ   0x00000010

The control point must enable this mask to receive time injection request event indications.

◆ LOCEVENTMASKINJECTWIFIAPDATAREQ

#define LOCEVENTMASKINJECTWIFIAPDATAREQ   0x00200000

The control point must enable this mask to receive Wi-Fi Access Point (AP) data inject request event indications.

◆ LOCEVENTMASKINVALIDVALUE

#define LOCEVENTMASKINVALIDVALUE   0xFFFFFFFF

Invalid Event Mask

◆ LOCEVENTMASKLIVEBATCHEDPOSITIONREPORT

#define LOCEVENTMASKLIVEBATCHEDPOSITIONREPORT   0x00100000

The control point must enable this mask to receive position report indications along with an ongoing batching session. The location engine sends this event to notify the batched position report while a batching session is ongoing.

◆ LOCEVENTMASKLOCATIONSERVERCONNECTIONREQ

#define LOCEVENTMASKLOCATIONSERVERCONNECTIONREQ   0x00002000

The control point must enable this mask to receive location server requests. These requests are generated when the service wishes to establish a connection with a location server.

◆ LOCEVENTMASKMOTIONDATACONTROL

#define LOCEVENTMASKMOTIONDATACONTROL   0x00040000

The control point must enable this mask to register for motion data control requests from the location engine. The location engine sends this event to control the injection of motion data.

◆ LOCEVENTMASKNIGEOFENCENOTIFICATION

#define LOCEVENTMASKNIGEOFENCENOTIFICATION   0x00004000

The control point must enable this mask to receive notifications related to network-initiated Geofences. These events notify the client when a network-initiated Geofence is added, deleted, or edited.

◆ LOCEVENTMASKNINOTIFYVERIFYREQ

#define LOCEVENTMASKNINOTIFYVERIFYREQ   0x00000008

The control point must enable this mask to receive NI Notify/Verify request event indications.

◆ LOCEVENTMASKNMEA

#define LOCEVENTMASKNMEA   0x00000004

The control point must enable this mask to receive NMEA reports for position and satellites in view. The report is at a 1 Hz rate.

◆ LOCEVENTMASKPEDOMETERCONTROL

#define LOCEVENTMASKPEDOMETERCONTROL   0x00020000

The control point must enable this mask to register for pedometer control requests from the location engine. The location engine sends this event to control the injection of pedometer reports.

◆ LOCEVENTMASKPOSITIONREPORT

#define LOCEVENTMASKPOSITIONREPORT   0x00000001

The control point must enable this mask to receive position report event indications.

◆ LOCEVENTMASKSENSORSTREAMINGREADYSTATUS

#define LOCEVENTMASKSENSORSTREAMINGREADYSTATUS   0x00000400

The control point must enable this mask to receive notifications from the location engine indicating its readiness to accept data from the sensors (accelerometer, gyroscope, etc.).

◆ LOCEVENTMASKSETSPISTREAMINGREPORT

#define LOCEVENTMASKSETSPISTREAMINGREPORT   0x00001000

The control point must enable this mask to receive Stationary Position Indicator (SPI) streaming report indications.

◆ LOCEVENTMASKTIMESYNCREQ

#define LOCEVENTMASKTIMESYNCREQ   0x00000800

The control point must enable this mask to receive time sync requests from the GPS engine. Time sync enables the GPS engine to synchronize its clock with the sensor processor's clock.

◆ LOCEVENTMASKVEHICLEDATAREADYSTATUS

#define LOCEVENTMASKVEHICLEDATAREADYSTATUS   0x00800000

The control point must enable this mask to receive notifications from the location engine indicating its readiness to accept vehicle data (vehicle accelerometer, vehicle angular rate, vehicle odometry, etc.).

◆ LOCEVENTMASKWIFIREQ

#define LOCEVENTMASKWIFIREQ   0x00000200

The control point must enable this mask to receive Wi-Fi position request event indications.

◆ MAX_Expanded_SVS

#define MAX_Expanded_SVS   16

Maximum size of expanded GNSS SV Used list

◆ MAX_LOC_NMEA_STR_LEN

#define MAX_LOC_NMEA_STR_LEN   201

Size of NMEA setence buffer

◆ MAX_SATELLITES_SIGNAL_TYPES

#define MAX_SATELLITES_SIGNAL_TYPES   20

Maximum size of satellies signal types list

◆ MAX_SENSOR_DATA_LEN

#define MAX_SENSOR_DATA_LEN   64

Maximum number of sensor data

◆ MAX_TEMP_DATA_LEN

#define MAX_TEMP_DATA_LEN   64

Maximum number sample time offset