le_info_interface.h
Go to the documentation of this file.
88 //--------------------------------------------------------------------------------------------------91 * Connect the current client thread to the service providing this API. Block until the service is95 * called before any other functions in this API. Normally, ConnectService is automatically called100 //--------------------------------------------------------------------------------------------------106 //--------------------------------------------------------------------------------------------------109 * Try to connect the current client thread to the service providing this API. Return with an error112 * For each thread that wants to use this API, either ConnectService or TryConnectService must be113 * called before any other functions in this API. Normally, ConnectService is automatically called120 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.121 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).124 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------136 * longer a connection to the service, and the functions in this API can't be used. For details, see141 //--------------------------------------------------------------------------------------------------148 //--------------------------------------------------------------------------------------------------152 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------169 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------178 //--------------------------------------------------------------------------------------------------182 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------190 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------201 * Maximum length of an Electronic Serial Number (ESN) string, excluding any termination character.203 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------221 //--------------------------------------------------------------------------------------------------225 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------236 * Maximum length of an Mobile Directory Number (MDN) string, excluding any termination character.238 //--------------------------------------------------------------------------------------------------242 //--------------------------------------------------------------------------------------------------247 //--------------------------------------------------------------------------------------------------251 //--------------------------------------------------------------------------------------------------256 //--------------------------------------------------------------------------------------------------260 //--------------------------------------------------------------------------------------------------265 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------278 //--------------------------------------------------------------------------------------------------283 //--------------------------------------------------------------------------------------------------287 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------295 //--------------------------------------------------------------------------------------------------300 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------309 //--------------------------------------------------------------------------------------------------313 //--------------------------------------------------------------------------------------------------318 //--------------------------------------------------------------------------------------------------322 //--------------------------------------------------------------------------------------------------324 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string327 //--------------------------------------------------------------------------------------------------331 //--------------------------------------------------------------------------------------------------333 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string.336 //--------------------------------------------------------------------------------------------------340 //--------------------------------------------------------------------------------------------------342 * Maximum length of an Platform Serial Number (PSN) string, excluding any termination character.344 //--------------------------------------------------------------------------------------------------348 //--------------------------------------------------------------------------------------------------353 //--------------------------------------------------------------------------------------------------356 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------387 //--------------------------------------------------------------------------------------------------397 //--------------------------------------------------------------------------------------------------407 //--------------------------------------------------------------------------------------------------417 //--------------------------------------------------------------------------------------------------426 //--------------------------------------------------------------------------------------------------436 //--------------------------------------------------------------------------------------------------445 //--------------------------------------------------------------------------------------------------456 //--------------------------------------------------------------------------------------------------465 //--------------------------------------------------------------------------------------------------476 //--------------------------------------------------------------------------------------------------485 //--------------------------------------------------------------------------------------------------496 //--------------------------------------------------------------------------------------------------505 //--------------------------------------------------------------------------------------------------512 //--------------------------------------------------------------------------------------------------521 //--------------------------------------------------------------------------------------------------528 //--------------------------------------------------------------------------------------------------537 //--------------------------------------------------------------------------------------------------548 //--------------------------------------------------------------------------------------------------557 //--------------------------------------------------------------------------------------------------568 //--------------------------------------------------------------------------------------------------577 //--------------------------------------------------------------------------------------------------587 //--------------------------------------------------------------------------------------------------589 * Get the Product Requirement Information Part Number and Revision Number strings in ASCII text.596 //--------------------------------------------------------------------------------------------------615 //--------------------------------------------------------------------------------------------------624 //--------------------------------------------------------------------------------------------------le_result_t le_info_GetPrlOnlyPreference(bool *prlOnlyPreferencePtr)le_result_t le_info_GetNai(char *naiStr, size_t naiStrNumElements)void le_info_DisconnectService(void)le_result_t le_info_GetManufacturerName(char *mfrNameStr, size_t mfrNameStrNumElements)void le_info_ConnectService(void)le_result_t le_info_GetPrlVersion(uint16_t *prlVersionPtr)le_result_t le_info_GetEsn(char *esnStr, size_t esnStrNumElements)le_result_t le_info_GetPlatformSerialNumber(char *platformSerialNumberStr, size_t platformSerialNumberStrNumElements)le_result_t le_info_GetMin(char *msisdnStr, size_t msisdnStrNumElements)le_result_t le_info_GetBootloaderVersion(char *version, size_t versionNumElements)le_result_t le_info_GetPriId(char *priIdPnStr, size_t priIdPnStrNumElements, char *priIdRevStr, size_t priIdRevStrNumElements)le_result_t le_info_GetDeviceModel(char *modelPtr, size_t modelPtrNumElements)le_result_t le_info_GetMdn(char *mdnStr, size_t mdnStrNumElements)le_result_t le_info_GetImei(char *imei, size_t imeiNumElements)le_result_t le_info_TryConnectService(void)le_result_t le_info_GetFirmwareVersion(char *version, size_t versionNumElements)le_result_t le_info_GetMeid(char *meidStr, size_t meidStrNumElements)