public final class ProfilerAPI extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
API_ERR_API_NOT_ENABLED
Return code: API should be enabled from the command line.
|
static int |
API_ERR_CANT_CONNECT
Return code: Could not connect to host.
|
static int |
API_ERR_OK
Return code: No error has occurred.
|
static int |
API_ERR_UNKNOWN_CMD
Return code: Unknown command.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
prof_connect(String aHostname,
short aPort)
Connects to host name on given port.
|
static int |
prof_execute_cmd(int aCmd,
int aParam1,
int aParam2,
int aParam3)
Executes command with given parameters.
|
public static final int API_ERR_API_NOT_ENABLED
public static final int API_ERR_CANT_CONNECT
public static final int API_ERR_OK
public static final int API_ERR_UNKNOWN_CMD
public static int prof_connect(String aHostname, short aPort)
aHostname - host to connect toaPort - port numberpublic static int prof_execute_cmd(int aCmd,
int aParam1,
int aParam2,
int aParam3)
aCmd - command to be executed, see IProfilerCommands.PROF_CMD_*aParam1 - parameter 1 for the commandaParam2 - parameter 2 for the commandaParam3 - parameter 3 for the commandCopyright © 2012-2021 Bosch.IO GmbH. All Rights Reserved.