All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mrc_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 
300 #ifndef MRC_INTERFACE_H_INCLUDE_GUARD
301 #define MRC_INTERFACE_H_INCLUDE_GUARD
302 
303 
304 #include "legato.h"
305 
306 // User customizable include file
307 #include "userInclude.h"
308 
309 
310 //--------------------------------------------------------------------------------------------------
314 //--------------------------------------------------------------------------------------------------
316 (
317  const char* serviceInstanceName
319 );
320 
321 //--------------------------------------------------------------------------------------------------
325 //--------------------------------------------------------------------------------------------------
327 (
328  void
329 );
330 
331 
332 //--------------------------------------------------------------------------------------------------
336 //--------------------------------------------------------------------------------------------------
337 typedef struct le_mrc_NetRegStateHandler* le_mrc_NetRegStateHandlerRef_t;
338 
339 
340 //--------------------------------------------------------------------------------------------------
344 //--------------------------------------------------------------------------------------------------
345 typedef struct le_mrc_RatChangeHandler* le_mrc_RatChangeHandlerRef_t;
346 
347 
348 //--------------------------------------------------------------------------------------------------
357 //--------------------------------------------------------------------------------------------------
358 typedef void (*le_mrc_NetRegStateHandlerFunc_t)
359 (
360  le_mrc_NetRegState_t state,
361  void* contextPtr
362 );
363 
364 
365 //--------------------------------------------------------------------------------------------------
374 //--------------------------------------------------------------------------------------------------
375 typedef void (*le_mrc_RatChangeHandlerFunc_t)
376 (
377  le_mrc_Rat_t rat,
378  void* contextPtr
379 );
380 
381 //--------------------------------------------------------------------------------------------------
385 //--------------------------------------------------------------------------------------------------
387 (
390 
391  void* contextPtr
393 );
394 
395 //--------------------------------------------------------------------------------------------------
399 //--------------------------------------------------------------------------------------------------
401 (
402  le_mrc_NetRegStateHandlerRef_t addHandlerRef
404 );
405 
406 //--------------------------------------------------------------------------------------------------
410 //--------------------------------------------------------------------------------------------------
412 (
415 
416  void* contextPtr
418 );
419 
420 //--------------------------------------------------------------------------------------------------
424 //--------------------------------------------------------------------------------------------------
426 (
427  le_mrc_RatChangeHandlerRef_t addHandlerRef
429 );
430 
431 //--------------------------------------------------------------------------------------------------
441 //--------------------------------------------------------------------------------------------------
443 (
444  le_mrc_NetRegState_t* statePtr
447 );
448 
449 //--------------------------------------------------------------------------------------------------
459 //--------------------------------------------------------------------------------------------------
461 (
462  uint32_t* qualityPtr
465 );
466 
467 //--------------------------------------------------------------------------------------------------
474 //--------------------------------------------------------------------------------------------------
476 (
477  le_onoff_t power
480 );
481 
482 //--------------------------------------------------------------------------------------------------
492 //--------------------------------------------------------------------------------------------------
494 (
495  le_onoff_t* powerPtr
498 );
499 
500 //--------------------------------------------------------------------------------------------------
510 //--------------------------------------------------------------------------------------------------
512 (
513  const char* mcc,
516 
517  const char* mnc
520 );
521 
522 //--------------------------------------------------------------------------------------------------
529 //--------------------------------------------------------------------------------------------------
531 (
532  le_mrc_Rat_t ratMask
535 );
536 
537 //--------------------------------------------------------------------------------------------------
548 //--------------------------------------------------------------------------------------------------
550 (
551  le_mrc_ScanInformationListRef_t scanInformationListRef
554 );
555 
556 //--------------------------------------------------------------------------------------------------
567 //--------------------------------------------------------------------------------------------------
569 (
570  le_mrc_ScanInformationListRef_t scanInformationListRef
573 );
574 
575 //--------------------------------------------------------------------------------------------------
584 //--------------------------------------------------------------------------------------------------
586 (
587  le_mrc_ScanInformationListRef_t scanInformationListRef
590 );
591 
592 //--------------------------------------------------------------------------------------------------
604 //--------------------------------------------------------------------------------------------------
606 (
607  le_mrc_ScanInformationRef_t scanInformationRef,
610 
611  char* mccPtr,
614 
615  size_t mccPtrNumElements,
617 
618  char* mncPtr,
621 
622  size_t mncPtrNumElements
624 );
625 
626 //--------------------------------------------------------------------------------------------------
639 //--------------------------------------------------------------------------------------------------
641 (
642  le_mrc_ScanInformationRef_t scanInformationRef,
645 
646  char* namePtr,
649 
650  size_t namePtrNumElements
652 );
653 
654 //--------------------------------------------------------------------------------------------------
665 //--------------------------------------------------------------------------------------------------
667 (
668  le_mrc_ScanInformationRef_t scanInformationRef,
671 
672  le_mrc_Rat_t rat
675 );
676 
677 //--------------------------------------------------------------------------------------------------
688 //--------------------------------------------------------------------------------------------------
690 (
691  le_mrc_ScanInformationRef_t scanInformationRef
694 );
695 
696 //--------------------------------------------------------------------------------------------------
707 //--------------------------------------------------------------------------------------------------
709 (
710  le_mrc_ScanInformationRef_t scanInformationRef
713 );
714 
715 //--------------------------------------------------------------------------------------------------
726 //--------------------------------------------------------------------------------------------------
728 (
729  le_mrc_ScanInformationRef_t scanInformationRef
732 );
733 
734 //--------------------------------------------------------------------------------------------------
745 //--------------------------------------------------------------------------------------------------
747 (
748  le_mrc_ScanInformationRef_t scanInformationRef
751 );
752 
753 //--------------------------------------------------------------------------------------------------
765 //--------------------------------------------------------------------------------------------------
767 (
768  char* nameStr,
771 
772  size_t nameStrNumElements
774 );
775 
776 //--------------------------------------------------------------------------------------------------
786 //--------------------------------------------------------------------------------------------------
788 (
789  le_mrc_Rat_t* ratPtr
792 );
793 
794 //--------------------------------------------------------------------------------------------------
802 //--------------------------------------------------------------------------------------------------
804 (
805  void
806 );
807 
808 //--------------------------------------------------------------------------------------------------
816 //--------------------------------------------------------------------------------------------------
818 (
819  le_mrc_NeighborCellsRef_t ngbrCellsRef
822 );
823 
824 //--------------------------------------------------------------------------------------------------
835 //--------------------------------------------------------------------------------------------------
837 (
838  le_mrc_NeighborCellsRef_t ngbrCellsRef
841 );
842 
843 //--------------------------------------------------------------------------------------------------
854 //--------------------------------------------------------------------------------------------------
856 (
857  le_mrc_NeighborCellsRef_t ngbrCellsRef
860 );
861 
862 //--------------------------------------------------------------------------------------------------
871 //--------------------------------------------------------------------------------------------------
873 (
874  le_mrc_CellInfoRef_t ngbrCellInfoRef
877 );
878 
879 //--------------------------------------------------------------------------------------------------
888 //--------------------------------------------------------------------------------------------------
890 (
891  le_mrc_CellInfoRef_t ngbrCellInfoRef
894 );
895 
896 //--------------------------------------------------------------------------------------------------
905 //--------------------------------------------------------------------------------------------------
907 (
908  le_mrc_CellInfoRef_t ngbrCellInfoRef
911 );
912 
913 
914 #endif // MRC_INTERFACE_H_INCLUDE_GUARD
915 
bool le_mrc_IsCellularNetworkInUse(le_mrc_ScanInformationRef_t scanInformationRef)
le_result_t le_mrc_GetNetRegState(le_mrc_NetRegState_t *statePtr)
le_result_t le_mrc_GetSignalQual(uint32_t *qualityPtr)
struct le_mrc_NetRegStateHandler * le_mrc_NetRegStateHandlerRef_t
Definition: mrc_interface.h:337
le_mrc_NetRegStateHandlerRef_t le_mrc_AddNetRegStateHandler(le_mrc_NetRegStateHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_mrc_GetHomeNetworkName(char *nameStr, size_t nameStrNumElements)
le_mrc_NetRegState_t
Definition: le_mrc.h:141
le_mrc_RatChangeHandlerRef_t le_mrc_AddRatChangeHandler(le_mrc_RatChangeHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_mrc_RegisterCellularNetwork(const char *mcc, const char *mnc)
le_result_t
Definition: le_basics.h:34
void(* le_mrc_NetRegStateHandlerFunc_t)(le_mrc_NetRegState_t state, void *contextPtr)
Definition: mrc_interface.h:359
void le_mrc_StartClient(const char *serviceInstanceName)
bool le_mrc_IsCellularNetworkRatAvailable(le_mrc_ScanInformationRef_t scanInformationRef, le_mrc_Rat_t rat)
struct le_mrc_NeighborCells * le_mrc_NeighborCellsRef_t
Definition: le_mrc.h:202
le_mrc_ScanInformationRef_t le_mrc_GetFirstCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
void le_mrc_StopClient(void)
bool le_mrc_IsCellularNetworkForbidden(le_mrc_ScanInformationRef_t scanInformationRef)
le_result_t le_mrc_GetCellularNetworkMccMnc(le_mrc_ScanInformationRef_t scanInformationRef, char *mccPtr, size_t mccPtrNumElements, char *mncPtr, size_t mncPtrNumElements)
struct le_mrc_ScanInformation * le_mrc_ScanInformationRef_t
Definition: le_mrc.h:181
le_result_t le_mrc_GetCellularNetworkName(le_mrc_ScanInformationRef_t scanInformationRef, char *namePtr, size_t namePtrNumElements)
le_result_t le_mrc_GetRadioAccessTechInUse(le_mrc_Rat_t *ratPtr)
void le_mrc_RemoveNetRegStateHandler(le_mrc_NetRegStateHandlerRef_t addHandlerRef)
struct le_mrc_RatChangeHandler * le_mrc_RatChangeHandlerRef_t
Definition: mrc_interface.h:345
le_result_t le_mrc_GetRadioPower(le_onoff_t *powerPtr)
le_mrc_NeighborCellsRef_t le_mrc_GetNeighborCellsInfo(void)
struct le_mrc_RatChangeHandler * le_mrc_RatChangeHandlerRef_t
Definition: le_mrc.h:216
void le_mrc_DeleteCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
struct le_mrc_NetRegStateHandler * le_mrc_NetRegStateHandlerRef_t
Definition: le_mrc.h:209
bool le_mrc_IsCellularNetworkAvailable(le_mrc_ScanInformationRef_t scanInformationRef)
le_mrc_CellInfoRef_t le_mrc_GetNextNeighborCellInfo(le_mrc_NeighborCellsRef_t ngbrCellsRef)
bool le_mrc_IsCellularNetworkHome(le_mrc_ScanInformationRef_t scanInformationRef)
le_mrc_ScanInformationRef_t le_mrc_GetNextCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
le_mrc_ScanInformationListRef_t le_mrc_PerformCellularNetworkScan(le_mrc_Rat_t ratMask)
void le_mrc_RemoveRatChangeHandler(le_mrc_RatChangeHandlerRef_t addHandlerRef)
uint32_t le_mrc_GetNeighborCellId(le_mrc_CellInfoRef_t ngbrCellInfoRef)
void le_mrc_DeleteNeighborCellsInfo(le_mrc_NeighborCellsRef_t ngbrCellsRef)
le_mrc_Rat_t
Definition: le_mrc.h:158
int32_t le_mrc_GetNeighborCellRxLevel(le_mrc_CellInfoRef_t ngbrCellInfoRef)
uint32_t le_mrc_GetNeighborCellLocAreaCode(le_mrc_CellInfoRef_t ngbrCellInfoRef)
struct le_mrc_CellInfo * le_mrc_CellInfoRef_t
Definition: le_mrc.h:195
struct le_mrc_ScanInformationList * le_mrc_ScanInformationListRef_t
Definition: le_mrc.h:188
le_mrc_CellInfoRef_t le_mrc_GetFirstNeighborCellInfo(le_mrc_NeighborCellsRef_t ngbrCellsRef)
void(* le_mrc_RatChangeHandlerFunc_t)(le_mrc_Rat_t rat, void *contextPtr)
Definition: mrc_interface.h:376
le_onoff_t
Definition: le_basics.h:64
le_result_t le_mrc_SetRadioPower(le_onoff_t power)