GNSS_DRIVERCOMMAND_PARAM structure (gnssdriver.h)
The GNSS_DRIVERCOMMAND_PARAM structure is used to send a command to the GNSS driver.
The command may involve configuring certain parameters and state variables of the underlying GNSS driver or device, or executing certain defined actions through the driver.
Syntax
typedef struct {
ULONG Size;
ULONG Version;
GNSS_DRIVERCOMMAND_TYPE CommandType;
ULONG Reserved;
ULONG CommandDataSize;
BYTE Unused[512];
BYTE CommandData[ANYSIZE_ARRAY];
} GNSS_DRIVERCOMMAND_PARAM, *PGNSS_DRIVERCOMMAND_PARAM;
Members
Size
Structure size.
Version
Version number.
CommandType
Identifies the specific command that the driver is required to execute.
This is a well-defined list of GNSS driver commands, as defined by the GNSS_DRIVERCOMMAND_TYPE enumeration.
Reserved
Reserved for future use.
CommandDataSize
Size of the configuration data being sent to the driver.
Unused[512]
Padding buffer reserved for future use.
CommandData[ANYSIZE_ARRAY]
Data associated with the specific command type.
The driver must cast this buffer to the appropriate data type depending on the specific command.
Requirements
Requirement | Value |
---|---|
Header | gnssdriver.h (include Gnssdriver.h) |