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)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|140 //--------------------------------------------------------------------------------------------------144 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------150 * Connect the current client thread to the service providing this API. Block until the service is153 * For each thread that wants to use this API, either ConnectService or TryConnectService must be154 * called before any other functions in this API. Normally, ConnectService is automatically called159 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------168 * Try to connect the current client thread to the service providing this API. Return with an error171 * For each thread that wants to use this API, either ConnectService or TryConnectService must be172 * called before any other functions in this API. Normally, ConnectService is automatically called181 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).184 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------194 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants197 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------210 * longer a connection to the service, and the functions in this API can't be used. For details, see215 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------226 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------249 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------282 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------315 //--------------------------------------------------------------------------------------------------328 //--------------------------------------------------------------------------------------------------337 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------355 //--------------------------------------------------------------------------------------------------364 //--------------------------------------------------------------------------------------------------374 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------393 //--------------------------------------------------------------------------------------------------402 //--------------------------------------------------------------------------------------------------412 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------428 //--------------------------------------------------------------------------------------------------437 //--------------------------------------------------------------------------------------------------444 //--------------------------------------------------------------------------------------------------453 //--------------------------------------------------------------------------------------------------463 //--------------------------------------------------------------------------------------------------472 //--------------------------------------------------------------------------------------------------482 //--------------------------------------------------------------------------------------------------491 //--------------------------------------------------------------------------------------------------500 //--------------------------------------------------------------------------------------------------502 * Get the Product Requirement Information Part Number and Revision Number strings in ASCII text.509 //--------------------------------------------------------------------------------------------------525 //--------------------------------------------------------------------------------------------------535 //--------------------------------------------------------------------------------------------------551 //--------------------------------------------------------------------------------------------------560 //--------------------------------------------------------------------------------------------------569 //--------------------------------------------------------------------------------------------------586 //--------------------------------------------------------------------------------------------------605 //--------------------------------------------------------------------------------------------------614 //--------------------------------------------------------------------------------------------------623 //--------------------------------------------------------------------------------------------------633 //--------------------------------------------------------------------------------------------------640 //--------------------------------------------------------------------------------------------------650 //--------------------------------------------------------------------------------------------------le_result_t le_info_GetResetInformation(le_info_Reset_t *resetPtr, char *resetSpecificInfoStr, size_t resetSpecificInfoStrSize)void le_info_DisconnectService(void)le_result_t le_info_GetPrlVersion(uint16_t *prlVersionPtr)le_result_t le_info_GetSku(char *skuIdStr, size_t skuIdStrSize)le_result_t le_info_GetNai(char *naiStr, size_t naiStrSize)le_result_t le_info_GetRfDeviceStatus(uint16_t *manufacturedIdPtr, size_t *manufacturedIdSizePtr, uint8_t *productIdPtr, size_t *productIdSizePtr, bool *statusPtr, size_t *statusSizePtr)le_result_t le_info_GetFirmwareVersion(char *version, size_t versionSize)le_result_t le_info_GetUnexpectedResetsCount(uint64_t *resetsCountPtrPtr)le_result_t le_info_GetPlatformSerialNumber(char *platformSerialNumberStr, size_t platformSerialNumberStrSize)le_result_t le_info_GetMeid(char *meidStr, size_t meidStrSize)le_result_t le_info_GetPriId(char *priIdPnStr, size_t priIdPnStrSize, char *priIdRevStr, size_t priIdRevStrSize)le_result_t le_info_GetMdn(char *mdnStr, size_t mdnStrSize)le_result_t le_info_GetManufacturerName(char *mfrNameStr, size_t mfrNameStrSize)le_result_t le_info_GetDeviceModel(char *modelPtr, size_t modelPtrSize)le_result_t le_info_GetImeiSv(char *imeiSv, size_t imeiSvSize)le_result_t le_info_GetBootloaderVersion(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_GetMin(char *msisdnStr, size_t msisdnStrSize)void(* le_info_DisconnectHandler_t)(void *)Definition: le_info_interface.h:145le_result_t le_info_TryConnectService(void)le_result_t le_info_GetExpectedResetsCount(uint64_t *resetsCountPtrPtr)le_result_t le_info_GetImei(char *imei, size_t imeiSize)LE_FULL_API void le_info_SetServerDisconnectHandler(le_info_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_info_ConnectService(void)le_result_t le_info_GetPrlOnlyPreference(bool *prlOnlyPreferencePtr)le_result_t le_info_GetEsn(char *esnStr, size_t esnStrSize)