C:/builds/14050805_235685/proprietary/deliverables/android/gpsd/common/glgps_hal_sm.cpp File Reference

Create the PGLOR,1,SM1 sentence to report network aiding and GPS results. More...

#include "glgpsapi.h"
#include "glgpsd.h"
#include "logging.h"
#include "glgps_hal.h"
#include "glgps_hal_sm.h"
Include dependency graph for glgps_hal_sm.cpp:

Detailed Description

Create the PGLOR,1,SM1 sentence to report network aiding and GPS results.

The flags passed to GpsHalSm***() functions fall into these categories:

  • results: network pass/fail, fix pass/fail
  • description of the fix: single, perioric, MS-A, MS-B
  • description of the assistance provided: time, location, ephemeris, etc.

The flags are the logical OR of:

  • PGLOR_NET_RES_FIX_PASS Successful position fix
  • PGLOR_NET_RES_FIX_FAIL Failed position fix
  • PGLOR_NET_RES_PROTO_PASS Successful sending of protocol
  • PGLOR_NET_RES_PROTO_FAIL Error sending protocol
  • PGLOR_NET_FIX_SINGLE Single shot position fix
  • PGLOR_NET_FIX_PERIODIC Periodic position fix
  • PGLOR_NET_MSA_POSITION MSA position fix returned
  • PGLOR_NET_PROTO_RRLP RRLP is the protocol
  • PGLOR_NET_PROTO_RRC RRC is the protocol
  • PGLOR_NET_PROTO_SUPL SUPL is the protocol
  • PGLOR_NET_PROTO_LBS LBS is future
  • PGLOR_NET_PROTO_LTE LTE is future
  • PGLOR_NET_ASST_FINE_TIME Fine-time assistance
  • PGLOR_NET_ASST_FREQ Frequency aiding (CNTIN)
  • PGLOR_NET_ASST_LOCATION Reference location
  • PGLOR_NET_ASST_TIME Coarse time aiding
  • PGLOR_NET_ASST_EPH Ephemeris
  • PGLOR_NET_ASST_ACQ Acquisition assistance
  • PGLOR_NET_ASST_OTHER Almanac, ionospheric info, etc.

Or the flag can be:

  • PGLOR_NET_DONE Indicates EOS for non-assisted cases.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines