Go to the source code of this file.
Legato Modem Information API include file.
Copyright (C) Sierra Wireless, Inc. 2014. Use of this work is subject to license.
#define LE_INFO_IMEI_MAX_LEN 16 |
Maximum IMEI length (15 digits)
le_result_t le_info_GetImei |
( |
char * |
imei, |
|
|
size_t |
imeiNumElements |
|
) |
| |
Retrieve the International Mobile Equipment Identity (IMEI).
- Returns
- LE_FAULT Function failed to retrieve the IMEI.
-
LE_OVERFLOW IMEI length exceed the maximum length.
-
LE_OK Function succeeded.
- Note
- If the caller passes a bad pointer into this function, it's a fatal error; the function will not return.
- Parameters
-
[out] | imei | IMEI string. |
[in] | imeiNumElements | |
void le_info_StartClient |
( |
const char * |
serviceInstanceName | ) |
|
Start the service for the client main thread
- Parameters
-
void le_info_StopClient |
( |
void |
| ) |
|
Stop the service for the current client thread