le_mrc_common.h
Go to the documentation of this file.
28 //--------------------------------------------------------------------------------------------------32 //--------------------------------------------------------------------------------------------------35 //--------------------------------------------------------------------------------------------------40 //--------------------------------------------------------------------------------------------------43 //--------------------------------------------------------------------------------------------------47 //--------------------------------------------------------------------------------------------------50 //--------------------------------------------------------------------------------------------------55 //--------------------------------------------------------------------------------------------------58 //--------------------------------------------------------------------------------------------------63 //--------------------------------------------------------------------------------------------------66 //--------------------------------------------------------------------------------------------------70 //--------------------------------------------------------------------------------------------------112 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------176 //--------------------------------------------------------------------------------------------------180 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------196 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------208 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------228 //--------------------------------------------------------------------------------------------------232 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------244 //--------------------------------------------------------------------------------------------------248 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------256 //--------------------------------------------------------------------------------------------------275 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------298 //--------------------------------------------------------------------------------------------------302 * @note If the reported status is the final status (end of the procedure), this shall be indicated304 * @note Other reports, called intermediate reports, gives only intermediate results issuing from307 //--------------------------------------------------------------------------------------------------318 //--------------------------------------------------------------------------------------------------324 //--------------------------------------------------------------------------------------------------348 //--------------------------------------------------------------------------------------------------352 //--------------------------------------------------------------------------------------------------/// GSM RAT Bit Mask365 //--------------------------------------------------------------------------------------------------369 //--------------------------------------------------------------------------------------------------438 //--------------------------------------------------------------------------------------------------442 //--------------------------------------------------------------------------------------------------459 //--------------------------------------------------------------------------------------------------463 //--------------------------------------------------------------------------------------------------475 //--------------------------------------------------------------------------------------------------479 //--------------------------------------------------------------------------------------------------483 //--------------------------------------------------------------------------------------------------487 //--------------------------------------------------------------------------------------------------491 //--------------------------------------------------------------------------------------------------495 //--------------------------------------------------------------------------------------------------499 //--------------------------------------------------------------------------------------------------503 //--------------------------------------------------------------------------------------------------507 //--------------------------------------------------------------------------------------------------511 //--------------------------------------------------------------------------------------------------515 //--------------------------------------------------------------------------------------------------519 //--------------------------------------------------------------------------------------------------523 //--------------------------------------------------------------------------------------------------527 //--------------------------------------------------------------------------------------------------531 //--------------------------------------------------------------------------------------------------535 //--------------------------------------------------------------------------------------------------539 //--------------------------------------------------------------------------------------------------543 //--------------------------------------------------------------------------------------------------545 (552 //--------------------------------------------------------------------------------------------------557 //--------------------------------------------------------------------------------------------------559 (566 //--------------------------------------------------------------------------------------------------571 //--------------------------------------------------------------------------------------------------573 (580 //--------------------------------------------------------------------------------------------------585 //--------------------------------------------------------------------------------------------------587 (594 //--------------------------------------------------------------------------------------------------599 //--------------------------------------------------------------------------------------------------601 (608 //--------------------------------------------------------------------------------------------------614 //--------------------------------------------------------------------------------------------------616 (624 //--------------------------------------------------------------------------------------------------630 //--------------------------------------------------------------------------------------------------632 (640 //--------------------------------------------------------------------------------------------------645 //--------------------------------------------------------------------------------------------------647 (654 //--------------------------------------------------------------------------------------------------662 //--------------------------------------------------------------------------------------------------664 (675 //--------------------------------------------------------------------------------------------------680 //--------------------------------------------------------------------------------------------------682 (689 //--------------------------------------------------------------------------------------------------693 //--------------------------------------------------------------------------------------------------695 (705 //--------------------------------------------------------------------------------------------------709 //--------------------------------------------------------------------------------------------------716 //--------------------------------------------------------------------------------------------------720 //--------------------------------------------------------------------------------------------------727 //--------------------------------------------------------------------------------------------------731 //--------------------------------------------------------------------------------------------------738 //--------------------------------------------------------------------------------------------------746 //--------------------------------------------------------------------------------------------------756 //--------------------------------------------------------------------------------------------------760 //--------------------------------------------------------------------------------------------------768 //--------------------------------------------------------------------------------------------------776 //--------------------------------------------------------------------------------------------------786 //--------------------------------------------------------------------------------------------------790 //--------------------------------------------------------------------------------------------------798 //--------------------------------------------------------------------------------------------------806 //--------------------------------------------------------------------------------------------------816 //--------------------------------------------------------------------------------------------------820 //--------------------------------------------------------------------------------------------------828 //--------------------------------------------------------------------------------------------------836 //--------------------------------------------------------------------------------------------------846 //--------------------------------------------------------------------------------------------------850 //--------------------------------------------------------------------------------------------------858 //--------------------------------------------------------------------------------------------------866 //--------------------------------------------------------------------------------------------------882 //--------------------------------------------------------------------------------------------------886 //--------------------------------------------------------------------------------------------------894 //--------------------------------------------------------------------------------------------------905 //--------------------------------------------------------------------------------------------------917 //--------------------------------------------------------------------------------------------------926 * @note The signal delta is set in units of 0.1 dBm. For example, to set a delta of 10.6 dBm, the932 //--------------------------------------------------------------------------------------------------942 //--------------------------------------------------------------------------------------------------952 //--------------------------------------------------------------------------------------------------958 //--------------------------------------------------------------------------------------------------966 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too972 //--------------------------------------------------------------------------------------------------982 //--------------------------------------------------------------------------------------------------987 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too994 //--------------------------------------------------------------------------------------------------1008 //--------------------------------------------------------------------------------------------------1018 //--------------------------------------------------------------------------------------------------1034 //--------------------------------------------------------------------------------------------------1044 //--------------------------------------------------------------------------------------------------1052 //--------------------------------------------------------------------------------------------------1062 //--------------------------------------------------------------------------------------------------1068 //--------------------------------------------------------------------------------------------------1079 //--------------------------------------------------------------------------------------------------1087 //--------------------------------------------------------------------------------------------------1097 //--------------------------------------------------------------------------------------------------1105 //--------------------------------------------------------------------------------------------------1115 //--------------------------------------------------------------------------------------------------1123 //--------------------------------------------------------------------------------------------------1133 //--------------------------------------------------------------------------------------------------1141 //--------------------------------------------------------------------------------------------------1152 //--------------------------------------------------------------------------------------------------1160 //--------------------------------------------------------------------------------------------------1170 //--------------------------------------------------------------------------------------------------1178 //--------------------------------------------------------------------------------------------------1189 //--------------------------------------------------------------------------------------------------1197 //--------------------------------------------------------------------------------------------------1208 //--------------------------------------------------------------------------------------------------1216 //--------------------------------------------------------------------------------------------------1226 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too1232 //--------------------------------------------------------------------------------------------------1244 //--------------------------------------------------------------------------------------------------1254 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too1260 //--------------------------------------------------------------------------------------------------1270 //--------------------------------------------------------------------------------------------------1280 //--------------------------------------------------------------------------------------------------1286 //--------------------------------------------------------------------------------------------------1300 //--------------------------------------------------------------------------------------------------1308 //--------------------------------------------------------------------------------------------------1322 //--------------------------------------------------------------------------------------------------1330 //--------------------------------------------------------------------------------------------------1340 //--------------------------------------------------------------------------------------------------1348 //--------------------------------------------------------------------------------------------------1359 //--------------------------------------------------------------------------------------------------1377 //--------------------------------------------------------------------------------------------------1390 //--------------------------------------------------------------------------------------------------1398 //--------------------------------------------------------------------------------------------------1411 //--------------------------------------------------------------------------------------------------1420 //--------------------------------------------------------------------------------------------------1430 //--------------------------------------------------------------------------------------------------1438 //--------------------------------------------------------------------------------------------------1451 //--------------------------------------------------------------------------------------------------1459 //--------------------------------------------------------------------------------------------------1467 //--------------------------------------------------------------------------------------------------1475 //--------------------------------------------------------------------------------------------------1481 * @warning PCI scan is platform dependent. Please refer to @ref platformConstraintsMdc for further1484 * @note On devices with the watchdog service enabled, the timeout is 4 mins. On those without, the1489 //--------------------------------------------------------------------------------------------------1497 //--------------------------------------------------------------------------------------------------1499 * This function must be called to perform a cellular network scan asynchronously. This function1505 //--------------------------------------------------------------------------------------------------1517 //--------------------------------------------------------------------------------------------------1522 * @warning PCI scan is platform dependent. Please refer to @ref platformConstraintsMdc for further1528 //--------------------------------------------------------------------------------------------------1540 //--------------------------------------------------------------------------------------------------1542 * This function must be called to get the first Scan Information object reference in the list of1553 //--------------------------------------------------------------------------------------------------1561 //--------------------------------------------------------------------------------------------------1563 * This function must be called to get the next Scan Information object reference in the list of1574 //--------------------------------------------------------------------------------------------------1582 //--------------------------------------------------------------------------------------------------1584 * This function must be called to get the first Pci Scan Information object reference in the list of1595 //--------------------------------------------------------------------------------------------------1603 //--------------------------------------------------------------------------------------------------1605 * This function must be called to get the next Scan Information object reference in the list of1616 //--------------------------------------------------------------------------------------------------1624 //--------------------------------------------------------------------------------------------------1626 * This function must be called to get the first Plmn Information object reference in the list of1636 //--------------------------------------------------------------------------------------------------1644 //--------------------------------------------------------------------------------------------------1646 * This function must be called to get the next Plmn Information object reference in the list of1656 //--------------------------------------------------------------------------------------------------1664 //--------------------------------------------------------------------------------------------------1666 * This function must be called to get the physical cell id referenced by PciScanInformation which1674 //--------------------------------------------------------------------------------------------------1682 //--------------------------------------------------------------------------------------------------1684 * This function must be called to get the global cell id referenced by PciScanInformation which is1692 //--------------------------------------------------------------------------------------------------1700 //--------------------------------------------------------------------------------------------------1712 //--------------------------------------------------------------------------------------------------1728 //--------------------------------------------------------------------------------------------------1739 //--------------------------------------------------------------------------------------------------1747 //--------------------------------------------------------------------------------------------------1757 //--------------------------------------------------------------------------------------------------1765 //--------------------------------------------------------------------------------------------------1779 //--------------------------------------------------------------------------------------------------1795 //--------------------------------------------------------------------------------------------------1809 //--------------------------------------------------------------------------------------------------1821 //--------------------------------------------------------------------------------------------------1831 //--------------------------------------------------------------------------------------------------1839 //--------------------------------------------------------------------------------------------------1851 //--------------------------------------------------------------------------------------------------1859 //--------------------------------------------------------------------------------------------------1871 //--------------------------------------------------------------------------------------------------1879 //--------------------------------------------------------------------------------------------------1891 //--------------------------------------------------------------------------------------------------1899 //--------------------------------------------------------------------------------------------------1911 //--------------------------------------------------------------------------------------------------1919 //--------------------------------------------------------------------------------------------------1934 //--------------------------------------------------------------------------------------------------1944 //--------------------------------------------------------------------------------------------------1954 //--------------------------------------------------------------------------------------------------1968 //--------------------------------------------------------------------------------------------------1985 //--------------------------------------------------------------------------------------------------1993 //--------------------------------------------------------------------------------------------------2006 //--------------------------------------------------------------------------------------------------2014 //--------------------------------------------------------------------------------------------------2024 //--------------------------------------------------------------------------------------------------2030 //--------------------------------------------------------------------------------------------------2039 //--------------------------------------------------------------------------------------------------2047 //--------------------------------------------------------------------------------------------------2060 //--------------------------------------------------------------------------------------------------2068 //--------------------------------------------------------------------------------------------------2081 //--------------------------------------------------------------------------------------------------2089 //--------------------------------------------------------------------------------------------------2093 * @return The Physical Cell Identifier. UINT32_MAX value is returned if the Cell Identifier is not2101 //--------------------------------------------------------------------------------------------------2109 //--------------------------------------------------------------------------------------------------2121 //--------------------------------------------------------------------------------------------------2129 //--------------------------------------------------------------------------------------------------2140 //--------------------------------------------------------------------------------------------------2148 //--------------------------------------------------------------------------------------------------2159 //--------------------------------------------------------------------------------------------------2167 //--------------------------------------------------------------------------------------------------2169 * This function must be called to get the Ec/Io; the received energy per chip divided by the power2170 * density in the band measured in dBm on the primary CPICH channel of serving cell (negative value)2181 //--------------------------------------------------------------------------------------------------2189 //--------------------------------------------------------------------------------------------------2202 //--------------------------------------------------------------------------------------------------2216 //--------------------------------------------------------------------------------------------------2229 //--------------------------------------------------------------------------------------------------2243 //--------------------------------------------------------------------------------------------------2247 * @return The neighbor cell primary scrambling code. UINT16_MAX value is returned if the value is2252 //--------------------------------------------------------------------------------------------------2260 //--------------------------------------------------------------------------------------------------2262 * This function must be called to measure the signal metrics. It creates and returns a reference2270 //--------------------------------------------------------------------------------------------------2276 //--------------------------------------------------------------------------------------------------2285 //--------------------------------------------------------------------------------------------------2293 //--------------------------------------------------------------------------------------------------2304 //--------------------------------------------------------------------------------------------------2312 //--------------------------------------------------------------------------------------------------2314 * This function returns the signal strength in dBm and the bit error rate measured on GSM network.2325 //--------------------------------------------------------------------------------------------------2337 //--------------------------------------------------------------------------------------------------2350 //--------------------------------------------------------------------------------------------------2371 //--------------------------------------------------------------------------------------------------2385 //--------------------------------------------------------------------------------------------------2403 //--------------------------------------------------------------------------------------------------2417 //--------------------------------------------------------------------------------------------------2438 //--------------------------------------------------------------------------------------------------2444 * @note When the module is in UMTS network, the API returns the serving UTRAN Cell Identity (UC-Id)2446 * It is composed of the Controlling Radio Network Controller Identifier (CRNC-Id, 12 bits) and the2448 * The Cell Identifier is coded in the lower 2 bytes of the 4 bytes UC-Id and the CRNC-Id is coded2454 //--------------------------------------------------------------------------------------------------2460 //--------------------------------------------------------------------------------------------------2468 //--------------------------------------------------------------------------------------------------2474 //--------------------------------------------------------------------------------------------------2482 //--------------------------------------------------------------------------------------------------2488 //--------------------------------------------------------------------------------------------------2492 * @return The serving cell primary scrambling code. UINT16_MAX value is returned if the value is2497 //--------------------------------------------------------------------------------------------------2503 //--------------------------------------------------------------------------------------------------2514 //--------------------------------------------------------------------------------------------------2522 //--------------------------------------------------------------------------------------------------2533 //--------------------------------------------------------------------------------------------------2541 //--------------------------------------------------------------------------------------------------2552 //--------------------------------------------------------------------------------------------------2560 //--------------------------------------------------------------------------------------------------2567 //--------------------------------------------------------------------------------------------------2577 //--------------------------------------------------------------------------------------------------2581 //--------------------------------------------------------------------------------------------------2589 //--------------------------------------------------------------------------------------------------2596 //--------------------------------------------------------------------------------------------------2606 //--------------------------------------------------------------------------------------------------2610 //--------------------------------------------------------------------------------------------------2618 //--------------------------------------------------------------------------------------------------2624 //--------------------------------------------------------------------------------------------------2625 LE_SHARED le_mrc_JammingDetectionEventHandlerRef_t ifgen_le_mrc_AddJammingDetectionEventHandler2634 //--------------------------------------------------------------------------------------------------2638 //--------------------------------------------------------------------------------------------------2646 //--------------------------------------------------------------------------------------------------2659 //--------------------------------------------------------------------------------------------------2665 //--------------------------------------------------------------------------------------------------2674 //--------------------------------------------------------------------------------------------------2680 //--------------------------------------------------------------------------------------------------2693 //--------------------------------------------------------------------------------------------------2702 //--------------------------------------------------------------------------------------------------2714 //--------------------------------------------------------------------------------------------------2723 //--------------------------------------------------------------------------------------------------2725 * Get the serving cell radio frequency channel number. The EARFCN is in the range from 0 to 262143.2727 * @return The serving cell frequency channel number. UINT32_MAX value is returned if the value is2730 //--------------------------------------------------------------------------------------------------2736 //--------------------------------------------------------------------------------------------------2741 * @return The neighbor cell frequency channel number. UINT32_MAX value is returned if the value is2744 //--------------------------------------------------------------------------------------------------2752 //--------------------------------------------------------------------------------------------------2757 * @return The serving cell timing advance index value. UINT32_MAX value is returned if the value2760 //--------------------------------------------------------------------------------------------------2766 //--------------------------------------------------------------------------------------------------2773 //--------------------------------------------------------------------------------------------------2779 //--------------------------------------------------------------------------------------------------2786 //--------------------------------------------------------------------------------------------------2794 //--------------------------------------------------------------------------------------------------2803 //--------------------------------------------------------------------------------------------------2811 //--------------------------------------------------------------------------------------------------2820 //--------------------------------------------------------------------------------------------------2830 //--------------------------------------------------------------------------------------------------2841 //--------------------------------------------------------------------------------------------------2849 //--------------------------------------------------------------------------------------------------2855 * @return LE_UNAVAILABLE The TX power is not available. The TX power value is set to INT32_MAX.2860 //--------------------------------------------------------------------------------------------------2868 //--------------------------------------------------------------------------------------------------2880 //--------------------------------------------------------------------------------------------------2888 //--------------------------------------------------------------------------------------------------2897 //--------------------------------------------------------------------------------------------------Message type non-existent or not implemented.Definition: le_mrc_common.h:422Intermediate jamming status report.Definition: le_mrc_common.h:312Definition: le_mrc_common.h:337void(* le_mrc_NetRegStateHandlerFunc_t)(le_mrc_NetRegState_t state, void *contextPtr)Definition: le_mrc_common.h:545Definition: le_mrc_common.h:341void(* le_mrc_RankChangeHandlerFunc_t)(int32_t rank, void *contextPtr)Definition: le_mrc_common.h:573Roaming not allowed in this location area.Definition: le_mrc_common.h:392struct le_mrc_PciScanInformation * le_mrc_PciScanInformationRef_tDefinition: le_mrc_common.h:201struct le_mrc_PlmnInformation * le_mrc_PlmnInformationRef_tDefinition: le_mrc_common.h:209Registration was denied, usually because of invalid access credentials.Definition: le_mrc_common.h:265struct le_mrc_PreferredOperatorList * le_mrc_PreferredOperatorListRef_tDefinition: le_mrc_common.h:225Message type not compatible with the protocol state.Definition: le_mrc_common.h:424void(* le_mrc_JammingDetectionHandlerFunc_t)(le_mrc_JammingReport_t report, le_mrc_JammingStatus_t status, void *contextPtr)Definition: le_mrc_common.h:695struct le_mrc_NeighborCells * le_mrc_NeighborCellsRef_tDefinition: le_mrc_common.h:241Not registered and not currently searching for new operator.Definition: le_mrc_common.h:259void(* le_mrc_ManualSelectionHandlerFunc_t)(le_result_t result, void *contextPtr)Definition: le_mrc_common.h:647Definition: le_mrc_common.h:464struct le_mrc_JammingDetectionEventHandler * le_mrc_JammingDetectionEventHandlerRef_tDefinition: le_mrc_common.h:536struct le_mrc_ScanInformationList * le_mrc_ScanInformationListRef_tDefinition: le_mrc_common.h:185void(* le_mrc_PacketSwitchedChangeHandlerFunc_t)(le_mrc_NetRegState_t state, void *contextPtr)Definition: le_mrc_common.h:587void(* le_mrc_CellularNetworkScanHandlerFunc_t)(le_mrc_ScanInformationListRef_t listRef, void *contextPtr)Definition: le_mrc_common.h:616Definition: le_mrc_common.h:334struct le_mrc_NetRegStateEventHandler * le_mrc_NetRegStateEventHandlerRef_tDefinition: le_mrc_common.h:480void(* le_mrc_NetRegRejectHandlerFunc_t)(const le_mrc_NetRegRejectInd_t *LE_NONNULL networkRejectIndPtr, void *contextPtr)Definition: le_mrc_common.h:682Not registered but currently searching for a new operator.Definition: le_mrc_common.h:263struct le_mrc_PciScanInformationList * le_mrc_PciScanInformationListRef_tDefinition: le_mrc_common.h:193struct le_mrc_NetworkRejectHandler * le_mrc_NetworkRejectHandlerRef_tDefinition: le_mrc_common.h:520Scan is ongoing, the module cannot see any networks.Definition: le_mrc_common.h:445struct le_mrc_RankChangeHandler * le_mrc_RankChangeHandlerRef_tDefinition: le_mrc_common.h:496No jamming suspicion; radio environment is considered normal.Definition: le_mrc_common.h:329void(* le_mrc_PciNetworkScanHandlerFunc_t)(le_mrc_PciScanInformationListRef_t listRef, void *contextPtr)Definition: le_mrc_common.h:632Message not compatible with the protocol state.Definition: le_mrc_common.h:430struct le_mrc_RatChangeHandler * le_mrc_RatChangeHandlerRef_tDefinition: le_mrc_common.h:488GPRS services and non-GPRS services not allowed.Definition: le_mrc_common.h:382void(* le_mrc_RatChangeHandlerFunc_t)(le_mrc_Rat_t rat, void *contextPtr)Definition: le_mrc_common.h:559void(* le_mrc_NetworkRejectHandlerFunc_t)(const char *LE_NONNULL mcc, const char *LE_NONNULL mnc, le_mrc_Rat_t rat, void *contextPtr)Definition: le_mrc_common.h:664struct le_mrc_PreferredOperator * le_mrc_PreferredOperatorRef_tDefinition: le_mrc_common.h:217struct le_mrc_NetRegRejectHandler * le_mrc_NetRegRejectHandlerRef_tDefinition: le_mrc_common.h:528void(* le_mrc_SignalStrengthChangeHandlerFunc_t)(int32_t ss, void *contextPtr)Definition: le_mrc_common.h:601struct le_mrc_ScanInformation * le_mrc_ScanInformationRef_tDefinition: le_mrc_common.h:177Definition: le_mrc_common.h:331struct le_mrc_PacketSwitchedChangeHandler * le_mrc_PacketSwitchedChangeHandlerRef_tDefinition: le_mrc_common.h:504struct le_mrc_SignalStrengthChangeHandler * le_mrc_SignalStrengthChangeHandlerRef_tDefinition: le_mrc_common.h:512