LinuxQMISDK-Lite
SLQS04.00.23
|
Go to the source code of this file.
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 } |
#define LOC_UINT8_MAX_STRING_SZ 255 |
#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.
#define LOCEVENTMASKENGINESTATE 0x00000080 |
The control point must enable this mask to receive engine state report event indications.
#define LOCEVENTMASKFIXSESSIONSTATE 0x00000100 |
The control point must enable this mask to receive fix session status report event indications.
#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.
#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.
#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.
#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).
#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.
#define LOCEVENTMASKINJECTPOSITIONREQ 0x00000040 |
The control point must enable this mask to receive position injection request event indications.
#define LOCEVENTMASKINJECTPREDICTEDORBITSREQ 0x00000020 |
The control point must enable this mask to receive predicted orbits request event indications.
#define LOCEVENTMASKINJECTTIMEREQ 0x00000010 |
The control point must enable this mask to receive time injection request event indications.
#define LOCEVENTMASKINJECTWIFIAPDATAREQ 0x00200000 |
The control point must enable this mask to receive Wi-Fi Access Point (AP) data inject request event indications.
#define LOCEVENTMASKINVALIDVALUE 0xFFFFFFFF |
Invalid Event Mask
#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.
#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.
#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.
#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.
#define LOCEVENTMASKNINOTIFYVERIFYREQ 0x00000008 |
The control point must enable this mask to receive NI Notify/Verify request event indications.
#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.
#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.
#define LOCEVENTMASKPOSITIONREPORT 0x00000001 |
The control point must enable this mask to receive position report event indications.
#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.).
#define LOCEVENTMASKSETSPISTREAMINGREPORT 0x00001000 |
The control point must enable this mask to receive Stationary Position Indicator (SPI) streaming report indications.
#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.
#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.).
#define LOCEVENTMASKWIFIREQ 0x00000200 |
The control point must enable this mask to receive Wi-Fi position request event indications.
#define MAX_LOC_NMEA_STR_LEN 201 |
#define MAX_SENSOR_DATA_LEN 64 |
#define MAX_TEMP_DATA_LEN 64 |
anonymous enum |
int pack_loc_DeleteAssistData | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_Delete_Assist_Data_t * | reqArg | ||
) |
Delete Assistant Data pack
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_EventRegister | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_EventRegister_t * | reqArg | ||
) |
Event Register pack
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SetExtPowerState | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SetExtPowerState_t * | reqArg | ||
) |
Set Ext Power State pack
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SetOperationMode | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SetOperationMode_t * | reqArg | ||
) |
Set Operation Mode pack
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCGetBestAvailPos | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SLQSLOCGetBestAvailPos_t * | reqArg | ||
) |
Get Best Avail position pack
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCGetOpMode | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
void * | reqArg | ||
) |
Pack Get Operation mode.
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCGetServer | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SLQSLOCGetServer_t * | reqArg | ||
) |
Pack get server.
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCInjectPosition | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SLQSLOCInjectPosition_t * | reqArg | ||
) |
Pack inject position.
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCInjectSensorData | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SLQSLOCInjectSensorData_t * | reqArg | ||
) |
Pack inject sensor data.
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCInjectUTCTime | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SLQSLOCInjectUTCTime_t * | reqArg | ||
) |
Pack inject UTC time.
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCSetCradleMountConfig | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SLQSLOCSetCradleMountConfig_t * | reqArg | ||
) |
Pack set cradle mount configure.
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_SLQSLOCSetServer | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_SLQSLOCSetServer_t * | reqArg | ||
) |
Pack Set server.
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_Start | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_Start_t * | reqArg | ||
) |
LOC Start pack
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int pack_loc_Stop | ( | pack_qmi_t * | pCtx, |
uint8_t * | pReqBuf, | ||
uint16_t * | pLen, | ||
pack_loc_Stop_t * | reqArg | ||
) |
Loc Stop pack
[in,out] | pCtx | qmi request context |
[out] | pReqBuf | qmi request buffer |
[out] | pLen | qmi request length |
[in] | reqArg | request parameter |
int unpack_loc_BestAvailPos_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_BestAvailPos_Ind_t * | pOutput | ||
) |
Loc Best Avial position Indication unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_CradleMountCallback_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_CradleMountCallback_Ind_t * | pOutput | ||
) |
Unpack the Cradle Mount Indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_DeleteAssistData | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_Delete_Assist_Data_t * | pOutput | ||
) |
Delete Assistant Data unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_DeleteAssistData_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_DeleteAssistData_Ind_t * | pOutput | ||
) |
Unpack the status of delete the location engine assistance data
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_EngineState_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_EngineState_Ind_t * | pOutput | ||
) |
Loc Engine State Indication unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_EventNMEA_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_EventNMEA_Ind_t * | pOutput | ||
) |
Unpack the NMEA Event Indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_EventRegister | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_EventRegister_t * | pOutput | ||
) |
Event Register unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_EventTimeSyncCallback_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_EventTimeSyncCallback_Ind_t * | pOutput | ||
) |
Unpack the Event Time Sync indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_GetOpMode_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_GetOpMode_Ind_t * | pOutput | ||
) |
Unpack the Set Server Indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_GetServer_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_GetServer_Ind_t * | pOutput | ||
) |
Unpack the Get Server Indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_GnssSvInfo_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_GnssSvInfo_Ind_t * | pOutput | ||
) |
Unpack the GNSS SV Info Indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_InjectPositionCallback_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_InjectPositionCallback_Ind_t * | pOutput | ||
) |
Unpack the Inject position indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_InjectSensorDataCallback_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_InjectSensorDataCallback_Ind_t * | pOutput | ||
) |
Unpack the inject sensor data indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_InjectTimeSyncDataCallback_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_InjectTimeSyncDataCallback_Ind_t * | pOutput | ||
) |
Unpack the inject time sync data indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_InjectUTCTimeCallback_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_InjectUTCTimeCallback_Ind_t * | pOutput | ||
) |
Unpack the Inject UTC time indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_PositionRpt_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_PositionRpt_Ind_t * | pOutput | ||
) |
Loc Position Report Indication unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SensorStreamingCallback_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SensorStreamingCallback_Ind_t * | pOutput | ||
) |
Unpack the Sensor streaming status indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SetExtPowerConfig_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SetExtPowerConfig_Ind_t * | pOutput | ||
) |
Loc Set External Power Configure Indication unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SetExtPowerState | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SetExtPowerState_t * | pOutput | ||
) |
Set Ext Power State unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SetOperationMode | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SetOperationMode_t * | pOutput | ||
) |
Set Operation Mode unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SetOperationMode_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SetOperationMode_Ind_t * | pOutput | ||
) |
Unpack the engine to use the specified operation mode.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SetServer_Ind | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SetServer_Ind_t * | pOutput | ||
) |
Unpack the Set Server Indication.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SLQSLOCGetBestAvailPos | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SLQSLOCGetBestAvailPos_t * | pOutput | ||
) |
Get Best Avail position unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SLQSLOCGetOpMode | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SLQSLOCGetOpMode_t * | pOutput | ||
) |
Get Operation mode unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_SLQSLOCGetServer | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SLQSLOCGetServer_t * | pOutput | ||
) |
Unpack get server.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | response unpacked |
int unpack_loc_SLQSLOCInjectPosition | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SLQSLOCInjectPosition_t * | pOutput | ||
) |
Unpack inject position.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | response unpacked |
int unpack_loc_SLQSLOCInjectSensorData | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SLQSLOCInjectSensorData_t * | pOutput | ||
) |
Unpack inject sensor data.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | response unpacked |
int unpack_loc_SLQSLOCInjectUTCTime | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SLQSLOCInjectUTCTime_t * | pOutput | ||
) |
Unpack inject UTC time.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | response unpacked |
int unpack_loc_SLQSLOCSetCradleMountConfig | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_SLQSLOCSetCradleMountConfig_t * | pOutput | ||
) |
Unpack set cradle mount configure.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | response unpacked |
int unpack_loc_SLQSLOCSetServer | ( | uint8_t * | pResp, |
uint16_t | respLen | ||
) |
Unpack set server.
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
int unpack_loc_Start | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_Start_t * | pOutput | ||
) |
Loc Start unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |
int unpack_loc_Stop | ( | uint8_t * | pResp, |
uint16_t | respLen, | ||
unpack_loc_Stop_t * | pOutput | ||
) |
Loc Stop unpack
[in] | pResp | qmi response |
[in] | respLen | qmi response length |
[out] | pOutput | unpacked response |