This function sends text (keyboard input) to the client, where it will be received as incoming data from the serial controller. This function should not be called if the SOL session was opened in loopback mode (since in loopback mode the client will loopback all data to itself, and should not receive data from the library).
Function Header
IMRResult IMR_SOLSendText(
ClientID id,
unsigned char *data,
int len
);
Function Parameters
Field |
Input/Output |
Value or Description |
id |
Input |
The ID of the relevant client. |
data |
Input |
A pointer to a buffer of data to be sent. This parameter must not be NULL. |
len |
Input |
The length of the data to be sent. This value must be greater than zero. |
Function Return Status
For a complete list of possible error codes, see Error Codes.
Status |
Value or Description |
IMR_RES_OK |
The command finished successfully. |
IMR_RES_SESSION_LOOPBACK |
The session is in loopback mode. |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |