sendCommandReceiveSync

open fun sendCommandReceiveSync(message: LynxDekaInterfaceCommand): LynxMessage
open fun sendCommandReceiveSync(message: LynxStandardCommand): LynxMessage

Send command to the hub and returns response (If no response needed, use sendCommand)

Return

Response object. Will return null if sending/receiving message failed. Error will print in console

Parameters

message

The command and params