Add function to send unsolicited IPMI payload to remote console.
Change-Id: Ifd9c711c16a6640d36d6247a7c3b46a7db1c6596
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/message_handler.hpp b/message_handler.hpp
index 60b7a6d..0f553b7 100644
--- a/message_handler.hpp
+++ b/message_handler.hpp
@@ -73,6 +73,20 @@
*/
void sendSOLPayload(const sol::Buffer& input);
+ /** @brief Send the unsolicited IPMI payload to the remote console.
+ *
+ * This is used by commands like SOL activating, in which case the BMC
+ * has to notify the remote console that a SOL payload is activating
+ * on another channel.
+ *
+ * @param[in] netfn - Net function.
+ * @param[in] cmd - Command.
+ * @param[in] input - Command request data.
+ */
+ void sendUnsolicitedIPMIPayload(uint8_t netfn,
+ uint8_t cmd,
+ const std::vector<uint8_t>& input);
+
// BMC Session ID for the Channel
session::SessionID sessionID;