interfaces/modemServices/c/le_info.h File Reference
#include "legato.h"
#include "le_mdm_defs.h"

Go to the source code of this file.

Defines

#define LE_INFO_IMEI_MAX_LEN   (15+1)

Functions

le_result_t le_info_GetImei (char *imeiPtr, size_t len)

Detailed Description

Legato Modem Information API include file.

Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.


Define Documentation

#define LE_INFO_IMEI_MAX_LEN   (15+1)

Maximum IMEI length (15 digits)


Function Documentation

le_result_t le_info_GetImei ( char *  imeiPtr,
size_t  len 
)

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]imeiPtrIMEI string.
[in]lenLength of IMEI string.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines