![]() |
Using the µVision Socket Interface
Application Note 198
Control and monitor µVision via the built-in TCP/IP interface
|
Functions | |
| _UVSC_FUNC_ UVSC_STATUS | UVSC_GetCmdOutputSize (int iConnHandle, int *pCmdOutputSize) |
| _UVSC_FUNC_ UVSC_STATUS | UVSC_GetCmdOutput (int iConnHandle, char *pCmdOutput, int cmdOutputLen) |
| _UVSC_FUNC_ UVSC_STATUS UVSC_GetCmdOutput | ( | int | iConnHandle, |
| char * | pCmdOutput, | ||
| int | cmdOutputLen | ||
| ) |
Get the latest command output text (result of UVSC_DBG_EXEC_CMD)
| iConnHandle | Handle for the connection, as returned by UVSC_OpenConnection |
| pCmdOutput | Pointer to a buffer to contain the command output text |
| cmdOutputLen | Size of the pCmdOutput buffer (bytes) |
Use this function to get the latest command output text. First call UVSC_GetCmdOutputSize so that a correctly sized buffer can be passed to this function.
| _UVSC_FUNC_ UVSC_STATUS UVSC_GetCmdOutputSize | ( | int | iConnHandle, |
| int * | pCmdOutputSize | ||
| ) |
Get the size (bytes) of the latest command output text (result of UVSC_DBG_EXEC_CMD)
| iConnHandle | Handle for the connection, as returned by UVSC_OpenConnection |
| pCmdOutputSize | Pointer to a variable to contain the command output text size (bytes) |
Use this function to get the size (bytes) of the latest command output text that will be returned by the UVSC_GetCmdOutput function.