Provides an interface for non-standard GPS sensors.
◆ dwSensorGPSPluginFunctionTable
struct dwSensorGPSPluginFunctionTable |
◆ dwSensorGPSPlugin_parseDataBuffer
Processes the data previously passed via the 'dwSensorPlugin_pushData' interface.
- Parameters
-
[out] | frame | Interpreted GPS frame |
[out] | consumed | Number of raw bytes (including header) consumed to successfully parse the frame |
[in] | sensor | Specifies the sensor the data came from. |
- Returns
- DW_INVALID_HANDLE - if the sensor handle is NULL or invalid
DW_FAILURE - if no frame is ready for consumption DW_SUCCESS
Definition at line 68 of file GPSPlugin.h.
◆ dwSensorGPSPlugin_getFunctionTable()
Gets the handle to functions defined in 'dwSensorGPSPluginFunctionTable' structure.
- Parameters
-
[out] | functions | A pointer to the function table |
- Returns
- DW_INVALID_ARGUMENT - if pointer to the function table is NULL.
DW_SUCCESS