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 //--------------------------------------------------------------------------------------------------537 (544 //--------------------------------------------------------------------------------------------------549 //--------------------------------------------------------------------------------------------------551 (558 //--------------------------------------------------------------------------------------------------563 //--------------------------------------------------------------------------------------------------565 (572 //--------------------------------------------------------------------------------------------------577 //--------------------------------------------------------------------------------------------------579 (586 //--------------------------------------------------------------------------------------------------592 //--------------------------------------------------------------------------------------------------594 (602 //--------------------------------------------------------------------------------------------------608 //--------------------------------------------------------------------------------------------------610 (618 //--------------------------------------------------------------------------------------------------623 //--------------------------------------------------------------------------------------------------625 (632 //--------------------------------------------------------------------------------------------------640 //--------------------------------------------------------------------------------------------------642 (653 //--------------------------------------------------------------------------------------------------658 //--------------------------------------------------------------------------------------------------660 (667 //--------------------------------------------------------------------------------------------------671 //--------------------------------------------------------------------------------------------------673 (683 //--------------------------------------------------------------------------------------------------687 //--------------------------------------------------------------------------------------------------694 //--------------------------------------------------------------------------------------------------698 //--------------------------------------------------------------------------------------------------705 //--------------------------------------------------------------------------------------------------709 //--------------------------------------------------------------------------------------------------716 //--------------------------------------------------------------------------------------------------724 //--------------------------------------------------------------------------------------------------734 //--------------------------------------------------------------------------------------------------738 //--------------------------------------------------------------------------------------------------746 //--------------------------------------------------------------------------------------------------754 //--------------------------------------------------------------------------------------------------764 //--------------------------------------------------------------------------------------------------768 //--------------------------------------------------------------------------------------------------776 //--------------------------------------------------------------------------------------------------784 //--------------------------------------------------------------------------------------------------794 //--------------------------------------------------------------------------------------------------798 //--------------------------------------------------------------------------------------------------806 //--------------------------------------------------------------------------------------------------814 //--------------------------------------------------------------------------------------------------830 //--------------------------------------------------------------------------------------------------834 //--------------------------------------------------------------------------------------------------842 //--------------------------------------------------------------------------------------------------853 //--------------------------------------------------------------------------------------------------865 //--------------------------------------------------------------------------------------------------874 * @note The signal delta is set in units of 0.1 dBm. For example, to set a delta of 10.6 dBm, the880 //--------------------------------------------------------------------------------------------------890 //--------------------------------------------------------------------------------------------------900 //--------------------------------------------------------------------------------------------------906 //--------------------------------------------------------------------------------------------------914 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too920 //--------------------------------------------------------------------------------------------------930 //--------------------------------------------------------------------------------------------------935 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too942 //--------------------------------------------------------------------------------------------------956 //--------------------------------------------------------------------------------------------------966 //--------------------------------------------------------------------------------------------------982 //--------------------------------------------------------------------------------------------------992 //--------------------------------------------------------------------------------------------------1000 //--------------------------------------------------------------------------------------------------1010 //--------------------------------------------------------------------------------------------------1016 //--------------------------------------------------------------------------------------------------1027 //--------------------------------------------------------------------------------------------------1035 //--------------------------------------------------------------------------------------------------1045 //--------------------------------------------------------------------------------------------------1053 //--------------------------------------------------------------------------------------------------1063 //--------------------------------------------------------------------------------------------------1071 //--------------------------------------------------------------------------------------------------1081 //--------------------------------------------------------------------------------------------------1089 //--------------------------------------------------------------------------------------------------1100 //--------------------------------------------------------------------------------------------------1108 //--------------------------------------------------------------------------------------------------1118 //--------------------------------------------------------------------------------------------------1126 //--------------------------------------------------------------------------------------------------1137 //--------------------------------------------------------------------------------------------------1145 //--------------------------------------------------------------------------------------------------1156 //--------------------------------------------------------------------------------------------------1164 //--------------------------------------------------------------------------------------------------1174 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too1180 //--------------------------------------------------------------------------------------------------1192 //--------------------------------------------------------------------------------------------------1202 * @note If strings are not set, too long (bigger than LE_MRC_MCC_LEN/LE_MRC_MNC_LEN digits), or too1208 //--------------------------------------------------------------------------------------------------1218 //--------------------------------------------------------------------------------------------------1228 //--------------------------------------------------------------------------------------------------1234 //--------------------------------------------------------------------------------------------------1248 //--------------------------------------------------------------------------------------------------1256 //--------------------------------------------------------------------------------------------------1270 //--------------------------------------------------------------------------------------------------1278 //--------------------------------------------------------------------------------------------------1288 //--------------------------------------------------------------------------------------------------1296 //--------------------------------------------------------------------------------------------------1307 //--------------------------------------------------------------------------------------------------1325 //--------------------------------------------------------------------------------------------------1338 //--------------------------------------------------------------------------------------------------1346 //--------------------------------------------------------------------------------------------------1359 //--------------------------------------------------------------------------------------------------1368 //--------------------------------------------------------------------------------------------------1378 //--------------------------------------------------------------------------------------------------1386 //--------------------------------------------------------------------------------------------------1399 //--------------------------------------------------------------------------------------------------1407 //--------------------------------------------------------------------------------------------------1415 //--------------------------------------------------------------------------------------------------1423 //--------------------------------------------------------------------------------------------------1429 * @warning PCI scan is platform dependent. Please refer to @ref platformConstraintsMdc for further1432 * @note On devices with the watchdog service enabled, the timeout is 4 mins. On those without, the1437 //--------------------------------------------------------------------------------------------------1445 //--------------------------------------------------------------------------------------------------1447 * This function must be called to perform a cellular network scan asynchronously. This function1453 //--------------------------------------------------------------------------------------------------1465 //--------------------------------------------------------------------------------------------------1470 * @warning PCI scan is platform dependent. Please refer to @ref platformConstraintsMdc for further1476 //--------------------------------------------------------------------------------------------------1488 //--------------------------------------------------------------------------------------------------1490 * This function must be called to get the first Scan Information object reference in the list of1501 //--------------------------------------------------------------------------------------------------1509 //--------------------------------------------------------------------------------------------------1511 * This function must be called to get the next Scan Information object reference in the list of1522 //--------------------------------------------------------------------------------------------------1530 //--------------------------------------------------------------------------------------------------1532 * This function must be called to get the first Pci Scan Information object reference in the list of1543 //--------------------------------------------------------------------------------------------------1551 //--------------------------------------------------------------------------------------------------1553 * This function must be called to get the next Scan Information object reference in the list of1564 //--------------------------------------------------------------------------------------------------1572 //--------------------------------------------------------------------------------------------------1574 * This function must be called to get the first Plmn Information object reference in the list of1584 //--------------------------------------------------------------------------------------------------1592 //--------------------------------------------------------------------------------------------------1594 * This function must be called to get the next Plmn Information object reference in the list of1604 //--------------------------------------------------------------------------------------------------1612 //--------------------------------------------------------------------------------------------------1614 * This function must be called to get the physical cell id referenced by PciScanInformation which1622 //--------------------------------------------------------------------------------------------------1630 //--------------------------------------------------------------------------------------------------1632 * This function must be called to get the global cell id referenced by PciScanInformation which is1640 //--------------------------------------------------------------------------------------------------1648 //--------------------------------------------------------------------------------------------------1660 //--------------------------------------------------------------------------------------------------1676 //--------------------------------------------------------------------------------------------------1687 //--------------------------------------------------------------------------------------------------1695 //--------------------------------------------------------------------------------------------------1705 //--------------------------------------------------------------------------------------------------1713 //--------------------------------------------------------------------------------------------------1727 //--------------------------------------------------------------------------------------------------1743 //--------------------------------------------------------------------------------------------------1757 //--------------------------------------------------------------------------------------------------1769 //--------------------------------------------------------------------------------------------------1779 //--------------------------------------------------------------------------------------------------1787 //--------------------------------------------------------------------------------------------------1799 //--------------------------------------------------------------------------------------------------1807 //--------------------------------------------------------------------------------------------------1819 //--------------------------------------------------------------------------------------------------1827 //--------------------------------------------------------------------------------------------------1839 //--------------------------------------------------------------------------------------------------1847 //--------------------------------------------------------------------------------------------------1859 //--------------------------------------------------------------------------------------------------1867 //--------------------------------------------------------------------------------------------------1882 //--------------------------------------------------------------------------------------------------1892 //--------------------------------------------------------------------------------------------------1902 //--------------------------------------------------------------------------------------------------1916 //--------------------------------------------------------------------------------------------------1933 //--------------------------------------------------------------------------------------------------1941 //--------------------------------------------------------------------------------------------------1951 //--------------------------------------------------------------------------------------------------1957 //--------------------------------------------------------------------------------------------------1966 //--------------------------------------------------------------------------------------------------1974 //--------------------------------------------------------------------------------------------------1987 //--------------------------------------------------------------------------------------------------1995 //--------------------------------------------------------------------------------------------------2008 //--------------------------------------------------------------------------------------------------2016 //--------------------------------------------------------------------------------------------------2020 * @return The Physical Cell Identifier. UINT32_MAX value is returned if the Cell Identifier is not2028 //--------------------------------------------------------------------------------------------------2036 //--------------------------------------------------------------------------------------------------2048 //--------------------------------------------------------------------------------------------------2056 //--------------------------------------------------------------------------------------------------2067 //--------------------------------------------------------------------------------------------------2075 //--------------------------------------------------------------------------------------------------2086 //--------------------------------------------------------------------------------------------------2094 //--------------------------------------------------------------------------------------------------2096 * This function must be called to get the Ec/Io; the received energy per chip divided by the power2097 * density in the band measured in dBm on the primary CPICH channel of serving cell (negative value)2108 //--------------------------------------------------------------------------------------------------2116 //--------------------------------------------------------------------------------------------------2129 //--------------------------------------------------------------------------------------------------2143 //--------------------------------------------------------------------------------------------------2156 //--------------------------------------------------------------------------------------------------2170 //--------------------------------------------------------------------------------------------------2174 * @return The neighbor cell primary scrambling code. UINT16_MAX value is returned if the value is2179 //--------------------------------------------------------------------------------------------------2187 //--------------------------------------------------------------------------------------------------2189 * This function must be called to measure the signal metrics. It creates and returns a reference2197 //--------------------------------------------------------------------------------------------------2203 //--------------------------------------------------------------------------------------------------2212 //--------------------------------------------------------------------------------------------------2220 //--------------------------------------------------------------------------------------------------2231 //--------------------------------------------------------------------------------------------------2239 //--------------------------------------------------------------------------------------------------2241 * This function returns the signal strength in dBm and the bit error rate measured on GSM network.2252 //--------------------------------------------------------------------------------------------------2264 //--------------------------------------------------------------------------------------------------2277 //--------------------------------------------------------------------------------------------------2298 //--------------------------------------------------------------------------------------------------2312 //--------------------------------------------------------------------------------------------------2330 //--------------------------------------------------------------------------------------------------2344 //--------------------------------------------------------------------------------------------------2365 //--------------------------------------------------------------------------------------------------2371 * @note When the module is in UMTS network, the API returns the serving UTRAN Cell Identity (UC-Id)2373 * It is composed of the Controlling Radio Network Controller Identifier (CRNC-Id, 12 bits) and the2375 * The Cell Identifier is coded in the lower 2 bytes of the 4 bytes UC-Id and the CRNC-Id is coded2381 //--------------------------------------------------------------------------------------------------2387 //--------------------------------------------------------------------------------------------------2395 //--------------------------------------------------------------------------------------------------2401 //--------------------------------------------------------------------------------------------------2409 //--------------------------------------------------------------------------------------------------2415 //--------------------------------------------------------------------------------------------------2419 * @return The serving cell primary scrambling code. UINT16_MAX value is returned if the value is2424 //--------------------------------------------------------------------------------------------------2430 //--------------------------------------------------------------------------------------------------2441 //--------------------------------------------------------------------------------------------------2449 //--------------------------------------------------------------------------------------------------2460 //--------------------------------------------------------------------------------------------------2468 //--------------------------------------------------------------------------------------------------2479 //--------------------------------------------------------------------------------------------------2487 //--------------------------------------------------------------------------------------------------2494 //--------------------------------------------------------------------------------------------------2504 //--------------------------------------------------------------------------------------------------2508 //--------------------------------------------------------------------------------------------------2516 //--------------------------------------------------------------------------------------------------2523 //--------------------------------------------------------------------------------------------------2533 //--------------------------------------------------------------------------------------------------2537 //--------------------------------------------------------------------------------------------------2545 //--------------------------------------------------------------------------------------------------2551 //--------------------------------------------------------------------------------------------------2552 LE_SHARED le_mrc_JammingDetectionEventHandlerRef_t ifgen_le_mrc_AddJammingDetectionEventHandler2561 //--------------------------------------------------------------------------------------------------2565 //--------------------------------------------------------------------------------------------------2573 //--------------------------------------------------------------------------------------------------2586 //--------------------------------------------------------------------------------------------------2592 //--------------------------------------------------------------------------------------------------2601 //--------------------------------------------------------------------------------------------------2607 //--------------------------------------------------------------------------------------------------2620 //--------------------------------------------------------------------------------------------------2629 //--------------------------------------------------------------------------------------------------2641 //--------------------------------------------------------------------------------------------------2650 //--------------------------------------------------------------------------------------------------2652 * Get the serving cell radio frequency channel number. The EARFCN is in the range from 0 to 262143.2654 * @return The serving cell frequency channel number. UINT32_MAX value is returned if the value is2657 //--------------------------------------------------------------------------------------------------2663 //--------------------------------------------------------------------------------------------------2668 * @return The neighbor cell frequency channel number. UINT32_MAX value is returned if the value is2671 //--------------------------------------------------------------------------------------------------2679 //--------------------------------------------------------------------------------------------------2684 * @return The serving cell timing advance index value. UINT32_MAX value is returned if the value2687 //--------------------------------------------------------------------------------------------------2693 //--------------------------------------------------------------------------------------------------2700 //--------------------------------------------------------------------------------------------------2706 //--------------------------------------------------------------------------------------------------2713 //--------------------------------------------------------------------------------------------------2721 //--------------------------------------------------------------------------------------------------2730 //--------------------------------------------------------------------------------------------------2738 //--------------------------------------------------------------------------------------------------2747 //--------------------------------------------------------------------------------------------------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:537Definition: le_mrc_common.h:341Roaming 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:673struct 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:625Definition: le_mrc_common.h:464struct le_mrc_JammingDetectionEventHandler * le_mrc_JammingDetectionEventHandlerRef_tDefinition: le_mrc_common.h:528struct 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:565void(* le_mrc_CellularNetworkScanHandlerFunc_t)(le_mrc_ScanInformationListRef_t listRef, void *contextPtr)Definition: le_mrc_common.h:594Definition: 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:660Not 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:512Scan is ongoing, the module cannot see any networks.Definition: le_mrc_common.h:445No 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:610Message 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:551void(* 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:642struct le_mrc_PreferredOperator * le_mrc_PreferredOperatorRef_tDefinition: le_mrc_common.h:217struct le_mrc_NetRegRejectHandler * le_mrc_NetRegRejectHandlerRef_tDefinition: le_mrc_common.h:520void(* le_mrc_SignalStrengthChangeHandlerFunc_t)(int32_t ss, void *contextPtr)Definition: le_mrc_common.h:579struct 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:496struct le_mrc_SignalStrengthChangeHandler * le_mrc_SignalStrengthChangeHandlerRef_tDefinition: le_mrc_common.h:504