All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
le_info_interface.h File Reference
#include "legato.h"

Go to the source code of this file.

Macros

#define LE_INFO_IMEI_MAX_LEN   16
 

Functions

void le_info_StartClient (const char *serviceInstanceName)
 
void le_info_StopClient (void)
 
le_result_t le_info_GetImei (char *imei, size_t imeiNumElements)
 

Detailed Description

Legato Modem Information API include file.

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

Macro Definition Documentation

#define LE_INFO_IMEI_MAX_LEN   16

Maximum IMEI length (15 digits)

Function Documentation

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]imeiIMEI string.
[in]imeiNumElements
void le_info_StartClient ( const char *  serviceInstanceName)

Start the service for the client main thread

Parameters
[in]serviceInstanceName
void le_info_StopClient ( void  )

Stop the service for the current client thread