le_info_interface.h
Go to the documentation of this file.
71 * le_info_GetCarrierPri() is used to retrieve the Carrier Product Requirement Information (CAPRI)86 * strings are listed in the table below. This list may be partially supported by some plateforms.91 * |:---------------------:|:------------------------------:|:---------------------------------------------:|97 * | LE_INFO_RESET_UPDATE | "Reset, Configuration Update" | Reset caused by a configuration update |103 * | LE_INFO_TEMP_CRIT | "Power Down, Critical Temp" | Power down due to a critical voltage level |104 * | LE_INFO_VOLT_CRIT | "Power Down, Critical Voltage" | Power down due to a ciritcal temperature level|135 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------145 * Connect the current client thread to the service providing this API. Block until the service is148 * For each thread that wants to use this API, either ConnectService or TryConnectService must be149 * called before any other functions in this API. Normally, ConnectService is automatically called154 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------163 * Try to connect the current client thread to the service providing this API. Return with an error166 * For each thread that wants to use this API, either ConnectService or TryConnectService must be167 * called before any other functions in this API. Normally, ConnectService is automatically called176 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).179 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------189 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants192 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------205 * longer a connection to the service, and the functions in this API can't be used. For details, see210 //--------------------------------------------------------------------------------------------------217 //--------------------------------------------------------------------------------------------------221 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------232 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------239 //--------------------------------------------------------------------------------------------------244 //--------------------------------------------------------------------------------------------------247 //--------------------------------------------------------------------------------------------------251 //--------------------------------------------------------------------------------------------------254 //--------------------------------------------------------------------------------------------------259 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------277 //--------------------------------------------------------------------------------------------------279 * Maximum length of an Electronic Serial Number (ESN) string, excluding any termination character.281 //--------------------------------------------------------------------------------------------------284 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------292 //--------------------------------------------------------------------------------------------------296 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------307 //--------------------------------------------------------------------------------------------------312 //--------------------------------------------------------------------------------------------------315 //--------------------------------------------------------------------------------------------------320 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------325 * Maximum length of an Mobile Directory Number (MDN) string, excluding any termination character.327 //--------------------------------------------------------------------------------------------------330 //--------------------------------------------------------------------------------------------------335 //--------------------------------------------------------------------------------------------------338 //--------------------------------------------------------------------------------------------------343 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------351 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------359 //--------------------------------------------------------------------------------------------------362 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------370 //--------------------------------------------------------------------------------------------------374 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------382 //--------------------------------------------------------------------------------------------------385 //--------------------------------------------------------------------------------------------------390 //--------------------------------------------------------------------------------------------------393 //--------------------------------------------------------------------------------------------------398 //--------------------------------------------------------------------------------------------------401 //--------------------------------------------------------------------------------------------------403 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string406 //--------------------------------------------------------------------------------------------------409 //--------------------------------------------------------------------------------------------------411 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string.414 //--------------------------------------------------------------------------------------------------417 //--------------------------------------------------------------------------------------------------422 //--------------------------------------------------------------------------------------------------425 //--------------------------------------------------------------------------------------------------430 //--------------------------------------------------------------------------------------------------433 //--------------------------------------------------------------------------------------------------438 //--------------------------------------------------------------------------------------------------441 //--------------------------------------------------------------------------------------------------446 //--------------------------------------------------------------------------------------------------449 //--------------------------------------------------------------------------------------------------451 * Maximum length of an Platform Serial Number (PSN) string, excluding any termination character.453 //--------------------------------------------------------------------------------------------------456 //--------------------------------------------------------------------------------------------------461 //--------------------------------------------------------------------------------------------------464 //--------------------------------------------------------------------------------------------------468 //--------------------------------------------------------------------------------------------------471 //--------------------------------------------------------------------------------------------------473 * Maximum length of the product stock keeping unit number (SKU) string, excluding any termination476 //--------------------------------------------------------------------------------------------------479 //--------------------------------------------------------------------------------------------------484 //--------------------------------------------------------------------------------------------------487 //--------------------------------------------------------------------------------------------------491 //--------------------------------------------------------------------------------------------------514 //--------------------------------------------------------------------------------------------------525 //--------------------------------------------------------------------------------------------------534 //--------------------------------------------------------------------------------------------------545 //--------------------------------------------------------------------------------------------------554 //--------------------------------------------------------------------------------------------------567 //--------------------------------------------------------------------------------------------------576 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------600 //--------------------------------------------------------------------------------------------------613 //--------------------------------------------------------------------------------------------------622 //--------------------------------------------------------------------------------------------------631 //--------------------------------------------------------------------------------------------------640 //--------------------------------------------------------------------------------------------------649 //--------------------------------------------------------------------------------------------------659 //--------------------------------------------------------------------------------------------------668 //--------------------------------------------------------------------------------------------------678 //--------------------------------------------------------------------------------------------------687 //--------------------------------------------------------------------------------------------------697 //--------------------------------------------------------------------------------------------------706 //--------------------------------------------------------------------------------------------------713 //--------------------------------------------------------------------------------------------------722 //--------------------------------------------------------------------------------------------------729 //--------------------------------------------------------------------------------------------------738 //--------------------------------------------------------------------------------------------------748 //--------------------------------------------------------------------------------------------------757 //--------------------------------------------------------------------------------------------------767 //--------------------------------------------------------------------------------------------------776 //--------------------------------------------------------------------------------------------------785 //--------------------------------------------------------------------------------------------------787 * Get the Product Requirement Information Part Number and Revision Number strings in ASCII text.794 //--------------------------------------------------------------------------------------------------810 //--------------------------------------------------------------------------------------------------820 //--------------------------------------------------------------------------------------------------836 //--------------------------------------------------------------------------------------------------845 //--------------------------------------------------------------------------------------------------854 //--------------------------------------------------------------------------------------------------871 //--------------------------------------------------------------------------------------------------890 //--------------------------------------------------------------------------------------------------899 //--------------------------------------------------------------------------------------------------908 //--------------------------------------------------------------------------------------------------917 //--------------------------------------------------------------------------------------------------924 //--------------------------------------------------------------------------------------------------933 //--------------------------------------------------------------------------------------------------le_result_t le_info_GetPrlOnlyPreference(bool *prlOnlyPreferencePtr)le_result_t le_info_GetRfDeviceStatus(uint16_t *manufacturedIdPtr, size_t *manufacturedIdSizePtr, uint8_t *productIdPtr, size_t *productIdSizePtr, bool *statusPtr, size_t *statusSizePtr)void le_info_DisconnectService(void)le_result_t le_info_GetPlatformSerialNumber(char *platformSerialNumberStr, size_t platformSerialNumberStrSize)le_result_t le_info_GetMdn(char *mdnStr, size_t mdnStrSize)void le_info_ConnectService(void)void(* le_info_DisconnectHandler_t)(void *)Definition: le_info_interface.h:140le_result_t le_info_GetSku(char *skuIdStr, size_t skuIdStrSize)le_result_t le_info_GetPriId(char *priIdPnStr, size_t priIdPnStrSize, char *priIdRevStr, size_t priIdRevStrSize)le_result_t le_info_GetImeiSv(char *imeiSv, size_t imeiSvSize)le_result_t le_info_GetPrlVersion(uint16_t *prlVersionPtr)le_result_t le_info_GetNai(char *naiStr, size_t naiStrSize)le_result_t le_info_GetMin(char *msisdnStr, size_t msisdnStrSize)le_result_t le_info_GetBootloaderVersion(char *version, size_t versionSize)le_result_t le_info_GetImei(char *imei, size_t imeiSize)le_result_t le_info_GetMeid(char *meidStr, size_t meidStrSize)le_result_t le_info_GetManufacturerName(char *mfrNameStr, size_t mfrNameStrSize)le_result_t le_info_GetUnexpectedResetsCount(uint64_t *resetsCountPtrPtr)Power Down due to a critical temperature level.Definition: le_info_interface.h:508le_result_t le_info_GetExpectedResetsCount(uint64_t *resetsCountPtrPtr)le_result_t le_info_GetDeviceModel(char *modelPtr, size_t modelPtrSize)void le_info_SetServerDisconnectHandler(le_info_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_info_TryConnectService(void)le_result_t le_info_GetEsn(char *esnStr, size_t esnStrSize)le_result_t le_info_GetFirmwareVersion(char *version, size_t versionSize)le_result_t le_info_GetCarrierPri(char *capriNameStr, size_t capriNameStrSize, char *capriRevStr, size_t capriRevStrSize)le_result_t le_info_GetResetInformation(le_info_Reset_t *resetPtr, char *resetSpecificInfoStr, size_t resetSpecificInfoStrSize)