apdu

package
v0.0.0-...-13edf00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APDUTypes map[readWriteModel.ApduType]func() Decoder
View Source
var ConfirmedRequestTypes map[readWriteModel.BACnetConfirmedServiceChoice]func() Decoder
View Source
var UnconfirmedRequestTypes map[readWriteModel.BACnetUnconfirmedServiceChoice]func() Decoder

Functions

func New_APDU

func New_APDU(args Args, kwArgs KWArgs, options ...Option) (_APDU, error)

func WithAPCISequenceExtension

func WithAPCISequenceExtension(contract APCISequenceContractRequirement) GenericApplier[*APCISequence]

func WithConfirmedRequestSequenceExtension

func WithConfirmedRequestSequenceExtension(contract ConfirmedRequestSequenceContractRequirement) GenericApplier[*ConfirmedRequestSequence]

func WithErrorSequenceExtension

func WithErrorSequenceExtension(contract ErrorSequenceContractRequirement) GenericApplier[*ErrorSequence]

func WithUnconfirmedRequestSequenceExtension

func WithUnconfirmedRequestSequenceExtension(contract UnconfirmedRequestSequenceContractRequirement) GenericApplier[*UnconfirmedRequestSequence]

Types

type APCI

type APCI interface {
	PCI

	Encode(pdu Arg) error
	Decode(pdu Arg) error

	SetApduInvokeID(*uint8)
	GetApduInvokeID() *uint8
	// contains filtered or unexported methods
}

func NewAPCI

func NewAPCI(args Args, kwArgs KWArgs, options ...Option) (APCI, error)

type APCISequence

type APCISequence struct {
	*Sequence
	// contains filtered or unexported fields
}

func NewAPCISequence

func NewAPCISequence(args Args, kwArgs KWArgs, options ...Option) (*APCISequence, error)

func (*APCISequence) Decode

func (a *APCISequence) Decode(apdu Arg) error

func (*APCISequence) Encode

func (a *APCISequence) Encode(apdu Arg) error

func (APCISequence) GetApduInvokeID

func (a APCISequence) GetApduInvokeID() *uint8

func (APCISequence) GetDebugAttr

func (a APCISequence) GetDebugAttr(attr string) any

func (APCISequence) SetApduInvokeID

func (a APCISequence) SetApduInvokeID(apduInvokeID *uint8)

func (*APCISequence) SetSequence

func (a *APCISequence) SetSequence(sequence *Sequence)

func (APCISequence) String

func (a APCISequence) String() string

func (APCISequence) Update

func (a APCISequence) Update(apci Arg) error

type APCISequenceContract

type APCISequenceContract interface {
	SequenceContractRequirement
}

APCISequenceContract provides a set of functions which can be overwritten by a sub struct

type APCISequenceContractRequirement

type APCISequenceContractRequirement interface {
	APCISequenceContract
	// SetAPCISequence callback is needed as we work in the constructor already with the finished object // TODO: maybe we need to return as init again as it might not be finished constructing....
	SetAPCISequence(a *APCISequence)
}

APCISequenceContractRequirement is needed when one want to extend using SequenceContract

type APDU

type APDU interface {
	Copyable
	readWriteModel.APDU
	APCI
	PDUData
}

func NewAPDU

func NewAPDU(args Args, kwArgs KWArgs, options ...Option) (APDU, error)

type AbortPDU

type AbortPDU struct {
	// contains filtered or unexported fields
}

TODO: implement it...

func (AbortPDU) Decode

func (a AbortPDU) Decode(pdu Arg) error

func (AbortPDU) Encode

func (a AbortPDU) Encode(pdu Arg) error

func (AbortPDU) Format

func (a AbortPDU) Format(s fmt.State, v rune)

func (*AbortPDU) GetAPDUSrv

func (a *AbortPDU) GetAPDUSrv() any

func (AbortPDU) SetContext

func (a AbortPDU) SetContext(context APDU)

type AbortReason

type AbortReason struct {
	*Enumerated
}

TODO: implement it...

type AcknowledgeAlarmRequest

type AcknowledgeAlarmRequest struct {
}

TODO: implement it...

type AddListElementRequest

type AddListElementRequest struct {
}

TODO: implement it...

type AtomicReadFileACK

type AtomicReadFileACK struct {
}

TODO: implement it...

type AtomicReadFileACKAccessMethodChoice

type AtomicReadFileACKAccessMethodChoice struct {
}

TODO: implement it...

type AtomicReadFileACKAccessMethodRecordAccess

type AtomicReadFileACKAccessMethodRecordAccess struct {
}

TODO: implement it...

type AtomicReadFileACKAccessMethodStreamAccess

type AtomicReadFileACKAccessMethodStreamAccess struct {
}

TODO: implement it...

type AtomicReadFileRequest

type AtomicReadFileRequest struct {
}

TODO: implement it...

type AtomicReadFileRequestAccessMethodChoice

type AtomicReadFileRequestAccessMethodChoice struct {
}

TODO: implement it...

type AtomicReadFileRequestAccessMethodChoiceRecordAccess

type AtomicReadFileRequestAccessMethodChoiceRecordAccess struct {
}

TODO: implement it...

type AtomicReadFileRequestAccessMethodChoiceStreamAccess

type AtomicReadFileRequestAccessMethodChoiceStreamAccess struct {
}

TODO: implement it...

type AtomicWriteFileACK

type AtomicWriteFileACK struct {
}

TODO: implement it...

type AtomicWriteFileRequest

type AtomicWriteFileRequest struct {
}

TODO: implement it...

type AtomicWriteFileRequestAccessMethodChoice

type AtomicWriteFileRequestAccessMethodChoice struct {
}

TODO: implement it...

type AtomicWriteFileRequestAccessMethodChoiceRecordAccess

type AtomicWriteFileRequestAccessMethodChoiceRecordAccess struct {
}

TODO: implement it...

type AtomicWriteFileRequestAccessMethodChoiceStreamAccess

type AtomicWriteFileRequestAccessMethodChoiceStreamAccess struct {
}

TODO: implement it...

type AuthenticateACK

type AuthenticateACK struct {
}

TODO: implement it...

type AuthenticateRequest

type AuthenticateRequest struct {
}

TODO: implement it...

type COVNotificationParameters

type COVNotificationParameters struct {
}

TODO: implement it...

type ChangeListError

type ChangeListError struct {
}

TODO: implement it...

type ComplexAckPDU

type ComplexAckPDU struct {
	// contains filtered or unexported fields
}

TODO: implement it...

func (*ComplexAckPDU) CreateAPDUComplexAckBuilder

func (c *ComplexAckPDU) CreateAPDUComplexAckBuilder() readWriteModel.APDUComplexAckBuilder

func (ComplexAckPDU) Decode

func (a ComplexAckPDU) Decode(pdu Arg) error

func (ComplexAckPDU) Encode

func (a ComplexAckPDU) Encode(pdu Arg) error

func (ComplexAckPDU) Format

func (a ComplexAckPDU) Format(s fmt.State, v rune)

func (*ComplexAckPDU) GetApduHeaderReduction

func (c *ComplexAckPDU) GetApduHeaderReduction() uint16

func (*ComplexAckPDU) GetMoreFollows

func (c *ComplexAckPDU) GetMoreFollows() bool

func (*ComplexAckPDU) GetOriginalInvokeId

func (c *ComplexAckPDU) GetOriginalInvokeId() uint8

func (*ComplexAckPDU) GetProposedWindowSize

func (c *ComplexAckPDU) GetProposedWindowSize() *uint8

func (*ComplexAckPDU) GetSegment

func (c *ComplexAckPDU) GetSegment() []byte

func (*ComplexAckPDU) GetSegmentReduction

func (c *ComplexAckPDU) GetSegmentReduction() uint16

func (*ComplexAckPDU) GetSegmentServiceChoice

func (c *ComplexAckPDU) GetSegmentServiceChoice() *readWriteModel.BACnetConfirmedServiceChoice

func (*ComplexAckPDU) GetSegmentedMessage

func (c *ComplexAckPDU) GetSegmentedMessage() bool

func (*ComplexAckPDU) GetSequenceNumber

func (c *ComplexAckPDU) GetSequenceNumber() *uint8

func (*ComplexAckPDU) GetServiceAck

func (c *ComplexAckPDU) GetServiceAck() readWriteModel.BACnetServiceAck

func (*ComplexAckPDU) IsAPDUComplexAck

func (c *ComplexAckPDU) IsAPDUComplexAck()

func (ComplexAckPDU) SetContext

func (a ComplexAckPDU) SetContext(context APDU)

type ComplexAckSequence

type ComplexAckSequence struct {
	*APCISequence
	*ComplexAckPDU
}

TODO: implement it...

func (ComplexAckSequence) Format

func (a ComplexAckSequence) Format(s fmt.State, v rune)

func (ComplexAckSequence) GetApduInvokeID

func (a ComplexAckSequence) GetApduInvokeID() *uint8

func (ComplexAckSequence) GetDebugAttr

func (a ComplexAckSequence) GetDebugAttr(attr string) any

func (ComplexAckSequence) SetApduInvokeID

func (a ComplexAckSequence) SetApduInvokeID(apduInvokeID *uint8)

func (ComplexAckSequence) SetContext

func (a ComplexAckSequence) SetContext(context APDU)

func (*ComplexAckSequence) String

func (c *ComplexAckSequence) String() string

func (ComplexAckSequence) Update

func (a ComplexAckSequence) Update(apci Arg) error

type ConfirmedCOVNotificationRequest

type ConfirmedCOVNotificationRequest struct {
}

TODO: implement it...

type ConfirmedEventNotificationRequest

type ConfirmedEventNotificationRequest struct {
}

TODO: implement it...

type ConfirmedPrivateTransferACK

type ConfirmedPrivateTransferACK struct {
}

TODO: implement it...

type ConfirmedPrivateTransferError

type ConfirmedPrivateTransferError struct {
}

TODO: implement it...

type ConfirmedPrivateTransferRequest

type ConfirmedPrivateTransferRequest struct {
	*ConfirmedRequestSequence
	// contains filtered or unexported fields
}

func NewConfirmedPrivateTransferRequest

func NewConfirmedPrivateTransferRequest(args Args, kwArgs KWArgs, options ...Option) (*ConfirmedPrivateTransferRequest, error)

func (ConfirmedPrivateTransferRequest) Format

func (a ConfirmedPrivateTransferRequest) Format(s fmt.State, v rune)

func (ConfirmedPrivateTransferRequest) GetApduInvokeID

func (a ConfirmedPrivateTransferRequest) GetApduInvokeID() *uint8

func (ConfirmedPrivateTransferRequest) GetDebugAttr

func (a ConfirmedPrivateTransferRequest) GetDebugAttr(attr string) any

func (ConfirmedPrivateTransferRequest) SetApduInvokeID

func (a ConfirmedPrivateTransferRequest) SetApduInvokeID(apduInvokeID *uint8)

func (*ConfirmedPrivateTransferRequest) SetConfirmedRequestSequence

func (c *ConfirmedPrivateTransferRequest) SetConfirmedRequestSequence(crs *ConfirmedRequestSequence)

func (ConfirmedPrivateTransferRequest) SetContext

func (a ConfirmedPrivateTransferRequest) SetContext(context APDU)

func (*ConfirmedPrivateTransferRequest) String

func (ConfirmedPrivateTransferRequest) Update

func (a ConfirmedPrivateTransferRequest) Update(apci Arg) error

type ConfirmedRequestPDU

type ConfirmedRequestPDU struct {
	// contains filtered or unexported fields
}

func NewConfirmedRequestPDU

func NewConfirmedRequestPDU(args Args, kwArgs KWArgs, options ...Option) (*ConfirmedRequestPDU, error)

func (*ConfirmedRequestPDU) CreateAPDUConfirmedRequestBuilder

func (c *ConfirmedRequestPDU) CreateAPDUConfirmedRequestBuilder() readWriteModel.APDUConfirmedRequestBuilder

func (ConfirmedRequestPDU) Decode

func (a ConfirmedRequestPDU) Decode(pdu Arg) error

func (ConfirmedRequestPDU) Encode

func (a ConfirmedRequestPDU) Encode(pdu Arg) error

func (ConfirmedRequestPDU) Format

func (a ConfirmedRequestPDU) Format(s fmt.State, v rune)

func (*ConfirmedRequestPDU) GetApduHeaderReduction

func (c *ConfirmedRequestPDU) GetApduHeaderReduction() uint16

func (*ConfirmedRequestPDU) GetInvokeId

func (c *ConfirmedRequestPDU) GetInvokeId() uint8

func (*ConfirmedRequestPDU) GetMaxApduLengthAccepted

func (c *ConfirmedRequestPDU) GetMaxApduLengthAccepted() readWriteModel.MaxApduLengthAccepted

func (*ConfirmedRequestPDU) GetMaxSegmentsAccepted

func (c *ConfirmedRequestPDU) GetMaxSegmentsAccepted() readWriteModel.MaxSegmentsAccepted

func (*ConfirmedRequestPDU) GetMoreFollows

func (c *ConfirmedRequestPDU) GetMoreFollows() bool

func (*ConfirmedRequestPDU) GetProposedWindowSize

func (c *ConfirmedRequestPDU) GetProposedWindowSize() *uint8

func (*ConfirmedRequestPDU) GetSegment

func (c *ConfirmedRequestPDU) GetSegment() []byte

func (*ConfirmedRequestPDU) GetSegmentReduction

func (c *ConfirmedRequestPDU) GetSegmentReduction() uint16

func (*ConfirmedRequestPDU) GetSegmentServiceChoice

func (c *ConfirmedRequestPDU) GetSegmentServiceChoice() *readWriteModel.BACnetConfirmedServiceChoice

func (*ConfirmedRequestPDU) GetSegmentedMessage

func (c *ConfirmedRequestPDU) GetSegmentedMessage() bool

func (*ConfirmedRequestPDU) GetSegmentedResponseAccepted

func (c *ConfirmedRequestPDU) GetSegmentedResponseAccepted() bool

func (*ConfirmedRequestPDU) GetSequenceNumber

func (c *ConfirmedRequestPDU) GetSequenceNumber() *uint8

func (*ConfirmedRequestPDU) GetServiceRequest

func (*ConfirmedRequestPDU) IsAPDUConfirmedRequest

func (c *ConfirmedRequestPDU) IsAPDUConfirmedRequest()

func (ConfirmedRequestPDU) SetContext

func (a ConfirmedRequestPDU) SetContext(context APDU)

type ConfirmedRequestSequence

type ConfirmedRequestSequence struct {
	*APCISequence
	*ConfirmedRequestPDU
	// contains filtered or unexported fields
}

func NewConfirmedRequestSequence

func NewConfirmedRequestSequence(args Args, kwArgs KWArgs, options ...Option) (*ConfirmedRequestSequence, error)

func (*ConfirmedRequestSequence) DeepCopy

func (u *ConfirmedRequestSequence) DeepCopy() any

func (ConfirmedRequestSequence) Format

func (a ConfirmedRequestSequence) Format(s fmt.State, v rune)

func (ConfirmedRequestSequence) GetApduInvokeID

func (a ConfirmedRequestSequence) GetApduInvokeID() *uint8

func (ConfirmedRequestSequence) GetDebugAttr

func (a ConfirmedRequestSequence) GetDebugAttr(attr string) any

func (*ConfirmedRequestSequence) GetServiceChoice

func (*ConfirmedRequestSequence) SetAPCISequence

func (u *ConfirmedRequestSequence) SetAPCISequence(a *APCISequence)

func (ConfirmedRequestSequence) SetApduInvokeID

func (a ConfirmedRequestSequence) SetApduInvokeID(apduInvokeID *uint8)

func (ConfirmedRequestSequence) SetContext

func (a ConfirmedRequestSequence) SetContext(context APDU)

func (*ConfirmedRequestSequence) String

func (u *ConfirmedRequestSequence) String() string

func (ConfirmedRequestSequence) Update

func (a ConfirmedRequestSequence) Update(apci Arg) error

type ConfirmedRequestSequenceContract

type ConfirmedRequestSequenceContract interface {
	APCISequenceContractRequirement
	GetServiceChoice() *model.BACnetConfirmedServiceChoice
}

ConfirmedRequestSequenceContract provides a set of functions which can be overwritten by a sub struct

type ConfirmedRequestSequenceContractRequirement

type ConfirmedRequestSequenceContractRequirement interface {
	ConfirmedRequestSequenceContract
	// SetConfirmedRequestSequence callback is needed as we work in the constructor already with the finished object // TODO: maybe we need to return as init again as it might not be finished constructing....
	SetConfirmedRequestSequence(crs *ConfirmedRequestSequence)
}

ConfirmedRequestSequenceContractRequirement is needed when one want to extend using SequenceContract

type ConfirmedServiceChoice

type ConfirmedServiceChoice struct {
}

TODO: implement it...

type ConfirmedTextMessageRequest

type ConfirmedTextMessageRequest struct {
}

TODO: implement it...

type ConfirmedTextMessageRequestMessageClass

type ConfirmedTextMessageRequestMessageClass struct {
}

TODO: implement it...

type ConfirmedTextMessageRequestMessagePriority

type ConfirmedTextMessageRequestMessagePriority struct {
}

TODO: implement it...

type CreateObjectACK

type CreateObjectACK struct {
}

TODO: implement it...

type CreateObjectError

type CreateObjectError struct {
}

TODO: implement it...

type CreateObjectRequest

type CreateObjectRequest struct {
}

TODO: implement it...

type CreateObjectRequestObjectSpecifier

type CreateObjectRequestObjectSpecifier struct {
}

TODO: implement it...

type DeleteObjectRequest

type DeleteObjectRequest struct {
}

TODO: implement it...

type DeviceCommunicationControlRequest

type DeviceCommunicationControlRequest struct {
}

TODO: implement it...

type DeviceCommunicationControlRequestEnableDisable

type DeviceCommunicationControlRequestEnableDisable struct {
}

TODO: implement it...

type Error

type Error struct {
	*ErrorSequence
}

func NewError

func NewError(args Args, kwArgs KWArgs) (*Error, error)

func (Error) Format

func (a Error) Format(s fmt.State, v rune)

func (Error) GetApduInvokeID

func (a Error) GetApduInvokeID() *uint8

func (Error) GetDebugAttr

func (a Error) GetDebugAttr(attr string) any

func (*Error) GetSequenceElements

func (e *Error) GetSequenceElements() []Element

func (Error) SetApduInvokeID

func (a Error) SetApduInvokeID(apduInvokeID *uint8)

func (Error) SetContext

func (a Error) SetContext(context APDU)

func (*Error) SetErrorSequence

func (e *Error) SetErrorSequence(es *ErrorSequence)

func (*Error) String

func (e *Error) String() string

func (Error) Update

func (a Error) Update(apci Arg) error

type ErrorPDU

type ErrorPDU struct {
	// contains filtered or unexported fields
}

func NewErrorPDU

func NewErrorPDU(args Args, kwArgs KWArgs, options ...Option) (*ErrorPDU, error)

func (*ErrorPDU) CreateAPDUErrorBuilder

func (e *ErrorPDU) CreateAPDUErrorBuilder() readWriteModel.APDUErrorBuilder

func (ErrorPDU) Decode

func (a ErrorPDU) Decode(pdu Arg) error

func (ErrorPDU) Encode

func (a ErrorPDU) Encode(pdu Arg) error

func (ErrorPDU) Format

func (a ErrorPDU) Format(s fmt.State, v rune)

func (*ErrorPDU) GetApduHeaderReduction

func (e *ErrorPDU) GetApduHeaderReduction() uint16

func (*ErrorPDU) GetError

func (e *ErrorPDU) GetError() readWriteModel.BACnetError

func (*ErrorPDU) GetErrorChoice

func (*ErrorPDU) GetInvokeId

func (e *ErrorPDU) GetInvokeId() uint8

func (*ErrorPDU) GetMaxApduLengthAccepted

func (e *ErrorPDU) GetMaxApduLengthAccepted() readWriteModel.MaxApduLengthAccepted

func (*ErrorPDU) GetMaxSegmentsAccepted

func (e *ErrorPDU) GetMaxSegmentsAccepted() readWriteModel.MaxSegmentsAccepted

func (*ErrorPDU) GetMoreFollows

func (e *ErrorPDU) GetMoreFollows() bool

func (*ErrorPDU) GetOriginalInvokeId

func (e *ErrorPDU) GetOriginalInvokeId() uint8

func (*ErrorPDU) GetProposedWindowSize

func (e *ErrorPDU) GetProposedWindowSize() *uint8

func (*ErrorPDU) GetSegment

func (e *ErrorPDU) GetSegment() []byte

func (*ErrorPDU) GetSegmentReduction

func (e *ErrorPDU) GetSegmentReduction() uint16

func (*ErrorPDU) GetSegmentedMessage

func (e *ErrorPDU) GetSegmentedMessage() bool

func (*ErrorPDU) GetSegmentedResponseAccepted

func (e *ErrorPDU) GetSegmentedResponseAccepted() bool

func (*ErrorPDU) GetSequenceNumber

func (e *ErrorPDU) GetSequenceNumber() *uint8

func (*ErrorPDU) IsAPDUError

func (e *ErrorPDU) IsAPDUError()

func (ErrorPDU) SetContext

func (a ErrorPDU) SetContext(context APDU)

type ErrorSequence

type ErrorSequence struct {
	*APCISequence
	*ErrorPDU
	// contains filtered or unexported fields
}

func NewErrorSequence

func NewErrorSequence(args Args, kwArgs KWArgs, options ...Option) (*ErrorSequence, error)

func (*ErrorSequence) DeepCopy

func (u *ErrorSequence) DeepCopy() any

func (ErrorSequence) Format

func (a ErrorSequence) Format(s fmt.State, v rune)

func (ErrorSequence) GetApduInvokeID

func (a ErrorSequence) GetApduInvokeID() *uint8

func (ErrorSequence) GetDebugAttr

func (a ErrorSequence) GetDebugAttr(attr string) any

func (*ErrorSequence) GetErrorChoice

func (*ErrorSequence) SetAPCISequence

func (u *ErrorSequence) SetAPCISequence(a *APCISequence)

func (ErrorSequence) SetApduInvokeID

func (a ErrorSequence) SetApduInvokeID(apduInvokeID *uint8)

func (ErrorSequence) SetContext

func (a ErrorSequence) SetContext(context APDU)

func (*ErrorSequence) String

func (u *ErrorSequence) String() string

func (ErrorSequence) Update

func (a ErrorSequence) Update(apci Arg) error

type ErrorSequenceContract

type ErrorSequenceContract interface {
	APCISequenceContractRequirement
	GetErrorChoice() *model.BACnetConfirmedServiceChoice
}

ErrorSequenceContract provides a set of functions which can be overwritten by a sub struct

type ErrorSequenceContractRequirement

type ErrorSequenceContractRequirement interface {
	ErrorSequenceContract
	// SetErrorSequence callback is needed as we work in the constructor already with the finished object // TODO: maybe we need to return as init again as it might not be finished constructing....
	SetErrorSequence(es *ErrorSequence)
}

ErrorSequenceContractRequirement is needed when one want to extend using SequenceContract

type EventNotificationParameters

type EventNotificationParameters struct {
}

TODO: implement it...

func NewEventNotificationParameters

func NewEventNotificationParameters(arg comp.Arg) (*EventNotificationParameters, error)

type GetAlarmSummaryACK

type GetAlarmSummaryACK struct {
}

TODO: implement it...

type GetAlarmSummaryAlarmSummary

type GetAlarmSummaryAlarmSummary struct {
}

TODO: implement it...

type GetAlarmSummaryRequest

type GetAlarmSummaryRequest struct {
}

TODO: implement it...

type GetEnrollmentSummaryACK

type GetEnrollmentSummaryACK struct {
}

TODO: implement it...

type GetEnrollmentSummaryEnrollmentSummary

type GetEnrollmentSummaryEnrollmentSummary struct {
}

TODO: implement it...

type GetEnrollmentSummaryRequest

type GetEnrollmentSummaryRequest struct {
}

TODO: implement it...

type GetEnrollmentSummaryRequestAcknowledgmentFilterType

type GetEnrollmentSummaryRequestAcknowledgmentFilterType struct {
}

TODO: implement it...

type GetEnrollmentSummaryRequestEventStateFilterType

type GetEnrollmentSummaryRequestEventStateFilterType struct {
}

TODO: implement it...

type GetEnrollmentSummaryRequestPriorityFilterType

type GetEnrollmentSummaryRequestPriorityFilterType struct {
}

TODO: implement it...

type GetEventInformationACK

type GetEventInformationACK struct {
}

TODO: implement it...

type GetEventInformationEventSummary

type GetEventInformationEventSummary struct {
}

TODO: implement it...

type GetEventInformationRequest

type GetEventInformationRequest struct {
}

TODO: implement it...

type GroupChannelValue

type GroupChannelValue struct {
}

TODO: implement it...

type IAmRequest

type IAmRequest struct {
	*UnconfirmedRequestSequence
	// contains filtered or unexported fields
}

func NewIAmRequest

func NewIAmRequest(args Args, kwArgs KWArgs, options ...Option) (*IAmRequest, error)

func (IAmRequest) Format

func (a IAmRequest) Format(s fmt.State, v rune)

func (IAmRequest) GetApduInvokeID

func (a IAmRequest) GetApduInvokeID() *uint8

func (IAmRequest) GetDebugAttr

func (a IAmRequest) GetDebugAttr(attr string) any

func (*IAmRequest) GetSequenceElements

func (w *IAmRequest) GetSequenceElements() []Element

func (*IAmRequest) GetServiceChoice

func (IAmRequest) SetApduInvokeID

func (a IAmRequest) SetApduInvokeID(apduInvokeID *uint8)

func (IAmRequest) SetContext

func (a IAmRequest) SetContext(context APDU)

func (*IAmRequest) SetUnconfirmedRequestSequence

func (w *IAmRequest) SetUnconfirmedRequestSequence(u *UnconfirmedRequestSequence)

func (IAmRequest) Update

func (a IAmRequest) Update(apci Arg) error

type IHaveRequest

type IHaveRequest struct {
}

TODO: implement it...

type LifeSafetyOperationRequest

type LifeSafetyOperationRequest struct {
}

TODO: implement it...

type Range

type Range struct {
}

TODO: implement it...

type RangeByPosition

type RangeByPosition struct {
}

TODO: implement it...

type RangeBySequenceNumber

type RangeBySequenceNumber struct {
}

TODO: implement it...

type RangeByTime

type RangeByTime struct {
}

TODO: implement it...

type ReadAccessResult

type ReadAccessResult struct {
}

TODO: implement it...

func NewReadAccessResult

func NewReadAccessResult(arg comp.Arg) (*ReadAccessResult, error)

type ReadAccessResultElement

type ReadAccessResultElement struct {
}

TODO: implement it...

type ReadAccessResultElementChoice

type ReadAccessResultElementChoice struct {
}

TODO: implement it...

type ReadAccessSpecification

type ReadAccessSpecification struct {
}

TODO: implement it...

func NewReadAccessSpecification

func NewReadAccessSpecification(arg comp.Arg) (*ReadAccessSpecification, error)

type ReadPropertyACK

type ReadPropertyACK struct {
}

TODO: implement it...

type ReadPropertyMultipleACK

type ReadPropertyMultipleACK struct {
}

TODO: implement it...

type ReadPropertyMultipleRequest

type ReadPropertyMultipleRequest struct {
}

TODO: implement it...

type ReadPropertyRequest

type ReadPropertyRequest struct {
}

TODO: implement it...

type ReadRangeACK

type ReadRangeACK struct {
}

TODO: implement it...

type ReadRangeRequest

type ReadRangeRequest struct {
}

TODO: implement it...

type ReinitializeDeviceRequest

type ReinitializeDeviceRequest struct {
}

TODO: implement it...

type ReinitializeDeviceRequestReinitializedStateOfDevice

type ReinitializeDeviceRequestReinitializedStateOfDevice struct {
}

TODO: implement it...

type RejectPDU

type RejectPDU struct {
	// contains filtered or unexported fields
}

TODO: implement it...

func (RejectPDU) Decode

func (a RejectPDU) Decode(pdu Arg) error

func (RejectPDU) Encode

func (a RejectPDU) Encode(pdu Arg) error

func (RejectPDU) Format

func (a RejectPDU) Format(s fmt.State, v rune)

func (RejectPDU) SetContext

func (a RejectPDU) SetContext(context APDU)

type RejectReason

type RejectReason struct {
	*Enumerated
}

TODO: implement it...

type RemoveListElementRequest

type RemoveListElementRequest struct {
}

TODO: implement it...

type RequestKeyRequest

type RequestKeyRequest struct {
}

TODO: implement it...

type SegmentAckPDU

type SegmentAckPDU struct {
	// contains filtered or unexported fields
}

TODO: implement it...

func (SegmentAckPDU) Decode

func (a SegmentAckPDU) Decode(pdu Arg) error

func (SegmentAckPDU) Encode

func (a SegmentAckPDU) Encode(pdu Arg) error

func (SegmentAckPDU) Format

func (a SegmentAckPDU) Format(s fmt.State, v rune)

func (*SegmentAckPDU) GetServer

func (s *SegmentAckPDU) GetServer() any

func (SegmentAckPDU) SetContext

func (a SegmentAckPDU) SetContext(context APDU)

type SimpleAckPDU

type SimpleAckPDU struct {
	// contains filtered or unexported fields
}

TODO: implement it...

func (*SimpleAckPDU) CreateAPDUComplexAckBuilder

func (s *SimpleAckPDU) CreateAPDUComplexAckBuilder() readWriteModel.APDUComplexAckBuilder

func (SimpleAckPDU) Decode

func (a SimpleAckPDU) Decode(pdu Arg) error

func (SimpleAckPDU) Encode

func (a SimpleAckPDU) Encode(pdu Arg) error

func (SimpleAckPDU) Format

func (a SimpleAckPDU) Format(s fmt.State, v rune)

func (*SimpleAckPDU) GetApduHeaderReduction

func (s *SimpleAckPDU) GetApduHeaderReduction() uint16

func (*SimpleAckPDU) GetMoreFollows

func (s *SimpleAckPDU) GetMoreFollows() bool

func (*SimpleAckPDU) GetOriginalInvokeId

func (s *SimpleAckPDU) GetOriginalInvokeId() uint8

func (*SimpleAckPDU) GetProposedWindowSize

func (s *SimpleAckPDU) GetProposedWindowSize() *uint8

func (*SimpleAckPDU) GetSegment

func (s *SimpleAckPDU) GetSegment() []byte

func (*SimpleAckPDU) GetSegmentReduction

func (s *SimpleAckPDU) GetSegmentReduction() uint16

func (*SimpleAckPDU) GetSegmentServiceChoice

func (s *SimpleAckPDU) GetSegmentServiceChoice() *readWriteModel.BACnetConfirmedServiceChoice

func (*SimpleAckPDU) GetSegmentedMessage

func (s *SimpleAckPDU) GetSegmentedMessage() bool

func (*SimpleAckPDU) GetSequenceNumber

func (s *SimpleAckPDU) GetSequenceNumber() *uint8

func (*SimpleAckPDU) GetServiceAck

func (s *SimpleAckPDU) GetServiceAck() readWriteModel.BACnetServiceAck

func (*SimpleAckPDU) IsAPDUComplexAck

func (s *SimpleAckPDU) IsAPDUComplexAck()

func (SimpleAckPDU) SetContext

func (a SimpleAckPDU) SetContext(context APDU)

type SubscribeCOVPropertyRequest

type SubscribeCOVPropertyRequest struct {
}

TODO: implement it...

type SubscribeCOVRequest

type SubscribeCOVRequest struct {
}

TODO: implement it...

type TimeSynchronizationRequest

type TimeSynchronizationRequest struct {
}

TODO: implement it...

type UTCTimeSynchronizationRequest

type UTCTimeSynchronizationRequest struct {
}

TODO: implement it...

type UnconfirmedCOVNotificationRequest

type UnconfirmedCOVNotificationRequest struct {
}

TODO: implement it...

type UnconfirmedEventNotificationRequest

type UnconfirmedEventNotificationRequest struct {
}

TODO: implement it...

type UnconfirmedPrivateTransferRequest

type UnconfirmedPrivateTransferRequest struct {
}

TODO: implement it...

type UnconfirmedRequestPDU

type UnconfirmedRequestPDU struct {
	// contains filtered or unexported fields
}

func NewUnconfirmedRequestPDU

func NewUnconfirmedRequestPDU(args Args, kwArgs KWArgs, options ...Option) (*UnconfirmedRequestPDU, error)

func (*UnconfirmedRequestPDU) CreateAPDUUnconfirmedRequestBuilder

func (u *UnconfirmedRequestPDU) CreateAPDUUnconfirmedRequestBuilder() readWriteModel.APDUUnconfirmedRequestBuilder

func (UnconfirmedRequestPDU) Decode

func (a UnconfirmedRequestPDU) Decode(pdu Arg) error

func (UnconfirmedRequestPDU) Encode

func (a UnconfirmedRequestPDU) Encode(pdu Arg) error

func (UnconfirmedRequestPDU) Format

func (a UnconfirmedRequestPDU) Format(s fmt.State, v rune)

func (*UnconfirmedRequestPDU) GetServiceRequest

func (*UnconfirmedRequestPDU) IsAPDUUnconfirmedRequest

func (u *UnconfirmedRequestPDU) IsAPDUUnconfirmedRequest()

func (UnconfirmedRequestPDU) SetContext

func (a UnconfirmedRequestPDU) SetContext(context APDU)

type UnconfirmedRequestSequence

type UnconfirmedRequestSequence struct {
	*APCISequence
	*UnconfirmedRequestPDU
	// contains filtered or unexported fields
}

func NewUnconfirmedRequestSequence

func NewUnconfirmedRequestSequence(args Args, kwArgs KWArgs, options ...Option) (*UnconfirmedRequestSequence, error)

func (*UnconfirmedRequestSequence) DeepCopy

func (u *UnconfirmedRequestSequence) DeepCopy() any

func (UnconfirmedRequestSequence) Format

func (a UnconfirmedRequestSequence) Format(s fmt.State, v rune)

func (UnconfirmedRequestSequence) GetApduInvokeID

func (a UnconfirmedRequestSequence) GetApduInvokeID() *uint8

func (UnconfirmedRequestSequence) GetDebugAttr

func (a UnconfirmedRequestSequence) GetDebugAttr(attr string) any

func (*UnconfirmedRequestSequence) GetServiceChoice

func (*UnconfirmedRequestSequence) SetAPCISequence

func (u *UnconfirmedRequestSequence) SetAPCISequence(a *APCISequence)

func (UnconfirmedRequestSequence) SetApduInvokeID

func (a UnconfirmedRequestSequence) SetApduInvokeID(apduInvokeID *uint8)

func (UnconfirmedRequestSequence) SetContext

func (a UnconfirmedRequestSequence) SetContext(context APDU)

func (*UnconfirmedRequestSequence) String

func (u *UnconfirmedRequestSequence) String() string

func (UnconfirmedRequestSequence) Update

func (a UnconfirmedRequestSequence) Update(apci Arg) error

type UnconfirmedRequestSequenceContract

type UnconfirmedRequestSequenceContract interface {
	APCISequenceContractRequirement
	GetServiceChoice() *model.BACnetUnconfirmedServiceChoice
}

UnconfirmedRequestSequenceContract provides a set of functions which can be overwritten by a sub struct

type UnconfirmedRequestSequenceContractRequirement

type UnconfirmedRequestSequenceContractRequirement interface {
	UnconfirmedRequestSequenceContract
	// SetUnconfirmedRequestSequence callback is needed as we work in the constructor already with the finished object // TODO: maybe we need to return as init again as it might not be finished constructing....
	SetUnconfirmedRequestSequence(urs *UnconfirmedRequestSequence)
}

UnconfirmedRequestSequenceContractRequirement is needed when one want to extend using SequenceContract

type UnconfirmedServiceChoice

type UnconfirmedServiceChoice struct {
}

TODO: implement it...

type UnconfirmedTextMessageRequest

type UnconfirmedTextMessageRequest struct {
}

TODO: implement it...

type UnconfirmedTextMessageRequestMessageClass

type UnconfirmedTextMessageRequestMessageClass struct {
}

TODO: implement it...

type UnconfirmedTextMessageRequestMessagePriority

type UnconfirmedTextMessageRequestMessagePriority struct {
}

TODO: implement it...

type VTCloseError

type VTCloseError struct {
}

TODO: implement it...

type VTCloseRequest

type VTCloseRequest struct {
}

TODO: implement it...

type VTDataACK

type VTDataACK struct {
}

TODO: implement it...

type VTDataRequest

type VTDataRequest struct {
}

TODO: implement it...

type VTOpenACK

type VTOpenACK struct {
}

TODO: implement it...

type VTOpenRequest

type VTOpenRequest struct {
}

TODO: implement it...

type WhoHasLimits

type WhoHasLimits struct {
}

TODO: implement it...

type WhoHasObject

type WhoHasObject struct {
}

TODO: implement it...

type WhoHasRequest

type WhoHasRequest struct {
}

TODO: implement it...

type WhoIsRequest

type WhoIsRequest struct {
	*UnconfirmedRequestSequence
	// contains filtered or unexported fields
}

func NewWhoIsRequest

func NewWhoIsRequest(args Args, kwArgs KWArgs, options ...Option) (*WhoIsRequest, error)

func (WhoIsRequest) Format

func (a WhoIsRequest) Format(s fmt.State, v rune)

func (WhoIsRequest) GetApduInvokeID

func (a WhoIsRequest) GetApduInvokeID() *uint8

func (WhoIsRequest) GetDebugAttr

func (a WhoIsRequest) GetDebugAttr(attr string) any

func (*WhoIsRequest) GetSequenceElements

func (w *WhoIsRequest) GetSequenceElements() []Element

func (*WhoIsRequest) GetServiceChoice

func (WhoIsRequest) SetApduInvokeID

func (a WhoIsRequest) SetApduInvokeID(apduInvokeID *uint8)

func (WhoIsRequest) SetContext

func (a WhoIsRequest) SetContext(context APDU)

func (*WhoIsRequest) SetDeviceInstanceRangeHighLimit

func (w *WhoIsRequest) SetDeviceInstanceRangeHighLimit(u uint)

func (*WhoIsRequest) SetDeviceInstanceRangeLowLimit

func (w *WhoIsRequest) SetDeviceInstanceRangeLowLimit(u uint)

func (*WhoIsRequest) SetUnconfirmedRequestSequence

func (w *WhoIsRequest) SetUnconfirmedRequestSequence(u *UnconfirmedRequestSequence)

func (WhoIsRequest) Update

func (a WhoIsRequest) Update(apci Arg) error

type WriteAccessSpecification

type WriteAccessSpecification struct {
}

TODO: implement it...

type WriteGroupRequest

type WriteGroupRequest struct {
}

TODO: implement it...

type WritePropertyMultipleError

type WritePropertyMultipleError struct {
}

TODO: implement it...

type WritePropertyMultipleRequest

type WritePropertyMultipleRequest struct {
}

TODO: implement it...

type WritePropertyRequest

type WritePropertyRequest struct {
}

TODO: implement it...

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL