le_info_interface.h
Go to the documentation of this file.
94 //--------------------------------------------------------------------------------------------------97 * Connect the current client thread to the service providing this API. Block until the service is100 * For each thread that wants to use this API, either ConnectService or TryConnectService must be101 * called before any other functions in this API. Normally, ConnectService is automatically called106 //--------------------------------------------------------------------------------------------------112 //--------------------------------------------------------------------------------------------------115 * Try to connect the current client thread to the service providing this API. Return with an error118 * For each thread that wants to use this API, either ConnectService or TryConnectService must be119 * called before any other functions in this API. Normally, ConnectService is automatically called126 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.127 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).130 //--------------------------------------------------------------------------------------------------136 //--------------------------------------------------------------------------------------------------142 * longer a connection to the service, and the functions in this API can't be used. For details, see147 //--------------------------------------------------------------------------------------------------154 //--------------------------------------------------------------------------------------------------158 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------167 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------184 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------196 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------205 //--------------------------------------------------------------------------------------------------207 * Maximum length of an Electronic Serial Number (ESN) string, excluding any termination character.209 //--------------------------------------------------------------------------------------------------213 //--------------------------------------------------------------------------------------------------218 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------236 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------242 * Maximum length of an Mobile Directory Number (MDN) string, excluding any termination character.244 //--------------------------------------------------------------------------------------------------248 //--------------------------------------------------------------------------------------------------253 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------271 //--------------------------------------------------------------------------------------------------275 //--------------------------------------------------------------------------------------------------280 //--------------------------------------------------------------------------------------------------284 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------293 //--------------------------------------------------------------------------------------------------297 //--------------------------------------------------------------------------------------------------301 //--------------------------------------------------------------------------------------------------306 //--------------------------------------------------------------------------------------------------310 //--------------------------------------------------------------------------------------------------315 //--------------------------------------------------------------------------------------------------319 //--------------------------------------------------------------------------------------------------324 //--------------------------------------------------------------------------------------------------328 //--------------------------------------------------------------------------------------------------330 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string333 //--------------------------------------------------------------------------------------------------337 //--------------------------------------------------------------------------------------------------339 * Maximum length of the Product Requirement Information Identifier (PRI ID) Revision Number string.342 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------348 * Maximum length of an Platform Serial Number (PSN) string, excluding any termination character.350 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------359 //--------------------------------------------------------------------------------------------------363 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------371 //--------------------------------------------------------------------------------------------------373 * Maximum length of the product stock keeping unit number (SKU) string, excluding any termination376 //--------------------------------------------------------------------------------------------------380 //--------------------------------------------------------------------------------------------------385 //--------------------------------------------------------------------------------------------------388 //--------------------------------------------------------------------------------------------------399 //--------------------------------------------------------------------------------------------------409 //--------------------------------------------------------------------------------------------------419 //--------------------------------------------------------------------------------------------------429 //--------------------------------------------------------------------------------------------------439 //--------------------------------------------------------------------------------------------------449 //--------------------------------------------------------------------------------------------------458 //--------------------------------------------------------------------------------------------------468 //--------------------------------------------------------------------------------------------------477 //--------------------------------------------------------------------------------------------------488 //--------------------------------------------------------------------------------------------------497 //--------------------------------------------------------------------------------------------------508 //--------------------------------------------------------------------------------------------------517 //--------------------------------------------------------------------------------------------------528 //--------------------------------------------------------------------------------------------------537 //--------------------------------------------------------------------------------------------------544 //--------------------------------------------------------------------------------------------------553 //--------------------------------------------------------------------------------------------------560 //--------------------------------------------------------------------------------------------------569 //--------------------------------------------------------------------------------------------------580 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------600 //--------------------------------------------------------------------------------------------------609 //--------------------------------------------------------------------------------------------------619 //--------------------------------------------------------------------------------------------------621 * Get the Product Requirement Information Part Number and Revision Number strings in ASCII text.628 //--------------------------------------------------------------------------------------------------647 //--------------------------------------------------------------------------------------------------656 //--------------------------------------------------------------------------------------------------666 //--------------------------------------------------------------------------------------------------679 //--------------------------------------------------------------------------------------------------703 //--------------------------------------------------------------------------------------------------712 //--------------------------------------------------------------------------------------------------le_result_t le_info_GetPrlOnlyPreference(bool *prlOnlyPreferencePtr)le_result_t le_info_GetNai(char *naiStr, size_t naiStrNumElements)le_result_t le_info_GetSku(char *skuIdStr, size_t skuIdStrNumElements)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_GetRfDeviceStatus(uint16_t *manufacturedIdPtr, size_t *manufacturedIdNumElementsPtr, uint8_t *productIdPtr, size_t *productIdNumElementsPtr, bool *statusPtr, size_t *statusNumElementsPtr)le_result_t le_info_GetFirmwareVersion(char *version, size_t versionNumElements)le_result_t le_info_GetMeid(char *meidStr, size_t meidStrNumElements)