le_pos_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
194 #ifndef LE_POS_INTERFACE_H_INCLUDE_GUARD
195 #define LE_POS_INTERFACE_H_INCLUDE_GUARD
196 
197 
198 #include "legato.h"
199 
200 //--------------------------------------------------------------------------------------------------
204 //--------------------------------------------------------------------------------------------------
206 (
207  void
208 );
209 
210 //--------------------------------------------------------------------------------------------------
214 //--------------------------------------------------------------------------------------------------
216 (
217  void
218 );
219 
220 
221 //--------------------------------------------------------------------------------------------------
225 //--------------------------------------------------------------------------------------------------
226 typedef struct le_pos_Sample* le_pos_SampleRef_t;
227 
228 
229 //--------------------------------------------------------------------------------------------------
233 //--------------------------------------------------------------------------------------------------
234 typedef struct le_pos_MovementHandler* le_pos_MovementHandlerRef_t;
235 
236 
237 //--------------------------------------------------------------------------------------------------
246 //--------------------------------------------------------------------------------------------------
247 typedef void (*le_pos_MovementHandlerFunc_t)
248 (
249  le_pos_SampleRef_t positionSampleRef,
250  void* contextPtr
251 );
252 
253 //--------------------------------------------------------------------------------------------------
259 //--------------------------------------------------------------------------------------------------
261 (
262  uint32_t horizontalMagnitude,
267 
268  uint32_t verticalMagnitude,
273 
274  le_pos_MovementHandlerFunc_t handlerPtr,
276 
277  void* contextPtr
279 );
280 
281 //--------------------------------------------------------------------------------------------------
285 //--------------------------------------------------------------------------------------------------
287 (
288  le_pos_MovementHandlerRef_t addHandlerRef
290 );
291 
292 //--------------------------------------------------------------------------------------------------
303 //--------------------------------------------------------------------------------------------------
305 (
306  int32_t* latitudePtr,
309 
310  int32_t* longitudePtr,
313 
314  int32_t* hAccuracyPtr
317 );
318 
319 //--------------------------------------------------------------------------------------------------
331 //--------------------------------------------------------------------------------------------------
333 (
334  int32_t* latitudePtr,
337 
338  int32_t* longitudePtr,
341 
342  int32_t* hAccuracyPtr,
345 
346  int32_t* altitudePtr,
349 
350  int32_t* vAccuracyPtr
353 );
354 
355 //--------------------------------------------------------------------------------------------------
364 //--------------------------------------------------------------------------------------------------
366 (
367  uint16_t* hoursPtr,
370 
371  uint16_t* minutesPtr,
374 
375  uint16_t* secondsPtr,
378 
379  uint16_t* millisecondsPtr
382 );
383 
384 //--------------------------------------------------------------------------------------------------
393 //--------------------------------------------------------------------------------------------------
395 (
396  uint16_t* yearPtr,
399 
400  uint16_t* monthPtr,
403 
404  uint16_t* dayPtr
407 );
408 
409 //--------------------------------------------------------------------------------------------------
420 //--------------------------------------------------------------------------------------------------
422 (
423  uint32_t* hSpeedPtrPtr,
426 
427  int32_t* hSpeedAccuracyPtrPtr,
430 
431  int32_t* vSpeedPtrPtr,
434 
435  int32_t* vSpeedAccuracyPtrPtr
438 );
439 
440 //--------------------------------------------------------------------------------------------------
450 //--------------------------------------------------------------------------------------------------
452 (
453  int32_t* headingPtr,
456 
457  int32_t* headingAccuracyPtr
460 );
461 
462 //--------------------------------------------------------------------------------------------------
473 //--------------------------------------------------------------------------------------------------
475 (
476  int32_t* directionPtr,
479 
480  int32_t* directionAccuracyPtr
483 );
484 
485 //--------------------------------------------------------------------------------------------------
499 //--------------------------------------------------------------------------------------------------
501 (
502  le_pos_SampleRef_t positionSampleRef,
505 
506  int32_t* latitudePtr,
509 
510  int32_t* longitudePtr,
513 
514  int32_t* horizontalAccuracyPtr
517 );
518 
519 //--------------------------------------------------------------------------------------------------
528 //--------------------------------------------------------------------------------------------------
530 (
531  le_pos_SampleRef_t positionSampleRef,
534 
535  uint16_t* hoursPtr,
538 
539  uint16_t* minutesPtr,
542 
543  uint16_t* secondsPtr,
546 
547  uint16_t* millisecondsPtr
550 );
551 
552 //--------------------------------------------------------------------------------------------------
561 //--------------------------------------------------------------------------------------------------
563 (
564  le_pos_SampleRef_t positionSampleRef,
567 
568  uint16_t* yearPtr,
571 
572  uint16_t* monthPtr,
575 
576  uint16_t* dayPtr
579 );
580 
581 //--------------------------------------------------------------------------------------------------
594 //--------------------------------------------------------------------------------------------------
596 (
597  le_pos_SampleRef_t positionSampleRef,
600 
601  int32_t* altitudePtr,
604 
605  int32_t* altitudeAccuracyPtr
608 );
609 
610 //--------------------------------------------------------------------------------------------------
623 //--------------------------------------------------------------------------------------------------
625 (
626  le_pos_SampleRef_t positionSampleRef,
629 
630  uint32_t* hspeedPtr,
633 
634  int32_t* hspeedAccuracyPtr
637 );
638 
639 //--------------------------------------------------------------------------------------------------
652 //--------------------------------------------------------------------------------------------------
654 (
655  le_pos_SampleRef_t positionSampleRef,
658 
659  int32_t* vspeedPtr,
662 
663  int32_t* vspeedAccuracyPtr
666 );
667 
668 //--------------------------------------------------------------------------------------------------
682 //--------------------------------------------------------------------------------------------------
684 (
685  le_pos_SampleRef_t positionSampleRef,
688 
689  int32_t* headingPtr,
692 
693  int32_t* headingAccuracyPtr
696 );
697 
698 //--------------------------------------------------------------------------------------------------
712 //--------------------------------------------------------------------------------------------------
714 (
715  le_pos_SampleRef_t positionSampleRef,
718 
719  int32_t* directionPtr,
722 
723  int32_t* directionAccuracyPtr
726 );
727 
728 //--------------------------------------------------------------------------------------------------
735 //--------------------------------------------------------------------------------------------------
737 (
738  le_pos_SampleRef_t positionSampleRef
741 );
742 
743 
744 #endif // LE_POS_INTERFACE_H_INCLUDE_GUARD
745 
le_result_t le_pos_sample_Get2DLocation(le_pos_SampleRef_t positionSampleRef, int32_t *latitudePtr, int32_t *longitudePtr, int32_t *horizontalAccuracyPtr)
le_result_t le_pos_GetDate(uint16_t *yearPtr, uint16_t *monthPtr, uint16_t *dayPtr)
le_result_t le_pos_GetHeading(int32_t *headingPtr, int32_t *headingAccuracyPtr)
le_result_t
Definition: le_basics.h:35
le_pos_MovementHandlerRef_t le_pos_AddMovementHandler(uint32_t horizontalMagnitude, uint32_t verticalMagnitude, le_pos_MovementHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_pos_sample_GetHeading(le_pos_SampleRef_t positionSampleRef, int32_t *headingPtr, int32_t *headingAccuracyPtr)
le_result_t le_pos_sample_GetTime(le_pos_SampleRef_t positionSampleRef, uint16_t *hoursPtr, uint16_t *minutesPtr, uint16_t *secondsPtr, uint16_t *millisecondsPtr)
le_result_t le_pos_sample_GetDate(le_pos_SampleRef_t positionSampleRef, uint16_t *yearPtr, uint16_t *monthPtr, uint16_t *dayPtr)
le_result_t le_pos_sample_GetAltitude(le_pos_SampleRef_t positionSampleRef, int32_t *altitudePtr, int32_t *altitudeAccuracyPtr)
void le_pos_DisconnectService(void)
void le_pos_ConnectService(void)
le_result_t le_pos_Get3DLocation(int32_t *latitudePtr, int32_t *longitudePtr, int32_t *hAccuracyPtr, int32_t *altitudePtr, int32_t *vAccuracyPtr)
struct le_pos_Sample * le_pos_SampleRef_t
Definition: le_pos_interface.h:226
le_result_t le_pos_GetDirection(int32_t *directionPtr, int32_t *directionAccuracyPtr)
le_result_t le_pos_GetMotion(uint32_t *hSpeedPtrPtr, int32_t *hSpeedAccuracyPtrPtr, int32_t *vSpeedPtrPtr, int32_t *vSpeedAccuracyPtrPtr)
void(* le_pos_MovementHandlerFunc_t)(le_pos_SampleRef_t positionSampleRef, void *contextPtr)
Definition: le_pos_interface.h:248
le_result_t le_pos_Get2DLocation(int32_t *latitudePtr, int32_t *longitudePtr, int32_t *hAccuracyPtr)
le_result_t le_pos_sample_GetVerticalSpeed(le_pos_SampleRef_t positionSampleRef, int32_t *vspeedPtr, int32_t *vspeedAccuracyPtr)
void le_pos_RemoveMovementHandler(le_pos_MovementHandlerRef_t addHandlerRef)
le_result_t le_pos_GetTime(uint16_t *hoursPtr, uint16_t *minutesPtr, uint16_t *secondsPtr, uint16_t *millisecondsPtr)
le_result_t le_pos_sample_GetHorizontalSpeed(le_pos_SampleRef_t positionSampleRef, uint32_t *hspeedPtr, int32_t *hspeedAccuracyPtr)
struct le_pos_MovementHandler * le_pos_MovementHandlerRef_t
Definition: le_pos_interface.h:234
le_result_t le_pos_sample_GetDirection(le_pos_SampleRef_t positionSampleRef, int32_t *directionPtr, int32_t *directionAccuracyPtr)
void le_pos_sample_Release(le_pos_SampleRef_t positionSampleRef)