le_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 
314 #ifndef LE_MRC_INTERFACE_H_INCLUDE_GUARD
315 #define LE_MRC_INTERFACE_H_INCLUDE_GUARD
316 
317 
318 #include "legato.h"
319 
320 //--------------------------------------------------------------------------------------------------
324 //--------------------------------------------------------------------------------------------------
326 (
327  void
328 );
329 
330 //--------------------------------------------------------------------------------------------------
334 //--------------------------------------------------------------------------------------------------
336 (
337  void
338 );
339 
340 
341 //--------------------------------------------------------------------------------------------------
345 //--------------------------------------------------------------------------------------------------
346 #define LE_MRC_MCC_LEN 3
347 
348 
349 //--------------------------------------------------------------------------------------------------
354 //--------------------------------------------------------------------------------------------------
355 #define LE_MRC_MCC_BYTES 4
356 
357 
358 //--------------------------------------------------------------------------------------------------
362 //--------------------------------------------------------------------------------------------------
363 #define LE_MRC_MNC_LEN 3
364 
365 
366 //--------------------------------------------------------------------------------------------------
371 //--------------------------------------------------------------------------------------------------
372 #define LE_MRC_MNC_BYTES 4
373 
374 
375 //--------------------------------------------------------------------------------------------------
379 //--------------------------------------------------------------------------------------------------
380 typedef enum
381 {
382  LE_MRC_BITMASK_BAND_CLASS_0_A_SYSTEM = 0x1,
383  LE_MRC_BITMASK_BAND_CLASS_0_B_SYSTEM = 0x2,
384  LE_MRC_BITMASK_BAND_CLASS_1_ALL_BLOCKS = 0x4,
385  LE_MRC_BITMASK_BAND_CLASS_2_PLACEHOLDER = 0x8,
386  LE_MRC_BITMASK_BAND_CLASS_3_A_SYSTEM = 0x10,
387  LE_MRC_BITMASK_BAND_CLASS_4_ALL_BLOCKS = 0x20,
388  LE_MRC_BITMASK_BAND_CLASS_5_ALL_BLOCKS = 0x40,
389  LE_MRC_BITMASK_BAND_CLASS_6 = 0x80,
390  LE_MRC_BITMASK_BAND_CLASS_7 = 0x100,
391  LE_MRC_BITMASK_BAND_CLASS_8 = 0x200,
392  LE_MRC_BITMASK_BAND_CLASS_9 = 0x400,
393  LE_MRC_BITMASK_BAND_CLASS_10 = 0x800,
394  LE_MRC_BITMASK_BAND_CLASS_11 = 0x1000,
395  LE_MRC_BITMASK_BAND_CLASS_12 = 0x2000,
396  LE_MRC_BITMASK_BAND_CLASS_14 = 0x4000,
397  LE_MRC_BITMASK_BAND_CLASS_15 = 0x8000,
398  LE_MRC_BITMASK_BAND_CLASS_16 = 0x10000,
399  LE_MRC_BITMASK_BAND_CLASS_17 = 0x20000,
400  LE_MRC_BITMASK_BAND_CLASS_18 = 0x40000,
401  LE_MRC_BITMASK_BAND_CLASS_19 = 0x80000,
402  LE_MRC_BITMASK_BAND_GSM_DCS_1800 = 0x100000,
403  LE_MRC_BITMASK_BAND_EGSM_900 = 0x200000,
404  LE_MRC_BITMASK_BAND_PRI_GSM_900 = 0x400000,
405  LE_MRC_BITMASK_BAND_GSM_450 = 0x800000,
406  LE_MRC_BITMASK_BAND_GSM_480 = 0x1000000,
407  LE_MRC_BITMASK_BAND_GSM_750 = 0x2000000,
408  LE_MRC_BITMASK_BAND_GSM_850 = 0x4000000,
409  LE_MRC_BITMASK_BAND_GSMR_900 = 0x8000000,
410  LE_MRC_BITMASK_BAND_GSM_PCS_1900 = 0x10000000,
411  LE_MRC_BITMASK_BAND_WCDMA_EU_J_CH_IMT_2100 = 0x20000000,
412  LE_MRC_BITMASK_BAND_WCDMA_US_PCS_1900 = 0x40000000,
413  LE_MRC_BITMASK_BAND_WCDMA_EU_CH_DCS_1800 = 0x80000000,
414  LE_MRC_BITMASK_BAND_WCDMA_US_1700 = 0x100000000,
415  LE_MRC_BITMASK_BAND_WCDMA_US_850 = 0x200000000,
416  LE_MRC_BITMASK_BAND_WCDMA_J_800 = 0x400000000,
417  LE_MRC_BITMASK_BAND_WCDMA_EU_2600 = 0x800000000,
418  LE_MRC_BITMASK_BAND_WCDMA_EU_J_900 = 0x1000000000,
419  LE_MRC_BITMASK_BAND_WCDMA_J_1700 = 0x2000000000
420 }
422 
423 
424 //--------------------------------------------------------------------------------------------------
429 //--------------------------------------------------------------------------------------------------
430 typedef enum
431 {
432  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_1 = 0x1,
433  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_2 = 0x2,
434  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_3 = 0x4,
435  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_4 = 0x8,
436  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_5 = 0x10,
437  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_6 = 0x20,
438  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_7 = 0x40,
439  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_8 = 0x80,
440  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_9 = 0x100,
441  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_10 = 0x200,
442  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_11 = 0x400,
443  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_12 = 0x800,
444  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_13 = 0x1000,
445  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_14 = 0x2000,
446  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_17 = 0x4000,
447  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_18 = 0x8000,
448  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_19 = 0x10000,
449  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_20 = 0x20000,
450  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_21 = 0x40000,
451  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_24 = 0x80000,
452  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_25 = 0x100000,
453  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_33 = 0x200000,
454  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_34 = 0x400000,
455  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_35 = 0x800000,
456  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_36 = 0x1000000,
457  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_37 = 0x2000000,
458  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_38 = 0x4000000,
459  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_39 = 0x8000000,
460  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_40 = 0x10000000,
461  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_41 = 0x20000000,
462  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_42 = 0x40000000,
463  LE_MRC_BITMASK_LTE_BAND_E_UTRA_OP_BAND_43 = 0x80000000
464 }
466 
467 
468 //--------------------------------------------------------------------------------------------------
473 //--------------------------------------------------------------------------------------------------
474 typedef enum
475 {
476  LE_MRC_BITMASK_TDSCDMA_BAND_A = 0x1,
477  LE_MRC_BITMASK_TDSCDMA_BAND_B = 0x2,
478  LE_MRC_BITMASK_TDSCDMA_BAND_C = 0x4,
479  LE_MRC_BITMASK_TDSCDMA_BAND_D = 0x8,
480  LE_MRC_BITMASK_TDSCDMA_BAND_E = 0x10,
481  LE_MRC_BITMASK_TDSCDMA_BAND_F = 0x20
482 }
484 
485 
486 //--------------------------------------------------------------------------------------------------
491 //--------------------------------------------------------------------------------------------------
492 #define LE_MRC_NETWORK_NAME_MAX_LEN 100
493 
494 
495 //--------------------------------------------------------------------------------------------------
499 //--------------------------------------------------------------------------------------------------
500 typedef struct le_mrc_ScanInformation* le_mrc_ScanInformationRef_t;
501 
502 
503 //--------------------------------------------------------------------------------------------------
507 //--------------------------------------------------------------------------------------------------
508 typedef struct le_mrc_ScanInformationList* le_mrc_ScanInformationListRef_t;
509 
510 
511 //--------------------------------------------------------------------------------------------------
515 //--------------------------------------------------------------------------------------------------
516 typedef struct le_mrc_PreferredOperator* le_mrc_PreferredOperatorRef_t;
517 
518 
519 //--------------------------------------------------------------------------------------------------
523 //--------------------------------------------------------------------------------------------------
524 typedef struct le_mrc_PreferredOperatorList* le_mrc_PreferredOperatorListRef_t;
525 
526 
527 //--------------------------------------------------------------------------------------------------
531 //--------------------------------------------------------------------------------------------------
532 typedef struct le_mrc_CellInfo* le_mrc_CellInfoRef_t;
533 
534 
535 //--------------------------------------------------------------------------------------------------
539 //--------------------------------------------------------------------------------------------------
540 typedef struct le_mrc_NeighborCells* le_mrc_NeighborCellsRef_t;
541 
542 
543 //--------------------------------------------------------------------------------------------------
547 //--------------------------------------------------------------------------------------------------
548 typedef struct le_mrc_Metrics* le_mrc_MetricsRef_t;
549 
550 
551 //--------------------------------------------------------------------------------------------------
555 //--------------------------------------------------------------------------------------------------
556 typedef enum
557 {
560 
563 
566 
569 
572 
575 }
577 
578 
579 //--------------------------------------------------------------------------------------------------
583 //--------------------------------------------------------------------------------------------------
584 typedef enum
585 {
588 
591 
594 
597 
600 }
602 
603 
604 //--------------------------------------------------------------------------------------------------
608 //--------------------------------------------------------------------------------------------------
609 typedef enum
610 {
613 
616 
619 
622 
625 
626  LE_MRC_BITMASK_RAT_MAX = 0x20
627 }
629 
630 
631 //--------------------------------------------------------------------------------------------------
635 //--------------------------------------------------------------------------------------------------
636 typedef struct le_mrc_NetRegStateEventHandler* le_mrc_NetRegStateEventHandlerRef_t;
637 
638 
639 //--------------------------------------------------------------------------------------------------
643 //--------------------------------------------------------------------------------------------------
644 typedef struct le_mrc_RatChangeHandler* le_mrc_RatChangeHandlerRef_t;
645 
646 
647 //--------------------------------------------------------------------------------------------------
651 //--------------------------------------------------------------------------------------------------
652 typedef struct le_mrc_SignalStrengthChangeHandler* le_mrc_SignalStrengthChangeHandlerRef_t;
653 
654 
655 //--------------------------------------------------------------------------------------------------
664 //--------------------------------------------------------------------------------------------------
665 typedef void (*le_mrc_NetRegStateHandlerFunc_t)
666 (
667  le_mrc_NetRegState_t state,
668  void* contextPtr
669 );
670 
671 
672 //--------------------------------------------------------------------------------------------------
681 //--------------------------------------------------------------------------------------------------
682 typedef void (*le_mrc_RatChangeHandlerFunc_t)
683 (
684  le_mrc_Rat_t rat,
685  void* contextPtr
686 );
687 
688 
689 //--------------------------------------------------------------------------------------------------
698 //--------------------------------------------------------------------------------------------------
700 (
701  int32_t ss,
702  void* contextPtr
703 );
704 
705 //--------------------------------------------------------------------------------------------------
711 //--------------------------------------------------------------------------------------------------
713 (
716 
717  void* contextPtr
719 );
720 
721 //--------------------------------------------------------------------------------------------------
725 //--------------------------------------------------------------------------------------------------
727 (
730 );
731 
732 //--------------------------------------------------------------------------------------------------
738 //--------------------------------------------------------------------------------------------------
740 (
743 
744  void* contextPtr
746 );
747 
748 //--------------------------------------------------------------------------------------------------
752 //--------------------------------------------------------------------------------------------------
754 (
755  le_mrc_RatChangeHandlerRef_t addHandlerRef
757 );
758 
759 //--------------------------------------------------------------------------------------------------
765 //--------------------------------------------------------------------------------------------------
767 (
768  le_mrc_Rat_t rat,
771 
772  int32_t lowerRangeThreshold,
775 
776  int32_t upperRangeThreshold,
779 
782 
783  void* contextPtr
785 );
786 
787 //--------------------------------------------------------------------------------------------------
791 //--------------------------------------------------------------------------------------------------
793 (
796 );
797 
798 //--------------------------------------------------------------------------------------------------
806 //--------------------------------------------------------------------------------------------------
808 (
809  void
810 );
811 
812 //--------------------------------------------------------------------------------------------------
823 //--------------------------------------------------------------------------------------------------
825 (
826  const char* mcc,
829 
830  const char* mnc
833 );
834 
835 //--------------------------------------------------------------------------------------------------
844 //--------------------------------------------------------------------------------------------------
846 (
847  bool* isManualPtrPtr,
850 
851  char* mccPtr,
854 
855  size_t mccPtrNumElements,
857 
858  char* mncPtr,
861 
862  size_t mncPtrNumElements
864 );
865 
866 //--------------------------------------------------------------------------------------------------
874 //--------------------------------------------------------------------------------------------------
876 (
877  le_mrc_RatBitMask_t ratMask
880 );
881 
882 //--------------------------------------------------------------------------------------------------
890 //--------------------------------------------------------------------------------------------------
892 (
893  le_mrc_RatBitMask_t* ratMaskPtrPtr
896 );
897 
898 //--------------------------------------------------------------------------------------------------
906 //--------------------------------------------------------------------------------------------------
908 (
909  le_mrc_BandBitMask_t bandMask
912 );
913 
914 //--------------------------------------------------------------------------------------------------
922 //--------------------------------------------------------------------------------------------------
924 (
925  le_mrc_BandBitMask_t* bandMaskPtrPtr
928 );
929 
930 //--------------------------------------------------------------------------------------------------
938 //--------------------------------------------------------------------------------------------------
940 (
941  le_mrc_LteBandBitMask_t bandMask
944 );
945 
946 //--------------------------------------------------------------------------------------------------
954 //--------------------------------------------------------------------------------------------------
956 (
957  le_mrc_LteBandBitMask_t* bandMaskPtrPtr
960 );
961 
962 //--------------------------------------------------------------------------------------------------
970 //--------------------------------------------------------------------------------------------------
972 (
976 );
977 
978 //--------------------------------------------------------------------------------------------------
986 //--------------------------------------------------------------------------------------------------
988 (
989  le_mrc_TdScdmaBandBitMask_t* bandMaskPtrPtr
992 );
993 
994 //--------------------------------------------------------------------------------------------------
1007 //--------------------------------------------------------------------------------------------------
1009 (
1010  const char* mcc,
1013 
1014  const char* mnc,
1017 
1018  le_mrc_RatBitMask_t ratMask
1021 );
1022 
1023 //--------------------------------------------------------------------------------------------------
1035 //--------------------------------------------------------------------------------------------------
1037 (
1038  const char* mcc,
1041 
1042  const char* mnc
1045 );
1046 
1047 //--------------------------------------------------------------------------------------------------
1055 //--------------------------------------------------------------------------------------------------
1057 (
1058  void
1059 );
1060 
1061 //--------------------------------------------------------------------------------------------------
1073 //--------------------------------------------------------------------------------------------------
1075 (
1076  le_mrc_PreferredOperatorListRef_t preferredOperatorListRef
1079 );
1080 
1081 //--------------------------------------------------------------------------------------------------
1093 //--------------------------------------------------------------------------------------------------
1095 (
1096  le_mrc_PreferredOperatorListRef_t preferredOperatorListRef
1099 );
1100 
1101 //--------------------------------------------------------------------------------------------------
1109 //--------------------------------------------------------------------------------------------------
1111 (
1112  le_mrc_PreferredOperatorListRef_t preferredOperatorListRef
1115 );
1116 
1117 //--------------------------------------------------------------------------------------------------
1125 //--------------------------------------------------------------------------------------------------
1127 (
1128  le_mrc_PreferredOperatorRef_t preferredOperatorRef,
1131 
1132  char* mccPtr,
1135 
1136  size_t mccPtrNumElements,
1138 
1139  char* mncPtr,
1142 
1143  size_t mncPtrNumElements,
1145 
1146  le_mrc_RatBitMask_t* ratMaskPtr
1149 );
1150 
1151 //--------------------------------------------------------------------------------------------------
1162 //--------------------------------------------------------------------------------------------------
1164 (
1165  le_mrc_NetRegState_t* statePtr
1168 );
1169 
1170 //--------------------------------------------------------------------------------------------------
1181 //--------------------------------------------------------------------------------------------------
1183 (
1184  uint32_t* qualityPtr
1188 );
1189 
1190 //--------------------------------------------------------------------------------------------------
1198 //--------------------------------------------------------------------------------------------------
1200 (
1201  le_onoff_t power
1204 );
1205 
1206 //--------------------------------------------------------------------------------------------------
1217 //--------------------------------------------------------------------------------------------------
1219 (
1220  le_onoff_t* powerPtr
1223 );
1224 
1225 //--------------------------------------------------------------------------------------------------
1236 //--------------------------------------------------------------------------------------------------
1238 (
1239  const char* mcc,
1242 
1243  const char* mnc
1246 );
1247 
1248 //--------------------------------------------------------------------------------------------------
1255 //--------------------------------------------------------------------------------------------------
1257 (
1258  le_mrc_RatBitMask_t ratMask
1261 );
1262 
1263 //--------------------------------------------------------------------------------------------------
1274 //--------------------------------------------------------------------------------------------------
1276 (
1277  le_mrc_ScanInformationListRef_t scanInformationListRef
1280 );
1281 
1282 //--------------------------------------------------------------------------------------------------
1293 //--------------------------------------------------------------------------------------------------
1295 (
1296  le_mrc_ScanInformationListRef_t scanInformationListRef
1299 );
1300 
1301 //--------------------------------------------------------------------------------------------------
1310 //--------------------------------------------------------------------------------------------------
1312 (
1313  le_mrc_ScanInformationListRef_t scanInformationListRef
1316 );
1317 
1318 //--------------------------------------------------------------------------------------------------
1331 //--------------------------------------------------------------------------------------------------
1333 (
1334  le_mrc_ScanInformationRef_t scanInformationRef,
1337 
1338  char* mccPtr,
1341 
1342  size_t mccPtrNumElements,
1344 
1345  char* mncPtr,
1348 
1349  size_t mncPtrNumElements
1351 );
1352 
1353 //--------------------------------------------------------------------------------------------------
1366 //--------------------------------------------------------------------------------------------------
1368 (
1369  le_mrc_ScanInformationRef_t scanInformationRef,
1372 
1373  char* namePtr,
1376 
1377  size_t namePtrNumElements
1379 );
1380 
1381 //--------------------------------------------------------------------------------------------------
1391 //--------------------------------------------------------------------------------------------------
1393 (
1394  le_mrc_ScanInformationRef_t scanInformationRef
1397 );
1398 
1399 //--------------------------------------------------------------------------------------------------
1410 //--------------------------------------------------------------------------------------------------
1412 (
1413  le_mrc_ScanInformationRef_t scanInformationRef
1416 );
1417 
1418 //--------------------------------------------------------------------------------------------------
1429 //--------------------------------------------------------------------------------------------------
1431 (
1432  le_mrc_ScanInformationRef_t scanInformationRef
1435 );
1436 
1437 //--------------------------------------------------------------------------------------------------
1448 //--------------------------------------------------------------------------------------------------
1450 (
1451  le_mrc_ScanInformationRef_t scanInformationRef
1454 );
1455 
1456 //--------------------------------------------------------------------------------------------------
1467 //--------------------------------------------------------------------------------------------------
1469 (
1470  le_mrc_ScanInformationRef_t scanInformationRef
1473 );
1474 
1475 //--------------------------------------------------------------------------------------------------
1488 //--------------------------------------------------------------------------------------------------
1490 (
1491  char* nameStr,
1494 
1495  size_t nameStrNumElements
1497 );
1498 
1499 //--------------------------------------------------------------------------------------------------
1508 //--------------------------------------------------------------------------------------------------
1510 (
1511  char* mccStr,
1514 
1515  size_t mccStrNumElements,
1517 
1518  char* mncStr,
1521 
1522  size_t mncStrNumElements
1524 );
1525 
1526 //--------------------------------------------------------------------------------------------------
1537 //--------------------------------------------------------------------------------------------------
1539 (
1540  le_mrc_Rat_t* ratPtr
1543 );
1544 
1545 //--------------------------------------------------------------------------------------------------
1553 //--------------------------------------------------------------------------------------------------
1555 (
1556  void
1557 );
1558 
1559 //--------------------------------------------------------------------------------------------------
1567 //--------------------------------------------------------------------------------------------------
1569 (
1570  le_mrc_NeighborCellsRef_t ngbrCellsRef
1573 );
1574 
1575 //--------------------------------------------------------------------------------------------------
1586 //--------------------------------------------------------------------------------------------------
1588 (
1589  le_mrc_NeighborCellsRef_t ngbrCellsRef
1592 );
1593 
1594 //--------------------------------------------------------------------------------------------------
1605 //--------------------------------------------------------------------------------------------------
1607 (
1608  le_mrc_NeighborCellsRef_t ngbrCellsRef
1611 );
1612 
1613 //--------------------------------------------------------------------------------------------------
1622 //--------------------------------------------------------------------------------------------------
1623 uint32_t le_mrc_GetNeighborCellId
1624 (
1625  le_mrc_CellInfoRef_t ngbrCellInfoRef
1628 );
1629 
1630 //--------------------------------------------------------------------------------------------------
1639 //--------------------------------------------------------------------------------------------------
1641 (
1642  le_mrc_CellInfoRef_t ngbrCellInfoRef
1645 );
1646 
1647 //--------------------------------------------------------------------------------------------------
1656 //--------------------------------------------------------------------------------------------------
1658 (
1659  le_mrc_CellInfoRef_t ngbrCellInfoRef
1662 );
1663 
1664 //--------------------------------------------------------------------------------------------------
1673 //--------------------------------------------------------------------------------------------------
1675 (
1676  le_mrc_CellInfoRef_t ngbrCellInfoRef
1679 );
1680 
1681 //--------------------------------------------------------------------------------------------------
1693 //--------------------------------------------------------------------------------------------------
1695 (
1696  le_mrc_CellInfoRef_t ngbrCellInfoRef
1699 );
1700 
1701 //--------------------------------------------------------------------------------------------------
1712 //--------------------------------------------------------------------------------------------------
1714 (
1715  le_mrc_CellInfoRef_t ngbrCellInfoRef,
1718 
1719  int32_t* rsrqPtr,
1723 
1724  int32_t* rsrpPtr
1728 );
1729 
1730 //--------------------------------------------------------------------------------------------------
1741 //--------------------------------------------------------------------------------------------------
1743 (
1744  le_mrc_CellInfoRef_t ngbrCellInfoRef,
1747 
1748  int32_t* rsrqPtr,
1752 
1753  int32_t* rsrpPtr
1757 );
1758 
1759 //--------------------------------------------------------------------------------------------------
1767 //--------------------------------------------------------------------------------------------------
1769 (
1770  void
1771 );
1772 
1773 //--------------------------------------------------------------------------------------------------
1781 //--------------------------------------------------------------------------------------------------
1783 (
1784  le_mrc_MetricsRef_t MetricsRef
1787 );
1788 
1789 //--------------------------------------------------------------------------------------------------
1798 //--------------------------------------------------------------------------------------------------
1800 (
1801  le_mrc_MetricsRef_t MetricsRef
1804 );
1805 
1806 //--------------------------------------------------------------------------------------------------
1817 //--------------------------------------------------------------------------------------------------
1819 (
1820  le_mrc_MetricsRef_t MetricsRef,
1823 
1824  int32_t* rssiPtr,
1827 
1828  uint32_t* berPtr
1831 );
1832 
1833 //--------------------------------------------------------------------------------------------------
1844 //--------------------------------------------------------------------------------------------------
1846 (
1847  le_mrc_MetricsRef_t MetricsRef,
1850 
1851  int32_t* ssPtr,
1854 
1855  uint32_t* blerPtr,
1858 
1859  int32_t* ecioPtr,
1862 
1863  int32_t* rscpPtr,
1866 
1867  int32_t* sinrPtr
1870 );
1871 
1872 //--------------------------------------------------------------------------------------------------
1884 //--------------------------------------------------------------------------------------------------
1886 (
1887  le_mrc_MetricsRef_t MetricsRef,
1890 
1891  int32_t* ssPtr,
1894 
1895  uint32_t* blerPtr,
1898 
1899  int32_t* rsrqPtr,
1902 
1903  int32_t* rsrpPtr,
1906 
1907  int32_t* snrPtr
1910 );
1911 
1912 //--------------------------------------------------------------------------------------------------
1924 //--------------------------------------------------------------------------------------------------
1926 (
1927  le_mrc_MetricsRef_t MetricsRef,
1930 
1931  int32_t* ssPtr,
1934 
1935  uint32_t* erPtr,
1938 
1939  int32_t* ecioPtr,
1942 
1943  int32_t* sinrPtr,
1946 
1947  int32_t* ioPtr
1950 );
1951 
1952 //--------------------------------------------------------------------------------------------------
1958 //--------------------------------------------------------------------------------------------------
1959 uint32_t le_mrc_GetServingCellId
1960 (
1961  void
1962 );
1963 
1964 //--------------------------------------------------------------------------------------------------
1970 //--------------------------------------------------------------------------------------------------
1972 (
1973  void
1974 );
1975 
1976 
1977 #endif // LE_MRC_INTERFACE_H_INCLUDE_GUARD
1978 
uint32_t le_mrc_GetNeighborCellId(le_mrc_CellInfoRef_t ngbrCellInfoRef)
LTE RAT Bit Mask.
Definition: le_mrc_interface.h:617
le_result_t le_mrc_GetGsmSignalMetrics(le_mrc_MetricsRef_t MetricsRef, int32_t *rssiPtr, uint32_t *berPtr)
CDMA RAT Bit Mask.
Definition: le_mrc_interface.h:620
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_SetAutomaticRegisterMode(void)
struct le_mrc_PreferredOperatorList * le_mrc_PreferredOperatorListRef_t
Definition: le_mrc_interface.h:524
struct le_mrc_PreferredOperator * le_mrc_PreferredOperatorRef_t
Definition: le_mrc_interface.h:516
le_mrc_SignalStrengthChangeHandlerRef_t le_mrc_AddSignalStrengthChangeHandler(le_mrc_Rat_t rat, int32_t lowerRangeThreshold, int32_t upperRangeThreshold, le_mrc_SignalStrengthChangeHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t le_mrc_GetRadioPower(le_onoff_t *powerPtr)
uint32_t le_mrc_GetServingCellId(void)
le_mrc_NetRegStateEventHandlerRef_t le_mrc_AddNetRegStateEventHandler(le_mrc_NetRegStateHandlerFunc_t handlerPtr, void *contextPtr)
le_result_t
Definition: le_basics.h:35
le_result_t le_mrc_SetRadioPower(le_onoff_t power)
struct le_mrc_NeighborCells * le_mrc_NeighborCellsRef_t
Definition: le_mrc_interface.h:540
le_result_t le_mrc_SetTdScdmaBandPreferences(le_mrc_TdScdmaBandBitMask_t bandMask)
struct le_mrc_Metrics * le_mrc_MetricsRef_t
Definition: le_mrc_interface.h:548
UMTS network.
Definition: le_mrc_interface.h:592
le_mrc_Rat_t le_mrc_GetRatOfSignalMetrics(le_mrc_MetricsRef_t MetricsRef)
struct le_mrc_NetRegStateEventHandler * le_mrc_NetRegStateEventHandlerRef_t
Definition: le_mrc_interface.h:636
le_result_t le_mrc_GetTdScdmaBandPreferences(le_mrc_TdScdmaBandBitMask_t *bandMaskPtrPtr)
void le_mrc_DeleteSignalMetrics(le_mrc_MetricsRef_t MetricsRef)
struct le_mrc_RatChangeHandler * le_mrc_RatChangeHandlerRef_t
Definition: le_mrc_interface.h:644
le_mrc_CellInfoRef_t le_mrc_GetFirstNeighborCellInfo(le_mrc_NeighborCellsRef_t ngbrCellsRef)
Registered to a roaming network.
Definition: le_mrc_interface.h:570
le_result_t le_mrc_GetCdmaSignalMetrics(le_mrc_MetricsRef_t MetricsRef, int32_t *ssPtr, uint32_t *erPtr, int32_t *ecioPtr, int32_t *sinrPtr, int32_t *ioPtr)
le_result_t le_mrc_GetNeighborCellLteIntraFreq(le_mrc_CellInfoRef_t ngbrCellInfoRef, int32_t *rsrqPtr, int32_t *rsrpPtr)
struct le_mrc_ScanInformationList * le_mrc_ScanInformationListRef_t
Definition: le_mrc_interface.h:508
LTE network.
Definition: le_mrc_interface.h:595
le_result_t le_mrc_GetRatPreferences(le_mrc_RatBitMask_t *ratMaskPtrPtr)
struct le_mrc_CellInfo * le_mrc_CellInfoRef_t
Definition: le_mrc_interface.h:532
le_mrc_ScanInformationListRef_t le_mrc_PerformCellularNetworkScan(le_mrc_RatBitMask_t ratMask)
le_result_t le_mrc_SetBandPreferences(le_mrc_BandBitMask_t bandMask)
le_result_t le_mrc_SetRatPreferences(le_mrc_RatBitMask_t ratMask)
void le_mrc_DeleteCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
int32_t le_mrc_GetNeighborCellRxLevel(le_mrc_CellInfoRef_t ngbrCellInfoRef)
le_result_t le_mrc_GetNeighborCellLteInterFreq(le_mrc_CellInfoRef_t ngbrCellInfoRef, int32_t *rsrqPtr, int32_t *rsrpPtr)
struct le_mrc_SignalStrengthChangeHandler * le_mrc_SignalStrengthChangeHandlerRef_t
Definition: le_mrc_interface.h:652
le_mrc_NeighborCellsRef_t le_mrc_GetNeighborCellsInfo(void)
le_mrc_Rat_t le_mrc_GetCellularNetworkRat(le_mrc_ScanInformationRef_t scanInformationRef)
Registered, home network.
Definition: le_mrc_interface.h:561
uint32_t le_mrc_GetServingCellLocAreaCode(void)
le_mrc_PreferredOperatorRef_t le_mrc_GetFirstPreferredOperator(le_mrc_PreferredOperatorListRef_t preferredOperatorListRef)
le_result_t le_mrc_GetLteSignalMetrics(le_mrc_MetricsRef_t MetricsRef, int32_t *ssPtr, uint32_t *blerPtr, int32_t *rsrqPtr, int32_t *rsrpPtr, int32_t *snrPtr)
GSM network.
Definition: le_mrc_interface.h:589
void(* le_mrc_RatChangeHandlerFunc_t)(le_mrc_Rat_t rat, void *contextPtr)
Definition: le_mrc_interface.h:683
To Set all RAT preference Bit Mask.
Definition: le_mrc_interface.h:623
le_mrc_RatBitMask_t
Definition: le_mrc_interface.h:609
le_mrc_PreferredOperatorRef_t le_mrc_GetNextPreferredOperator(le_mrc_PreferredOperatorListRef_t preferredOperatorListRef)
CDMA network.
Definition: le_mrc_interface.h:598
le_mrc_Rat_t
Definition: le_mrc_interface.h:584
void le_mrc_RemoveRatChangeHandler(le_mrc_RatChangeHandlerRef_t addHandlerRef)
Unknown.
Definition: le_mrc_interface.h:586
le_result_t le_mrc_SetLteBandPreferences(le_mrc_LteBandBitMask_t bandMask)
bool le_mrc_IsCellularNetworkForbidden(le_mrc_ScanInformationRef_t scanInformationRef)
struct le_mrc_ScanInformation * le_mrc_ScanInformationRef_t
Definition: le_mrc_interface.h:500
int32_t le_mrc_GetNeighborCellUmtsEcIo(le_mrc_CellInfoRef_t ngbrCellInfoRef)
le_result_t le_mrc_RegisterCellularNetwork(const char *mcc, const char *mnc)
le_result_t le_mrc_RemovePreferredOperator(const char *mcc, const char *mnc)
le_mrc_ScanInformationRef_t le_mrc_GetNextCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
le_result_t le_mrc_GetRadioAccessTechInUse(le_mrc_Rat_t *ratPtr)
le_result_t le_mrc_SetManualRegisterMode(const char *mcc, const char *mnc)
le_mrc_PreferredOperatorListRef_t le_mrc_GetPreferredOperatorsList(void)
le_result_t le_mrc_GetLteBandPreferences(le_mrc_LteBandBitMask_t *bandMaskPtrPtr)
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)
void le_mrc_ConnectService(void)
void le_mrc_DeletePreferredOperatorsList(le_mrc_PreferredOperatorListRef_t preferredOperatorListRef)
void le_mrc_RemoveSignalStrengthChangeHandler(le_mrc_SignalStrengthChangeHandlerRef_t addHandlerRef)
void le_mrc_RemoveNetRegStateEventHandler(le_mrc_NetRegStateEventHandlerRef_t addHandlerRef)
void(* le_mrc_NetRegStateHandlerFunc_t)(le_mrc_NetRegState_t state, void *contextPtr)
Definition: le_mrc_interface.h:666
Not registered but currently searching for a new operator.
Definition: le_mrc_interface.h:564
le_mrc_BandBitMask_t
Definition: le_mrc_interface.h:380
le_result_t le_mrc_GetUmtsSignalMetrics(le_mrc_MetricsRef_t MetricsRef, int32_t *ssPtr, uint32_t *blerPtr, int32_t *ecioPtr, int32_t *rscpPtr, int32_t *sinrPtr)
void le_mrc_DisconnectService(void)
bool le_mrc_IsCellularNetworkInUse(le_mrc_ScanInformationRef_t scanInformationRef)
le_mrc_NetRegState_t
Definition: le_mrc_interface.h:556
uint32_t le_mrc_GetNeighborCellLocAreaCode(le_mrc_CellInfoRef_t ngbrCellInfoRef)
le_result_t le_mrc_GetRegisterMode(bool *isManualPtrPtr, char *mccPtr, size_t mccPtrNumElements, char *mncPtr, size_t mncPtrNumElements)
le_result_t le_mrc_GetCurrentNetworkMccMnc(char *mccStr, size_t mccStrNumElements, char *mncStr, size_t mncStrNumElements)
le_result_t le_mrc_AddPreferredOperator(const char *mcc, const char *mnc, le_mrc_RatBitMask_t ratMask)
le_mrc_MetricsRef_t le_mrc_MeasureSignalMetrics(void)
le_mrc_LteBandBitMask_t
Definition: le_mrc_interface.h:430
Unknown state.
Definition: le_mrc_interface.h:573
bool le_mrc_IsCellularNetworkAvailable(le_mrc_ScanInformationRef_t scanInformationRef)
Registration was denied, usually because of invalid access credentials.
Definition: le_mrc_interface.h:567
UMTS RAT Bit Mask.
Definition: le_mrc_interface.h:614
void(* le_mrc_SignalStrengthChangeHandlerFunc_t)(int32_t ss, void *contextPtr)
Definition: le_mrc_interface.h:700
le_mrc_TdScdmaBandBitMask_t
Definition: le_mrc_interface.h:474
le_result_t le_mrc_GetPreferredOperatorDetails(le_mrc_PreferredOperatorRef_t preferredOperatorRef, char *mccPtr, size_t mccPtrNumElements, char *mncPtr, size_t mncPtrNumElements, le_mrc_RatBitMask_t *ratMaskPtr)
Not registered and not currently searching for new operator.
Definition: le_mrc_interface.h:558
le_result_t le_mrc_GetCurrentNetworkName(char *nameStr, size_t nameStrNumElements)
GSM RAT Bit Mask.
Definition: le_mrc_interface.h:611
le_result_t le_mrc_GetBandPreferences(le_mrc_BandBitMask_t *bandMaskPtrPtr)
le_mrc_ScanInformationRef_t le_mrc_GetFirstCellularNetworkScan(le_mrc_ScanInformationListRef_t scanInformationListRef)
le_mrc_Rat_t le_mrc_GetNeighborCellRat(le_mrc_CellInfoRef_t ngbrCellInfoRef)
le_onoff_t
Definition: le_basics.h:69