/// <summary> /// Send sync Bridge Command /// </summary> /// <param name="channel">Channel to send command (Intel ME = 6)</param> /// <param name="slaveId">Channel Slave Id</param> /// <param name="messageData">Message payload</param> public virtual BridgeMessage SendMessage(byte channel, byte slaveId, byte[] requestMessage) { SendMessageResponse sendmsg = (SendMessageResponse)this.IpmiSendReceive( new SendMessageRequest(channel, requestMessage), typeof(SendMessageResponse)); BridgeMessage response = new BridgeMessage(sendmsg.CompletionCode); if (sendmsg.CompletionCode == 0x00) response.SetParamaters(sendmsg.MessageData); return response; }
/// <summary> /// Read Event Message Buffer /// </summary> public virtual BridgeMessage ReadEventMessageBuffer() { ReadEventMessageBufferResponse getMsg = (ReadEventMessageBufferResponse)this.IpmiSendReceive( new ReadEventMessageBufferRequest(), typeof(ReadEventMessageBufferResponse)); BridgeMessage response = new BridgeMessage(getMsg.CompletionCode); if (getMsg.CompletionCode == 0x00) response.SetParamaters(getMsg.MessageData); return response; }