GNSS_AGNSS_INJECT structure (gnssdriver.h)

The GNSS_AGNSS_INJECT structure defines the parameters for AGNSS injection.

Syntax

typedef struct {
  ULONG                   Size;
  ULONG                   Version;
  GNSS_AGNSS_REQUEST_TYPE InjectionType;
  NTSTATUS                InjectionStatus;
  ULONG                   InjectionDataSize;
  BYTE                    Unused[512];
  union {
    GNSS_AGNSS_INJECTTIME     Time;
    GNSS_AGNSS_INJECTPOSITION Position;
    GNSS_AGNSS_INJECTBLOB     BlobData;
  };
} GNSS_AGNSS_INJECT, *PGNSS_AGNSS_INJECT;

Members

Size

Structure size.

Version

Version number.

InjectionType

Indicates the specific type of AGNSS injection.

Depending on the type, the driver must access the specific data element of the structure. For example, if the type is GNSS_AGNSS_PositionInjection, use the Position element.

InjectionStatus

Indicates whether any error was encountered in gathering the needed injection data.

The driver must ignore the injection if this field does not indicate success.

InjectionDataSize

Size of the injection data.

Unused[512]

Padding buffer reserved for future use.

Time

GNSS_AGNSS_INJECTTIME contains the format for AGNSS time injection.

Position

GNSS_AGNSS_INJECTPOSITION contains the format for AGNSS position injection.

BlobData

GNSS_AGNSS_INJECTBLOB contains the format for AGNSS extended ephemeris injection.

Requirements

Requirement Value
Header gnssdriver.h (include Gnssdriver.h)