293 #ifndef LE_MRC_H_INCLUDE_GUARD
294 #define LE_MRC_H_INCLUDE_GUARD
306 const char* serviceInstanceName
330 #define LE_MRC_MCC_LEN 3
336 #define LE_MRC_MCC_BYTES 4
342 #define LE_MRC_MNC_LEN 3
348 #define LE_MRC_MNC_BYTES 4
357 #define LE_MRC_BITMASK_RAT_CDMA 1
363 #define LE_MRC_BITMASK_RAT_GSM 2
369 #define LE_MRC_BITMASK_RAT_UMTS 4
375 #define LE_MRC_BITMASK_RAT_LTE 8
384 #define LE_MRC_BITMASK_BAND_CLASS_0_A_SYSTEM 1
390 #define LE_MRC_BITMASK_BAND_CLASS_0_B_SYSTEM 2
396 #define LE_MRC_BITMASK_BAND_CLASS_1_ALL_BLOCKS 4
402 #define LE_MRC_BITMASK_BAND_CLASS_2_PLACEHOLDER 8
408 #define LE_MRC_BITMASK_BAND_CLASS_3_A_SYSTEM 16
414 #define LE_MRC_BITMASK_BAND_CLASS_4_ALL_BLOCKS 32
420 #define LE_MRC_BITMASK_BAND_CLASS_5_ALL_BLOCKS 64
426 #define LE_MRC_BITMASK_BAND_CLASS_6 128
432 #define LE_MRC_BITMASK_BAND_CLASS_7 256
438 #define LE_MRC_BITMASK_BAND_CLASS_8 512
444 #define LE_MRC_BITMASK_BAND_CLASS_9 1024
450 #define LE_MRC_BITMASK_BAND_CLASS_10 2048
456 #define LE_MRC_BITMASK_BAND_CLASS_11 4096
462 #define LE_MRC_BITMASK_BAND_CLASS_12 8192
468 #define LE_MRC_BITMASK_BAND_CLASS_14 16384
474 #define LE_MRC_BITMASK_BAND_CLASS_15 32768
480 #define LE_MRC_BITMASK_BAND_CLASS_16 65536
486 #define LE_MRC_BITMASK_BAND_CLASS_17 131072
492 #define LE_MRC_BITMASK_BAND_CLASS_18 262144
498 #define LE_MRC_BITMASK_BAND_CLASS_19 524288
504 #define LE_MRC_BITMASK_BAND_GSM_DCS_1800 1048576
510 #define LE_MRC_BITMASK_BAND_EGSM_900 2097152
516 #define LE_MRC_BITMASK_BAND_PRI_GSM_900 4194304
522 #define LE_MRC_BITMASK_BAND_GSM_450 8388608
528 #define LE_MRC_BITMASK_BAND_GSM_480 16777216
534 #define LE_MRC_BITMASK_BAND_GSM_750 33554432
540 #define LE_MRC_BITMASK_BAND_GSM_850 67108864
546 #define LE_MRC_BITMASK_BAND_GSMR_900 134217728
552 #define LE_MRC_BITMASK_BAND_GSM_PCS_1900 268435456
558 #define LE_MRC_BITMASK_BAND_WCDMA_EU_J_CH_IMT_2100 536870912
564 #define LE_MRC_BITMASK_BAND_WCDMA_US_PCS_1900 1073741824
570 #define LE_MRC_BITMASK_BAND_WCDMA_EU_CH_DCS_1800 2147483648
576 #define LE_MRC_BITMASK_BAND_WCDMA_US_1700 4294967296
582 #define LE_MRC_BITMASK_BAND_WCDMA_US_850 8589934592
588 #define LE_MRC_BITMASK_BAND_WCDMA_J_800 17179869184
594 #define LE_MRC_BITMASK_BAND_WCDMA_EU_2600 34359738368
600 #define LE_MRC_BITMASK_BAND_WCDMA_EU_J_900 68719476736
606 #define LE_MRC_BITMASK_BAND_WCDMA_J_1700 137438953472
615 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_1 1
621 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_2 2
627 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_3 4
633 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_4 8
639 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_5 16
645 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_6 32
651 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_7 64
657 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_8 128
663 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_9 256
669 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_10 512
675 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_11 1024
681 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_12 2048
687 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_13 4096
693 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_14 8192
699 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_17 16384
705 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_18 32768
711 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_19 65536
717 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_20 131072
723 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_21 262144
729 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_24 524288
735 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_25 1048576
741 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_33 2097152
747 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_34 4194304
753 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_35 8388608
759 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_36 16777216
765 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_37 33554432
771 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_38 67108864
777 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_39 134217728
783 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_40 268435456
789 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_41 536870912
795 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_42 1073741824
801 #define LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_43 2147483648
810 #define LE_MRC_BITMASK_TDSCDMA_BAND_A 1
816 #define LE_MRC_BITMASK_TDSCDMA_BAND_B 2
822 #define LE_MRC_BITMASK_TDSCDMA_BAND_C 4
828 #define LE_MRC_BITMASK_TDSCDMA_BAND_D 8
834 #define LE_MRC_BITMASK_TDSCDMA_BAND_E 16
840 #define LE_MRC_BITMASK_TDSCDMA_BAND_F 32
925 LE_MRC_RAT_LTE_UMTS_GSM,
930 LE_MRC_RAT_CDMA_UMTS,
931 LE_MRC_RAT_CDMA_UMTS_GSM,
933 LE_MRC_RAT_CDMA_LTE_GSM,
934 LE_MRC_RAT_CDMA_LTE_UMTS,
1070 uint32_t* qualityPtr
1223 size_t mccPtrNumElements,
1230 size_t mncPtrNumElements
1258 size_t namePtrNumElements
1380 size_t nameStrNumElements
1522 #endif // LE_MRC_H_INCLUDE_GUARD
uint32_t le_mrc_GetNeighborCellId(le_mrc_CellInfoRef_t ngbrCellInfoRef)
le_result_t le_mrc_GetSignalQual(uint32_t *qualityPtr)
void le_mrc_DeleteNeighborCellsInfo(le_mrc_NeighborCellsRef_t ngbrCellsRef)
le_mrc_CellInfoRef_t le_mrc_GetNextNeighborCellInfo(le_mrc_NeighborCellsRef_t ngbrCellsRef)
le_result_t le_mrc_GetNetRegState(le_mrc_NetRegState_t *statePtr)
le_mrc_RatChangeHandlerRef_t le_mrc_AddRatChangeHandler(le_mrc_RatChangeHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_mrc_GetRadioPower(le_onoff_t *powerPtr)
le_result_t
Definition: le_basics.h:34
le_mrc_ScanInformationListRef_t le_mrc_PerformCellularNetworkScan(le_mrc_Rat_t ratMask)
le_result_t le_mrc_SetRadioPower(le_onoff_t power)
struct le_mrc_NeighborCells * le_mrc_NeighborCellsRef_t
Definition: le_mrc_interface.h:872
UMTS network.
Definition: le_mrc_interface.h:916
struct le_mrc_RatChangeHandler * le_mrc_RatChangeHandlerRef_t
Definition: le_mrc_interface.h:953
le_mrc_CellInfoRef_t le_mrc_GetFirstNeighborCellInfo(le_mrc_NeighborCellsRef_t ngbrCellsRef)
Registered to a roaming network.
Definition: le_mrc_interface.h:894
struct le_mrc_NetRegStateHandler * le_mrc_NetRegStateHandlerRef_t
Definition: le_mrc_interface.h:945
struct le_mrc_ScanInformationList * le_mrc_ScanInformationListRef_t
Definition: le_mrc_interface.h:856
bool le_mrc_IsCellularNetworkRatAvailable(le_mrc_ScanInformationRef_t scanInformationRef, le_mrc_Rat_t rat)
LTE network.
Definition: le_mrc_interface.h:920
struct le_mrc_CellInfo * le_mrc_CellInfoRef_t
Definition: le_mrc_interface.h:864
void le_mrc_DeleteCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
int32_t le_mrc_GetNeighborCellRxLevel(le_mrc_CellInfoRef_t ngbrCellInfoRef)
le_mrc_NeighborCellsRef_t le_mrc_GetNeighborCellsInfo(void)
Registered, home network.
Definition: le_mrc_interface.h:885
GSM network.
Definition: le_mrc_interface.h:913
CDMA network.
Definition: le_mrc_interface.h:926
le_mrc_Rat_t
Definition: le_mrc_interface.h:908
void le_mrc_RemoveRatChangeHandler(le_mrc_RatChangeHandlerRef_t addHandlerRef)
Unknown.
Definition: le_mrc_interface.h:910
bool le_mrc_IsCellularNetworkForbidden(le_mrc_ScanInformationRef_t scanInformationRef)
struct le_mrc_ScanInformation * le_mrc_ScanInformationRef_t
Definition: le_mrc_interface.h:848
void le_mrc_StopClient(void)
le_result_t le_mrc_RegisterCellularNetwork(const char *mcc, const char *mnc)
void le_mrc_StartClient(const char *serviceInstanceName)
le_mrc_ScanInformationRef_t le_mrc_GetNextCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
le_result_t le_mrc_GetRadioAccessTechInUse(le_mrc_Rat_t *ratPtr)
void(* le_mrc_NetRegStateHandlerFunc_t)(le_mrc_NetRegState_t state, void *contextPtr)
Definition: le_mrc_interface.h:967
le_result_t le_mrc_GetCellularNetworkMccMnc(le_mrc_ScanInformationRef_t scanInformationRef, char *mccPtr, size_t mccPtrNumElements, char *mncPtr, size_t mncPtrNumElements)
le_result_t le_mrc_GetCellularNetworkName(le_mrc_ScanInformationRef_t scanInformationRef, char *namePtr, size_t namePtrNumElements)
bool le_mrc_IsCellularNetworkHome(le_mrc_ScanInformationRef_t scanInformationRef)
Not registered but currently searching for a new operator.
Definition: le_mrc_interface.h:888
void(* le_mrc_RatChangeHandlerFunc_t)(le_mrc_Rat_t rat, void *contextPtr)
Definition: le_mrc_interface.h:984
bool le_mrc_IsCellularNetworkInUse(le_mrc_ScanInformationRef_t scanInformationRef)
le_result_t le_mrc_GetHomeNetworkName(char *nameStr, size_t nameStrNumElements)
le_mrc_NetRegState_t
Definition: le_mrc_interface.h:880
uint32_t le_mrc_GetNeighborCellLocAreaCode(le_mrc_CellInfoRef_t ngbrCellInfoRef)
le_mrc_NetRegStateHandlerRef_t le_mrc_AddNetRegStateHandler(le_mrc_NetRegStateHandlerFunc_t handlerPtr, void *contextPtr)
Unknown state.
Definition: le_mrc_interface.h:897
bool le_mrc_IsCellularNetworkAvailable(le_mrc_ScanInformationRef_t scanInformationRef)
Registration was denied, usually because of invalid access credentials.
Definition: le_mrc_interface.h:891
Not registered and not currently searching for new operator.
Definition: le_mrc_interface.h:882
void le_mrc_RemoveNetRegStateHandler(le_mrc_NetRegStateHandlerRef_t addHandlerRef)
le_mrc_ScanInformationRef_t le_mrc_GetFirstCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
le_onoff_t
Definition: le_basics.h:64