le_info_interface.h
Go to the documentation of this file.
73 * le_info_GetCarrierPri() is used to retrieve the Carrier Product Requirement Information (CAPRI) Name103 //--------------------------------------------------------------------------------------------------107 //--------------------------------------------------------------------------------------------------110 //--------------------------------------------------------------------------------------------------113 * Connect the current client thread to the service providing this API. Block until the service is116 * For each thread that wants to use this API, either ConnectService or TryConnectService must be117 * called before any other functions in this API. Normally, ConnectService is automatically called122 //--------------------------------------------------------------------------------------------------128 //--------------------------------------------------------------------------------------------------131 * Try to connect the current client thread to the service providing this API. Return with an error134 * For each thread that wants to use this API, either ConnectService or TryConnectService must be135 * called before any other functions in this API. Normally, ConnectService is automatically called144 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).147 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------157 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants160 //--------------------------------------------------------------------------------------------------167 //--------------------------------------------------------------------------------------------------173 * longer a connection to the service, and the functions in this API can't be used. For details, see178 //--------------------------------------------------------------------------------------------------185 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------245 //--------------------------------------------------------------------------------------------------247 * Maximum length of an Electronic Serial Number (ESN) string, excluding any termination character.249 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------265 //--------------------------------------------------------------------------------------------------268 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------276 //--------------------------------------------------------------------------------------------------278 * Maximum length of an Mobile Directory Number (MDN) string, excluding any termination character.280 //--------------------------------------------------------------------------------------------------283 //--------------------------------------------------------------------------------------------------288 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------296 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------307 //--------------------------------------------------------------------------------------------------312 //--------------------------------------------------------------------------------------------------315 //--------------------------------------------------------------------------------------------------320 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------327 //--------------------------------------------------------------------------------------------------330 //--------------------------------------------------------------------------------------------------335 //--------------------------------------------------------------------------------------------------338 //--------------------------------------------------------------------------------------------------343 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------351 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------356 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string359 //--------------------------------------------------------------------------------------------------362 //--------------------------------------------------------------------------------------------------364 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string.367 //--------------------------------------------------------------------------------------------------370 //--------------------------------------------------------------------------------------------------375 //--------------------------------------------------------------------------------------------------378 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------386 //--------------------------------------------------------------------------------------------------391 //--------------------------------------------------------------------------------------------------394 //--------------------------------------------------------------------------------------------------399 //--------------------------------------------------------------------------------------------------402 //--------------------------------------------------------------------------------------------------404 * Maximum length of an Platform Serial Number (PSN) string, excluding any termination character.406 //--------------------------------------------------------------------------------------------------409 //--------------------------------------------------------------------------------------------------414 //--------------------------------------------------------------------------------------------------417 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------424 //--------------------------------------------------------------------------------------------------426 * Maximum length of the product stock keeping unit number (SKU) string, excluding any termination429 //--------------------------------------------------------------------------------------------------432 //--------------------------------------------------------------------------------------------------437 //--------------------------------------------------------------------------------------------------440 //--------------------------------------------------------------------------------------------------451 //--------------------------------------------------------------------------------------------------460 //--------------------------------------------------------------------------------------------------471 //--------------------------------------------------------------------------------------------------480 //--------------------------------------------------------------------------------------------------493 //--------------------------------------------------------------------------------------------------502 //--------------------------------------------------------------------------------------------------515 //--------------------------------------------------------------------------------------------------524 //--------------------------------------------------------------------------------------------------533 //--------------------------------------------------------------------------------------------------542 //--------------------------------------------------------------------------------------------------551 //--------------------------------------------------------------------------------------------------561 //--------------------------------------------------------------------------------------------------570 //--------------------------------------------------------------------------------------------------580 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------599 //--------------------------------------------------------------------------------------------------608 //--------------------------------------------------------------------------------------------------615 //--------------------------------------------------------------------------------------------------624 //--------------------------------------------------------------------------------------------------631 //--------------------------------------------------------------------------------------------------640 //--------------------------------------------------------------------------------------------------650 //--------------------------------------------------------------------------------------------------659 //--------------------------------------------------------------------------------------------------669 //--------------------------------------------------------------------------------------------------678 //--------------------------------------------------------------------------------------------------687 //--------------------------------------------------------------------------------------------------689 * Get the Product Requirement Information Part Number and Revision Number strings in ASCII text.696 //--------------------------------------------------------------------------------------------------712 //--------------------------------------------------------------------------------------------------722 //--------------------------------------------------------------------------------------------------738 //--------------------------------------------------------------------------------------------------747 //--------------------------------------------------------------------------------------------------756 //--------------------------------------------------------------------------------------------------769 //--------------------------------------------------------------------------------------------------788 //--------------------------------------------------------------------------------------------------797 //--------------------------------------------------------------------------------------------------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:108le_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_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)