summaryrefslogtreecommitdiffstats
path: root/src/include/usr/htmgt/htmgt.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/htmgt/htmgt.H')
-rwxr-xr-xsrc/include/usr/htmgt/htmgt.H24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/usr/htmgt/htmgt.H b/src/include/usr/htmgt/htmgt.H
index de7cfd2fb..8fbdf21c9 100755
--- a/src/include/usr/htmgt/htmgt.H
+++ b/src/include/usr/htmgt/htmgt.H
@@ -107,6 +107,30 @@ namespace HTMGT
*/
errlHndl_t enableOccActuation(bool i_occActivation);
+
+
+ /**
+ * @brief Send a pass-through command to HTMGT
+ *
+ * @details  This is a blocking call that will send a command
+ *           to HTMGT.
+ *
+ * @note The maximum response data returned will be 4096 bytes
+ *
+ * @param[in] i_cmdLength number of bytes in pass-thru command data
+ * @param[in]   *i_cmdData   pointer to pass-thru command data
+ * @param[out] o_rspLength number of bytes returned in o_rspData
+ * @param[out] *o_rspData   pointer to a 4096 byte buffer that will
+ * contain the response data from the command
+ *
+ * @returns NULL on success, or an error handle if the state did not
+ * change.
+ */
+ errlHndl_t passThruCommand(uint16_t i_cmdLength,
+ uint8_t * i_cmdData,
+ uint16_t & o_rspLength,
+ uint8_t * o_rspData);
+
}
#endif // HTMGT_H
OpenPOWER on IntegriCloud