![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
| brp_errcode brp_Sys_SendMessage | ( | brp_Sys_SendMessage_t | params | ) |
This command sends a message to the host via a certain protocol.
If Protocol is 0, the message is sent to all active protocols. Furthermore, it is transformed by the corresponding HostMsgFormatTemplates, e.g. Protocols/KeyboardEmulation/HostMsgFormatTemplate in case of keyboard emulation.
If Protocol is a protocol ID, the message is sent to this protocol only and no HostMsgFormatTemplate conversion is initiated. The desired protocol must be active, e.g. by calling brp_Sys_SelectProtocol().
| [in] | params | Struct with the following fields:
|