le_gnss_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 
260 #ifndef LE_GNSS_INTERFACE_H_INCLUDE_GUARD
261 #define LE_GNSS_INTERFACE_H_INCLUDE_GUARD
262 
263 
264 #include "legato.h"
265 
266 //--------------------------------------------------------------------------------------------------
270 //--------------------------------------------------------------------------------------------------
272 (
273  void
274 );
275 
276 //--------------------------------------------------------------------------------------------------
280 //--------------------------------------------------------------------------------------------------
282 (
283  void
284 );
285 
286 
287 //--------------------------------------------------------------------------------------------------
291 //--------------------------------------------------------------------------------------------------
292 #define LE_GNSS_MAX_SUPL_SERVER_URL_LEN 256
293 
294 
295 //--------------------------------------------------------------------------------------------------
299 //--------------------------------------------------------------------------------------------------
300 #define LE_GNSS_MAX_SUPL_CERTIFICATE_LEN 2000
301 
302 
303 //--------------------------------------------------------------------------------------------------
307 //--------------------------------------------------------------------------------------------------
308 typedef enum
309 {
312 
315 
318 }
320 
321 
322 //--------------------------------------------------------------------------------------------------
328 //--------------------------------------------------------------------------------------------------
329 typedef enum
330 {
333 
336 }
338 
339 //--------------------------------------------------------------------------------------------------
348 //--------------------------------------------------------------------------------------------------
350 (
351  le_gnss_ConstellationBitMask_t constellationMask
354 );
355 
356 //--------------------------------------------------------------------------------------------------
364 //--------------------------------------------------------------------------------------------------
366 (
367  le_gnss_ConstellationBitMask_t* constellationMaskPtr
370 );
371 
372 //--------------------------------------------------------------------------------------------------
380 //--------------------------------------------------------------------------------------------------
382 (
383  void
384 );
385 
386 //--------------------------------------------------------------------------------------------------
394 //--------------------------------------------------------------------------------------------------
396 (
397  void
398 );
399 
400 //--------------------------------------------------------------------------------------------------
410 //--------------------------------------------------------------------------------------------------
412 (
413  int fd
416 );
417 
418 //--------------------------------------------------------------------------------------------------
426 //--------------------------------------------------------------------------------------------------
428 (
429  le_clk_Time_t* startTimePtr,
432 
433  le_clk_Time_t* stopTimePtr
436 );
437 
438 //--------------------------------------------------------------------------------------------------
448 //--------------------------------------------------------------------------------------------------
450 (
451  void
452 );
453 
454 //--------------------------------------------------------------------------------------------------
464 //--------------------------------------------------------------------------------------------------
466 (
467  void
468 );
469 
470 //--------------------------------------------------------------------------------------------------
479 //--------------------------------------------------------------------------------------------------
481 (
482  void
483 );
484 
485 //--------------------------------------------------------------------------------------------------
494 //--------------------------------------------------------------------------------------------------
496 (
497  void
498 );
499 
500 //--------------------------------------------------------------------------------------------------
509 //--------------------------------------------------------------------------------------------------
511 (
512  void
513 );
514 
515 //--------------------------------------------------------------------------------------------------
524 //--------------------------------------------------------------------------------------------------
526 (
527  void
528 );
529 
530 //--------------------------------------------------------------------------------------------------
539 //--------------------------------------------------------------------------------------------------
541 (
542  uint32_t* ttffPtr
545 );
546 
547 //--------------------------------------------------------------------------------------------------
557 //--------------------------------------------------------------------------------------------------
559 (
560  void
561 );
562 
563 //--------------------------------------------------------------------------------------------------
573 //--------------------------------------------------------------------------------------------------
575 (
576  void
577 );
578 
579 //--------------------------------------------------------------------------------------------------
589 //--------------------------------------------------------------------------------------------------
591 (
592  le_gnss_AssistedMode_t assistedMode
595 );
596 
597 //--------------------------------------------------------------------------------------------------
605 //--------------------------------------------------------------------------------------------------
607 (
608  le_gnss_AssistedMode_t* assistedModePtr
611 );
612 
613 //--------------------------------------------------------------------------------------------------
625 //--------------------------------------------------------------------------------------------------
627 (
628  const char* suplServerUrl
631 );
632 
633 //--------------------------------------------------------------------------------------------------
643 //--------------------------------------------------------------------------------------------------
645 (
646  uint8_t suplCertificateId,
650 
651  uint16_t suplCertificateLen,
654 
655  const char* suplCertificate
658 );
659 
660 //--------------------------------------------------------------------------------------------------
670 //--------------------------------------------------------------------------------------------------
672 (
673  uint8_t suplCertificateId
677 );
678 
679 
680 #endif // LE_GNSS_INTERFACE_H_INCLUDE_GUARD
681 
le_gnss_AssistedMode_t
Definition: le_gnss_interface.h:308
le_result_t le_gnss_InjectSuplCertificate(uint8_t suplCertificateId, uint16_t suplCertificateLen, const char *suplCertificate)
le_result_t le_gnss_SetSuplServerUrl(const char *suplServerUrl)
le_result_t
Definition: le_basics.h:35
le_result_t le_gnss_Start(void)
Standalone mode.
Definition: le_gnss_interface.h:310
GLONASS constellation used in solution.
Definition: le_gnss_interface.h:334
le_result_t le_gnss_ForceFactoryRestart(void)
le_result_t le_gnss_LoadExtendedEphemerisFile(int fd)
void le_gnss_DisconnectService(void)
le_result_t le_gnss_ForceColdRestart(void)
le_result_t le_gnss_ForceWarmRestart(void)
le_result_t le_gnss_GetTtff(uint32_t *ttffPtr)
le_result_t le_gnss_GetConstellation(le_gnss_ConstellationBitMask_t *constellationMaskPtr)
le_result_t le_gnss_EnableExtendedEphemerisFile(void)
le_result_t le_gnss_GetSuplAssistedMode(le_gnss_AssistedMode_t *assistedModePtr)
le_result_t le_gnss_DisableExtendedEphemerisFile(void)
Definition: le_clock.h:92
le_result_t le_gnss_DeleteSuplCertificate(uint8_t suplCertificateId)
GPS constellation used in solution.
Definition: le_gnss_interface.h:331
MS-Assisted mode.
Definition: le_gnss_interface.h:316
le_result_t le_gnss_SetSuplAssistedMode(le_gnss_AssistedMode_t assistedMode)
le_gnss_ConstellationBitMask_t
Definition: le_gnss_interface.h:329
void le_gnss_ConnectService(void)
le_result_t le_gnss_Stop(void)
le_result_t le_gnss_Disable(void)
le_result_t le_gnss_SetConstellation(le_gnss_ConstellationBitMask_t constellationMask)
le_result_t le_gnss_GetExtendedEphemerisValidity(le_clk_Time_t *startTimePtr, le_clk_Time_t *stopTimePtr)
le_result_t le_gnss_ForceHotRestart(void)
MS-Based mode.
Definition: le_gnss_interface.h:313
le_result_t le_gnss_Enable(void)