Trimble Outdoors 44326-00-ENG GPS Receiver User Manual


 
FirstGPS Starter Kit User Guide
65
Using the FirstGPS API
A
Included Header File
#include npStdIface.h
Format
npRetCode navGetEvent (void* pvTaskId, U32* pulEvent, void*
pvEventData, S32 lTimeOut, U8 ucGetFlag);
Input Parameters
Output Parameters
Return Values
Data Type Parameter Description
void* pvTaskId A pointer to a task control block of the
calling task.
S32 lTimeOut A timeout value.
U8 ucGetFlag Indicates the event retrieval method.
Data Type Parameter Description
U32* pulEvent A pointer to a variable to be updated
with the event.
void* pvEventData A pointer to a variable to be updated
with data associated with the event.
Value Description
NAV_OK The event is retrieved successfully.
NAV_ERROR The event is not retrieved successfully.