After establishing a connection between the UI and Engine sides of your component, you are ready to send messages to each other. The function for sending messages is CommsSend and it takes a connection pointer, buffer pointer and buffer length.
On the receiving end, the message makes its way to ComponentCommunicationsInterface.CommsRecv which is a callback function set by you when you registered your component comms interface. This is typically done in InitInterfaces.