Versions in this module Expand all Collapse all v0 v0.9.1 Aug 31, 2026 v0.9.0 Aug 9, 2026 Changes in this version + type AlertImmediateOperation uint8 + const AlertImmediateOperationClearStatus + const AlertImmediateOperationGetStatus + const AlertImmediateOperationInitiateAlert + const AlertImmediateOperationReserved + type AlertImmediateRequest struct + AlertStringSelector uint8 + ChannelNumber uint8 + DestinationSelector uint8 + EvMRev uint8 + EventData types.EventData + EventDir types.EventDir + EventReadingType types.EventReadingType + GeneratorID uint8 + Operation uint8 + SendAlertString bool + SensorNumber types.SensorNumber + SensorType types.SensorType + func (req *AlertImmediateRequest) Command() types.Command + func (req *AlertImmediateRequest) Pack() []byte + type AlertImmediateResponse struct + AlertImmediateStatus uint8 + func (res *AlertImmediateResponse) Format() string + func (res *AlertImmediateResponse) Unpack(msg []byte) error + type AlertImmediateStatus uint8 + const AlertImmediateStatusFailedRetry + const AlertImmediateStatusFailedWaitACK + const AlertImmediateStatusInProgress + const AlertImmediateStatusNoStatus + const AlertImmediateStatusNormalEnd + type ArmPEFPostponeTimerRequest struct + Timeout uint8 + func (req *ArmPEFPostponeTimerRequest) Command() types.Command + func (req *ArmPEFPostponeTimerRequest) Pack() []byte + type ArmPEFPostponeTimerResponse struct + PresentValue uint8 + func (res *ArmPEFPostponeTimerResponse) Format() string + func (res *ArmPEFPostponeTimerResponse) Unpack(msg []byte) error + type ClearMessageFlagsRequest struct + ClearEventMessageBuffer bool + ClearOEM0 bool + ClearOEM1 bool + ClearOEM2 bool + ClearReceiveMessageQueue bool + ClearWatchdogPreTimeoutInterruptFlag bool + func (req *ClearMessageFlagsRequest) Command() types.Command + func (req *ClearMessageFlagsRequest) Pack() []byte + type ClearMessageFlagsResponse struct + func (res *ClearMessageFlagsResponse) Format() string + func (res *ClearMessageFlagsResponse) Unpack(msg []byte) error + type GetBMCGlobalEnablesRequest struct + func (req *GetBMCGlobalEnablesRequest) Command() types.Command + func (req *GetBMCGlobalEnablesRequest) Pack() []byte + type GetBMCGlobalEnablesResponse struct + EventMessageBufferEnabled bool + EventMessageBufferFullInterruptEnabled bool + OEM0Enabled bool + OEM1Enabled bool + OEM2Enabled bool + ReceiveMessageQueueInterruptEnabled bool + SystemEventLoggingEnabled bool + func (res *GetBMCGlobalEnablesResponse) Format() string + func (res *GetBMCGlobalEnablesResponse) Unpack(msg []byte) error + type GetEventReceiverRequest struct + func (req *GetEventReceiverRequest) Command() types.Command + func (req *GetEventReceiverRequest) Pack() []byte + type GetEventReceiverResponse struct + LUN uint8 + SlaveAddress uint8 + func (res *GetEventReceiverResponse) Format() string + func (res *GetEventReceiverResponse) Unpack(msg []byte) error + type GetLastProcessedEventIdRequest struct + func (req *GetLastProcessedEventIdRequest) Command() types.Command + func (req *GetLastProcessedEventIdRequest) Pack() []byte + type GetLastProcessedEventIdResponse struct + LastBMCProcessedEventRecordID uint16 + LastRecordID uint16 + LastSoftwareProcessedEventRecordID uint16 + MostRecentAdditionTime time.Time + func (res *GetLastProcessedEventIdResponse) Format() string + func (res *GetLastProcessedEventIdResponse) Unpack(msg []byte) error + type GetMessageFlagsRequest struct + func (req *GetMessageFlagsRequest) Command() types.Command + func (req *GetMessageFlagsRequest) Pack() []byte + type GetMessageFlagsResponse struct + EventMessageBufferFull bool + OEM0Available bool + OEM1Available bool + OEM2Available bool + ReceiveMessageQueueAvailable bool + WatchdogPreTimeoutInterruptOccurred bool + func (res *GetMessageFlagsResponse) Format() string + func (res *GetMessageFlagsResponse) Unpack(msg []byte) error + type GetMessageRequest struct + func (req *GetMessageRequest) Command() types.Command + func (req *GetMessageRequest) Pack() []byte + type GetMessageResponse struct + ChannelNumber uint8 + MessageData []byte + func (res *GetMessageResponse) Format() string + func (res *GetMessageResponse) Unpack(msg []byte) error + type GetPEFCapabilitiesRequest struct + func (req *GetPEFCapabilitiesRequest) Command() types.Command + func (req *GetPEFCapabilitiesRequest) Pack() []byte + type GetPEFCapabilitiesResponse struct + EventFilterTableEntries uint8 + PEFVersion uint8 + SupportAlert bool + SupportDiagnosticInterrupt bool + SupportOEMAction bool + SupportOEMEventFilter bool + SupportPowerCycle bool + SupportPowerDown bool + SupportReset bool + func (res *GetPEFCapabilitiesResponse) Format() string + func (res *GetPEFCapabilitiesResponse) Unpack(msg []byte) error + type GetPEFConfigParamRequest struct + BlockSelector uint8 + GetParamRevisionOnly bool + ParamSelector types.PEFConfigParamSelector + SetSelector uint8 + func (req *GetPEFConfigParamRequest) Command() types.Command + func (req *GetPEFConfigParamRequest) Pack() []byte + type GetPEFConfigParamResponse struct + ParamData []byte + ParamRevision uint8 + func (res *GetPEFConfigParamResponse) Format() string + func (res *GetPEFConfigParamResponse) Unpack(msg []byte) error + type GetSensorEventEnableRequest struct + SensorNumber uint8 + func (req *GetSensorEventEnableRequest) Command() types.Command + func (req *GetSensorEventEnableRequest) Pack() []byte + type GetSensorEventEnableResponse struct + EventMessagesDisabled bool + SensorScanningDisabled bool + func (res *GetSensorEventEnableResponse) Format() string + func (res *GetSensorEventEnableResponse) Unpack(msg []byte) error + type GetSensorEventStatusRequest struct + SensorNumber uint8 + func (req *GetSensorEventStatusRequest) Command() types.Command + func (req *GetSensorEventStatusRequest) Pack() []byte + type GetSensorEventStatusResponse struct + EventMessagesDisabled bool + ReadingUnavailable bool + SensorScanningDisabled bool + func (res *GetSensorEventStatusResponse) Format() string + func (res *GetSensorEventStatusResponse) Unpack(msg []byte) error + type GetSensorHysteresisRequest struct + SensorNumber uint8 + func (req *GetSensorHysteresisRequest) Command() types.Command + func (req *GetSensorHysteresisRequest) Pack() []byte + type GetSensorHysteresisResponse struct + NegativeRaw uint8 + PositiveRaw uint8 + func (res *GetSensorHysteresisResponse) Format() string + func (res *GetSensorHysteresisResponse) Unpack(msg []byte) error + type GetSensorReadingFactorsRequest struct + Reading uint8 + SensorNumber uint8 + func (req *GetSensorReadingFactorsRequest) Command() types.Command + func (req *GetSensorReadingFactorsRequest) Pack() []byte + type GetSensorReadingFactorsResponse struct + NextReading uint8 + func (res *GetSensorReadingFactorsResponse) Format() string + func (res *GetSensorReadingFactorsResponse) Unpack(msg []byte) error + type GetSensorReadingRequest struct + SensorNumber uint8 + func (req *GetSensorReadingRequest) Command() types.Command + func (req *GetSensorReadingRequest) Pack() []byte + type GetSensorReadingResponse struct + Above_UCR bool + Above_UNC bool + Above_UNR bool + ActiveStates types.Mask_DiscreteEvent + Below_LCR bool + Below_LNC bool + Below_LNR bool + EventMessagesDisabled bool + OptionalData1 uint8 + OptionalData2 uint8 + Reading uint8 + ReadingUnavailable bool + SensorScanningDisabled bool + func (r *GetSensorReadingResponse) ThresholdStatus() types.SensorThresholdStatus + func (res *GetSensorReadingResponse) Format() string + func (res *GetSensorReadingResponse) Unpack(msg []byte) error + type GetSensorThresholdsRequest struct + SensorNumber uint8 + func (req *GetSensorThresholdsRequest) Command() types.Command + func (req *GetSensorThresholdsRequest) Pack() []byte + type GetSensorThresholdsResponse struct + LCR_Raw uint8 + LCR_Readable bool + LNC_Raw uint8 + LNC_Readable bool + LNR_Raw uint8 + LNR_Readable bool + UCR_Raw uint8 + UCR_Readable bool + UNC_Raw uint8 + UNC_Readable bool + UNR_Raw uint8 + UNR_Readable bool + func (res *GetSensorThresholdsResponse) Format() string + func (res *GetSensorThresholdsResponse) Unpack(msg []byte) error + type GetSensorTypeRequest struct + SensorNumber uint8 + func (req *GetSensorTypeRequest) Command() types.Command + func (req *GetSensorTypeRequest) Pack() []byte + type GetSensorTypeResponse struct + EventReadingType types.EventReadingType + SensorType types.SensorType + func (res *GetSensorTypeResponse) Format() string + func (res *GetSensorTypeResponse) Unpack(msg []byte) error + type PETAcknowledgeRequest struct + EventData types.EventData + EventSourceType uint8 + LocalTimestamp uint32 + SensorDevice uint8 + SensorNumber uint8 + SequenceNumber uint16 + func (req *PETAcknowledgeRequest) Command() types.Command + func (req *PETAcknowledgeRequest) Pack() []byte + func (req *PETAcknowledgeRequest) Unpack(data []byte) error + type PETAcknowledgeResponse struct + PETAcknowledgeStatus uint8 + func (res *PETAcknowledgeResponse) Format() string + func (res *PETAcknowledgeResponse) Pack() []byte + func (res *PETAcknowledgeResponse) Unpack(msg []byte) error + type PlatformEventMessageRequest struct + EvMRev uint8 + EventData types.EventData + EventDir types.EventDir + EventType types.EventReadingType + GeneratorID uint8 + SensorNumber uint8 + SensorType uint8 + func (req *PlatformEventMessageRequest) Command() types.Command + func (req *PlatformEventMessageRequest) Pack() []byte + type PlatformEventMessageResponse struct + func (res *PlatformEventMessageResponse) Format() string + func (res *PlatformEventMessageResponse) Unpack(msg []byte) error + type ReadEventMessageBufferRequest struct + func (req *ReadEventMessageBufferRequest) Pack() []byte + func (req ReadEventMessageBufferRequest) Command() types.Command + type ReadEventMessageBufferResponse struct + MessageData [16]byte + func (res *ReadEventMessageBufferResponse) Format() string + func (res *ReadEventMessageBufferResponse) Unpack(msg []byte) error + type RearmSensorEventsRequest struct + DiscreteEvents bool + RearmAllEventStatus bool + SensorNumber uint8 + func (req *RearmSensorEventsRequest) Command() types.Command + func (req *RearmSensorEventsRequest) Pack() []byte + type RearmSensorEventsResponse struct + func (res *RearmSensorEventsResponse) Format() string + func (res *RearmSensorEventsResponse) Unpack(msg []byte) error + type SetBMCGlobalEnablesRequest struct + EnableEventMessageBuffer bool + EnableEventMessageBufferFullInterrupt bool + EnableOEM0 bool + EnableOEM1 bool + EnableOEM2 bool + EnableReceiveMessageQueueInterrupt bool + EnableSystemEventLogging bool + func (req *SetBMCGlobalEnablesRequest) Command() types.Command + func (req *SetBMCGlobalEnablesRequest) Pack() []byte + type SetBMCGlobalEnablesResponse struct + func (res *SetBMCGlobalEnablesResponse) Format() string + func (res *SetBMCGlobalEnablesResponse) Unpack(msg []byte) error + type SetEventReceiverRequest struct + LUN uint8 + SlaveAddress uint8 + func (req *SetEventReceiverRequest) Command() types.Command + func (req *SetEventReceiverRequest) Pack() []byte + type SetEventReceiverResponse struct + func (res *SetEventReceiverResponse) Format() string + func (res *SetEventReceiverResponse) Unpack(msg []byte) error + type SetLastProcessedEventIdRequest struct + ByBMC bool + RecordID uint16 + func (req *SetLastProcessedEventIdRequest) Command() types.Command + func (req *SetLastProcessedEventIdRequest) Pack() []byte + type SetLastProcessedEventIdResponse struct + func (res *SetLastProcessedEventIdResponse) Format() string + func (res *SetLastProcessedEventIdResponse) Unpack(msg []byte) error + type SetPEFConfigParamRequest struct + ParamData []byte + ParamSelector types.PEFConfigParamSelector + func (req *SetPEFConfigParamRequest) Command() types.Command + func (req *SetPEFConfigParamRequest) Pack() []byte + type SetPEFConfigParamResponse struct + func (res *SetPEFConfigParamResponse) Format() string + func (res *SetPEFConfigParamResponse) Unpack(msg []byte) error + type SetSensorEventEnableMode uint8 + const SetSensorEventEnableModeDisable + const SetSensorEventEnableModeEnable + const SetSensorEventEnableModeNoChange + type SetSensorEventEnableRequest struct + DisableEventMessages bool + DisableSensorScanning bool + DiscreteEvents bool + Mode SetSensorEventEnableMode + SensorNumber uint8 + func (req *SetSensorEventEnableRequest) Command() types.Command + func (req *SetSensorEventEnableRequest) Pack() []byte + type SetSensorEventEnableResponse struct + func (res *SetSensorEventEnableResponse) Format() string + func (res *SetSensorEventEnableResponse) Unpack(msg []byte) error + type SetSensorHysteresisRequest struct + NegativeHysteresis uint8 + PositiveHysteresis uint8 + SensorNumber uint8 + func (req *SetSensorHysteresisRequest) Command() types.Command + func (req *SetSensorHysteresisRequest) Pack() []byte + type SetSensorHysteresisResponse struct + func (res *SetSensorHysteresisResponse) Format() string + func (res *SetSensorHysteresisResponse) Unpack(msg []byte) error + type SetSensorReadingAndEventStatusRequest struct + AssertionBitsOperation uint8 + DeassertionBitsOperation uint8 + EventData1 uint8 + EventData2 uint8 + EventData3 uint8 + EventDataBytesOperation uint8 + SensorNumber uint8 + SensorReading uint8 + SensorReadingOperation uint8 + func (req *SetSensorReadingAndEventStatusRequest) Command() types.Command + func (req *SetSensorReadingAndEventStatusRequest) Pack() []byte + type SetSensorReadingAndEventStatusResponse struct + func (res *SetSensorReadingAndEventStatusResponse) Format() string + func (res *SetSensorReadingAndEventStatusResponse) Unpack(msg []byte) error + type SetSensorThresholdsRequest struct + LCR_Raw uint8 + LNC_Raw uint8 + LNR_Raw uint8 + SensorNumber uint8 + SetLCR bool + SetLNC bool + SetLNR bool + SetUCR bool + SetUNC bool + SetUNR bool + UCR_Raw uint8 + UNC_Raw uint8 + UNR_Raw uint8 + func (req *SetSensorThresholdsRequest) Command() types.Command + func (req *SetSensorThresholdsRequest) Pack() []byte + type SetSensorThresholdsResponse struct + func (res *SetSensorThresholdsResponse) Format() string + func (res *SetSensorThresholdsResponse) Unpack(msg []byte) error + type SetSensorTypeRequest struct + EventReadingType types.EventReadingType + SensorNumber uint8 + SensorType types.SensorType + func (req *SetSensorTypeRequest) Command() types.Command + func (req *SetSensorTypeRequest) Pack() []byte + type SetSensorTypeResponse struct + func (res *SetSensorTypeResponse) Format() string + func (res *SetSensorTypeResponse) Unpack(msg []byte) error