le_sup_ctrl_interface.h File Reference
#include "legato.h"
#include "le_limit_interface.h"

Go to the source code of this file.

Functions

void le_sup_ctrl_ConnectService (void)
 
void le_sup_ctrl_DisconnectService (void)
 
le_result_t le_sup_ctrl_StartApp (const char *appName)
 
le_result_t le_sup_ctrl_StopApp (const char *appName)
 
le_result_t le_sup_ctrl_StopLegato (void)
 

Detailed Description

Legato Supervisor Control API include file.

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

Function Documentation

void le_sup_ctrl_ConnectService ( void  )

Connect the client to the service

void le_sup_ctrl_DisconnectService ( void  )

Disconnect the client from the service

le_result_t le_sup_ctrl_StartApp ( const char *  appName)

Starts an app.

Returns
LE_OK if the app is successfully started. LE_DUPLICATE if the app is already running. LE_NOT_FOUND if the app isn't installed. LE_FAULT if there was an error and the app could not be launched.
Parameters
[in]appNameName of the app to start.
le_result_t le_sup_ctrl_StopApp ( const char *  appName)

Stops an app.

Returns
LE_OK if successful. LE_NOT_FOUND if the app could not be found.
Parameters
[in]appNameName of the app to stop.
le_result_t le_sup_ctrl_StopLegato ( void  )

Stops the Legato framework.

Returns
LE_OK if successful. LE_DUPLICATE if the framework is in the process of shutting down because someone else has already requested the framework be stopped.