10 #ifndef TAF_LOCPOS_COMMON_H_INCLUDE_GUARD 11 #define TAF_LOCPOS_COMMON_H_INCLUDE_GUARD 19 #define IFGEN_TAF_LOCPOS_PROTOCOL_ID "7524055dcdb06eb2aa3fcec77b6f8445" 20 #define IFGEN_TAF_LOCPOS_MSG_SIZE 32 28 #define TAF_LOCPOS_TAF_LOCPOS_MAX_OBJ 1 137 uint32_t horizontalMagnitude,
139 uint32_t verticalMagnitude,
174 int32_t* latitudePtr,
176 int32_t* longitudePtr,
178 int32_t* hAccuracyPtr
245 uint32_t* hSpeedAccuracyPtr,
249 int32_t* vSpeedAccuracyPtr
272 uint32_t* directionPtr,
274 uint32_t* directionAccuracyPtr
294 uint16_t* minutesPtr,
296 uint16_t* secondsPtr,
298 uint16_t* millisecondsPtr
314 uint32_t acquisitionRate
363 int32_t* latitudePtr,
365 int32_t* longitudePtr,
367 int32_t* hAccuracyPtr,
369 int32_t* altitudePtr,
371 int32_t* vAccuracyPtr
396 int32_t* latitudePtr,
398 int32_t* longitudePtr,
400 int32_t* horizontalAccuracyPtr
424 int32_t* altitudePtr,
426 int32_t* altitudeAccuracyPtr
447 uint16_t* minutesPtr,
449 uint16_t* secondsPtr,
451 uint16_t* millisecondsPtr
477 uint32_t* hSpeedAccuracyPtr
504 uint32_t* directionPtr,
506 uint32_t* directionAccuracyPtr
532 int32_t* vspeedAccuracyPtr
602 #endif // TAF_LOCPOS_COMMON_H_INCLUDE_GUARD taf_locPos_Resolution_t
Definition: taf_locPos_common.h:51
Centimeter resolution.
Definition: taf_locPos_common.h:57
LE_SHARED void ifgen_taf_locPos_CleanupCommonData(le_msg_SessionRef_t _ifgen_sessionRef)
LE_SHARED le_result_t ifgen_taf_locPos_sample_GetDate(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, uint16_t *yearPtr, uint16_t *monthPtr, uint16_t *dayPtr)
LE_SHARED le_result_t ifgen_taf_locPos_OpenSession(le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
LE_SHARED uint32_t ifgen_taf_locPos_GetAcquisitionRate(le_msg_SessionRef_t _ifgen_sessionRef)
LE_SHARED le_result_t ifgen_taf_locPos_sample_GetAltitude(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, int32_t *altitudePtr, int32_t *altitudeAccuracyPtr)
LE_SHARED le_result_t ifgen_taf_locPos_sample_Get2DLocation(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, int32_t *latitudePtr, int32_t *longitudePtr, int32_t *horizontalAccuracyPtr)
Unknown resolution.
Definition: taf_locPos_common.h:61
LE_SHARED le_result_t ifgen_taf_locPos_SetDistanceResolution(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_Resolution_t resolution)
struct taf_locPos_MovementHandler * taf_locPos_MovementHandlerRef_t
Definition: taf_locPos_common.h:43
LE_SHARED le_result_t ifgen_taf_locPos_Get3DLocation(le_msg_SessionRef_t _ifgen_sessionRef, int32_t *latitudePtr, int32_t *longitudePtr, int32_t *hAccuracyPtr, int32_t *altitudePtr, int32_t *vAccuracyPtr)
LE_SHARED le_result_t ifgen_taf_locPos_Get2DLocation(le_msg_SessionRef_t _ifgen_sessionRef, int32_t *latitudePtr, int32_t *longitudePtr, int32_t *hAccuracyPtr)
taf_locGnss_FixState_t
Definition: taf_locGnss_common.h:193
LE_SHARED le_result_t ifgen_taf_locPos_GetMotion(le_msg_SessionRef_t _ifgen_sessionRef, uint32_t *hSpeedPtr, uint32_t *hSpeedAccuracyPtr, int32_t *vSpeedPtr, int32_t *vSpeedAccuracyPtr)
Decimeter resolution.
Definition: taf_locPos_common.h:55
struct taf_locPos_Sample * taf_locPos_SampleRef_t
Definition: taf_locPos_common.h:35
LE_SHARED le_result_t ifgen_taf_locPos_sample_GetFixState(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, taf_locGnss_FixState_t *statePtr)
LE_SHARED bool ifgen_taf_locPos_HasLocalBinding(void)
LE_SHARED le_result_t ifgen_taf_locPos_GetFixState(le_msg_SessionRef_t _ifgen_sessionRef, taf_locGnss_FixState_t *statePtr)
LE_SHARED le_result_t ifgen_taf_locPos_sample_GetTime(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, uint16_t *hoursPtr, uint16_t *minutesPtr, uint16_t *secondsPtr, uint16_t *millisecondsPtr)
LE_SHARED le_result_t ifgen_taf_locPos_sample_GetHorizontalSpeed(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, uint32_t *hSpeedPtr, uint32_t *hSpeedAccuracyPtr)
LE_SHARED le_result_t ifgen_taf_locPos_sample_GetVerticalSpeed(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, int32_t *vspeedPtr, int32_t *vspeedAccuracyPtr)
LE_SHARED void ifgen_taf_locPos_InitCommonData(void)
LE_SHARED le_result_t ifgen_taf_locPos_SetAcquisitionRate(le_msg_SessionRef_t _ifgen_sessionRef, uint32_t acquisitionRate)
LE_SHARED le_result_t ifgen_taf_locPos_GetDirection(le_msg_SessionRef_t _ifgen_sessionRef, uint32_t *directionPtr, uint32_t *directionAccuracyPtr)
LE_SHARED taf_locPos_MovementHandlerRef_t ifgen_taf_locPos_AddMovementHandler(le_msg_SessionRef_t _ifgen_sessionRef, uint32_t horizontalMagnitude, uint32_t verticalMagnitude, taf_locPos_MovementHandlerFunc_t handlerPtr, void *contextPtr)
Meter resolution.
Definition: taf_locPos_common.h:53
Millimeter resolution.
Definition: taf_locPos_common.h:59
LE_SHARED le_result_t ifgen_taf_locPos_sample_GetDirection(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef, uint32_t *directionPtr, uint32_t *directionAccuracyPtr)
le_result_t
Definition: le_basics.h:45
void(* taf_locPos_MovementHandlerFunc_t)(taf_locPos_SampleRef_t positionSampleRef, void *contextPtr)
Definition: taf_locPos_common.h:74
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
LE_SHARED void ifgen_taf_locPos_sample_Release(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_SampleRef_t positionSampleRef)
LE_SHARED void ifgen_taf_locPos_RemoveMovementHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_locPos_MovementHandlerRef_t handlerRef)
#define LE_SHARED
Definition: le_basics.h:297
LE_SHARED le_result_t ifgen_taf_locPos_GetDate(le_msg_SessionRef_t _ifgen_sessionRef, uint16_t *yearPtr, uint16_t *monthPtr, uint16_t *dayPtr)
LE_SHARED le_result_t ifgen_taf_locPos_GetTime(le_msg_SessionRef_t _ifgen_sessionRef, uint16_t *hoursPtr, uint16_t *minutesPtr, uint16_t *secondsPtr, uint16_t *millisecondsPtr)