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)118 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------125 //--------------------------------------------------------------------------------------------------128 * Connect the current client thread to the service providing this API. Block until the service is131 * For each thread that wants to use this API, either ConnectService or TryConnectService must be132 * called before any other functions in this API. Normally, ConnectService is automatically called137 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------146 * Try to connect the current client thread to the service providing this API. Return with an error149 * For each thread that wants to use this API, either ConnectService or TryConnectService must be150 * called before any other functions in this API. Normally, ConnectService is automatically called159 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).162 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------172 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants175 //--------------------------------------------------------------------------------------------------182 //--------------------------------------------------------------------------------------------------188 * longer a connection to the service, and the functions in this API can't be used. For details, see193 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------245 //--------------------------------------------------------------------------------------------------249 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------262 * Maximum length of an Electronic Serial Number (ESN) string, excluding any termination character.264 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------272 //--------------------------------------------------------------------------------------------------275 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------282 //--------------------------------------------------------------------------------------------------287 //--------------------------------------------------------------------------------------------------290 //--------------------------------------------------------------------------------------------------295 //--------------------------------------------------------------------------------------------------298 //--------------------------------------------------------------------------------------------------303 //--------------------------------------------------------------------------------------------------306 //--------------------------------------------------------------------------------------------------308 * Maximum length of an Mobile Directory Number (MDN) string, excluding any termination character.310 //--------------------------------------------------------------------------------------------------313 //--------------------------------------------------------------------------------------------------318 //--------------------------------------------------------------------------------------------------321 //--------------------------------------------------------------------------------------------------326 //--------------------------------------------------------------------------------------------------329 //--------------------------------------------------------------------------------------------------334 //--------------------------------------------------------------------------------------------------337 //--------------------------------------------------------------------------------------------------342 //--------------------------------------------------------------------------------------------------345 //--------------------------------------------------------------------------------------------------350 //--------------------------------------------------------------------------------------------------353 //--------------------------------------------------------------------------------------------------357 //--------------------------------------------------------------------------------------------------360 //--------------------------------------------------------------------------------------------------365 //--------------------------------------------------------------------------------------------------368 //--------------------------------------------------------------------------------------------------373 //--------------------------------------------------------------------------------------------------376 //--------------------------------------------------------------------------------------------------381 //--------------------------------------------------------------------------------------------------384 //--------------------------------------------------------------------------------------------------386 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string389 //--------------------------------------------------------------------------------------------------392 //--------------------------------------------------------------------------------------------------394 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string.397 //--------------------------------------------------------------------------------------------------400 //--------------------------------------------------------------------------------------------------405 //--------------------------------------------------------------------------------------------------408 //--------------------------------------------------------------------------------------------------413 //--------------------------------------------------------------------------------------------------416 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------424 //--------------------------------------------------------------------------------------------------429 //--------------------------------------------------------------------------------------------------432 //--------------------------------------------------------------------------------------------------434 * Maximum length of an Platform Serial Number (PSN) string, excluding any termination character.436 //--------------------------------------------------------------------------------------------------439 //--------------------------------------------------------------------------------------------------444 //--------------------------------------------------------------------------------------------------447 //--------------------------------------------------------------------------------------------------451 //--------------------------------------------------------------------------------------------------454 //--------------------------------------------------------------------------------------------------456 * Maximum length of the product stock keeping unit number (SKU) string, excluding any termination459 //--------------------------------------------------------------------------------------------------462 //--------------------------------------------------------------------------------------------------467 //--------------------------------------------------------------------------------------------------470 //--------------------------------------------------------------------------------------------------474 //--------------------------------------------------------------------------------------------------497 //--------------------------------------------------------------------------------------------------508 //--------------------------------------------------------------------------------------------------517 //--------------------------------------------------------------------------------------------------528 //--------------------------------------------------------------------------------------------------537 //--------------------------------------------------------------------------------------------------550 //--------------------------------------------------------------------------------------------------559 //--------------------------------------------------------------------------------------------------572 //--------------------------------------------------------------------------------------------------583 //--------------------------------------------------------------------------------------------------596 //--------------------------------------------------------------------------------------------------605 //--------------------------------------------------------------------------------------------------614 //--------------------------------------------------------------------------------------------------623 //--------------------------------------------------------------------------------------------------632 //--------------------------------------------------------------------------------------------------642 //--------------------------------------------------------------------------------------------------651 //--------------------------------------------------------------------------------------------------661 //--------------------------------------------------------------------------------------------------670 //--------------------------------------------------------------------------------------------------680 //--------------------------------------------------------------------------------------------------689 //--------------------------------------------------------------------------------------------------696 //--------------------------------------------------------------------------------------------------705 //--------------------------------------------------------------------------------------------------712 //--------------------------------------------------------------------------------------------------721 //--------------------------------------------------------------------------------------------------731 //--------------------------------------------------------------------------------------------------740 //--------------------------------------------------------------------------------------------------750 //--------------------------------------------------------------------------------------------------759 //--------------------------------------------------------------------------------------------------768 //--------------------------------------------------------------------------------------------------770 * Get the Product Requirement Information Part Number and Revision Number strings in ASCII text.777 //--------------------------------------------------------------------------------------------------793 //--------------------------------------------------------------------------------------------------803 //--------------------------------------------------------------------------------------------------819 //--------------------------------------------------------------------------------------------------828 //--------------------------------------------------------------------------------------------------837 //--------------------------------------------------------------------------------------------------854 //--------------------------------------------------------------------------------------------------873 //--------------------------------------------------------------------------------------------------882 //--------------------------------------------------------------------------------------------------891 //--------------------------------------------------------------------------------------------------900 //--------------------------------------------------------------------------------------------------907 //--------------------------------------------------------------------------------------------------916 //--------------------------------------------------------------------------------------------------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:123le_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:491le_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)