le_info_interface.h
Go to the documentation of this file.
100 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------107 //--------------------------------------------------------------------------------------------------110 * Connect the current client thread to the service providing this API. Block until the service is113 * For each thread that wants to use this API, either ConnectService or TryConnectService must be114 * called before any other functions in this API. Normally, ConnectService is automatically called119 //--------------------------------------------------------------------------------------------------125 //--------------------------------------------------------------------------------------------------128 * Try to connect the current client thread to the service providing this API. Return with an error131 * 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 called141 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).144 //--------------------------------------------------------------------------------------------------150 //--------------------------------------------------------------------------------------------------154 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants157 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------170 * longer a connection to the service, and the functions in this API can't be used. For details, see175 //--------------------------------------------------------------------------------------------------182 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------209 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------239 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------244 * Maximum length of an Electronic Serial Number (ESN) string, excluding any termination character.246 //--------------------------------------------------------------------------------------------------249 //--------------------------------------------------------------------------------------------------254 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------265 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------275 * Maximum length of an Mobile Directory Number (MDN) string, excluding any termination character.277 //--------------------------------------------------------------------------------------------------280 //--------------------------------------------------------------------------------------------------285 //--------------------------------------------------------------------------------------------------288 //--------------------------------------------------------------------------------------------------293 //--------------------------------------------------------------------------------------------------296 //--------------------------------------------------------------------------------------------------301 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------309 //--------------------------------------------------------------------------------------------------312 //--------------------------------------------------------------------------------------------------317 //--------------------------------------------------------------------------------------------------320 //--------------------------------------------------------------------------------------------------324 //--------------------------------------------------------------------------------------------------327 //--------------------------------------------------------------------------------------------------332 //--------------------------------------------------------------------------------------------------335 //--------------------------------------------------------------------------------------------------340 //--------------------------------------------------------------------------------------------------343 //--------------------------------------------------------------------------------------------------348 //--------------------------------------------------------------------------------------------------351 //--------------------------------------------------------------------------------------------------353 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string356 //--------------------------------------------------------------------------------------------------359 //--------------------------------------------------------------------------------------------------361 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string.364 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------369 * Maximum length of an Platform Serial Number (PSN) string, excluding any termination character.371 //--------------------------------------------------------------------------------------------------374 //--------------------------------------------------------------------------------------------------379 //--------------------------------------------------------------------------------------------------382 //--------------------------------------------------------------------------------------------------386 //--------------------------------------------------------------------------------------------------389 //--------------------------------------------------------------------------------------------------391 * Maximum length of the product stock keeping unit number (SKU) string, excluding any termination394 //--------------------------------------------------------------------------------------------------397 //--------------------------------------------------------------------------------------------------402 //--------------------------------------------------------------------------------------------------405 //--------------------------------------------------------------------------------------------------416 //--------------------------------------------------------------------------------------------------425 //--------------------------------------------------------------------------------------------------436 //--------------------------------------------------------------------------------------------------445 //--------------------------------------------------------------------------------------------------458 //--------------------------------------------------------------------------------------------------467 //--------------------------------------------------------------------------------------------------480 //--------------------------------------------------------------------------------------------------489 //--------------------------------------------------------------------------------------------------498 //--------------------------------------------------------------------------------------------------507 //--------------------------------------------------------------------------------------------------516 //--------------------------------------------------------------------------------------------------526 //--------------------------------------------------------------------------------------------------535 //--------------------------------------------------------------------------------------------------545 //--------------------------------------------------------------------------------------------------554 //--------------------------------------------------------------------------------------------------564 //--------------------------------------------------------------------------------------------------573 //--------------------------------------------------------------------------------------------------580 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------596 //--------------------------------------------------------------------------------------------------605 //--------------------------------------------------------------------------------------------------615 //--------------------------------------------------------------------------------------------------624 //--------------------------------------------------------------------------------------------------634 //--------------------------------------------------------------------------------------------------643 //--------------------------------------------------------------------------------------------------652 //--------------------------------------------------------------------------------------------------654 * Get the Product Requirement Information Part Number and Revision Number strings in ASCII text.661 //--------------------------------------------------------------------------------------------------677 //--------------------------------------------------------------------------------------------------686 //--------------------------------------------------------------------------------------------------695 //--------------------------------------------------------------------------------------------------708 //--------------------------------------------------------------------------------------------------727 //--------------------------------------------------------------------------------------------------736 //--------------------------------------------------------------------------------------------------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:105le_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)