Versions in this module Expand all Collapse all v0 v0.0.3 Mar 4, 2019 v0.0.2 May 2, 2018 v0.0.1 Feb 6, 2018 Changes in this version + const EA + const FlowControlLength + const HeaderSize + const MaskBaudRate + const MaskDataBits + const MaskInputRTC + const MaskInputRTR + const MaskInputXONOFF + const MaskOutputRTC + const MaskOutputRTR + const MaskOutputXONOFF + const MaskParity + const MaskParityType + const MaskStopBits + const MaskXOFFChar + const MaskXONChar + const ModemStatusLength + const NotSupportedLength + const ParameterNegotiationLength + const RemoteLineStatusLength + const RemotePortNegotiationRequestLength + const RemotePortNegotiationSetupLength + const TestLength + const TypeFlowControlOff + const TypeFlowControlOn + const TypeModemStatus + const TypeNotSupported + const TypeParameterNegotiation + const TypeRemoteLineStatus + const TypeRemotePortNegotiation + const TypeTest + func MarshalBinary(p Multiplexer) ([]byte, error) + type FlowControlOff struct + CommandResponse uint8 + func (m *FlowControlOff) GetCommandResponse() uint8 + func (m *FlowControlOff) Len() uint8 + func (m *FlowControlOff) MarshalBinary() ([]byte, error) + func (m *FlowControlOff) SetCommandResponse(l uint8) + func (m *FlowControlOff) Type() uint8 + func (m *FlowControlOff) UnmarshalBinary(b []byte) error + type FlowControlOn struct + CommandResponse uint8 + func (m *FlowControlOn) GetCommandResponse() uint8 + func (m *FlowControlOn) Len() uint8 + func (m *FlowControlOn) MarshalBinary() ([]byte, error) + func (m *FlowControlOn) SetCommandResponse(l uint8) + func (m *FlowControlOn) Type() uint8 + func (m *FlowControlOn) UnmarshalBinary(b []byte) error + type ModemStatus struct + CommandResponse uint8 + DataValid uint8 + FlowControl uint8 + IncomingCall uint8 + ReadyToCommunicate uint8 + ReadyToReceive uint8 + ServerChannel uint8 + func (m *ModemStatus) GetCommandResponse() uint8 + func (m *ModemStatus) Len() uint8 + func (m *ModemStatus) MarshalBinary() ([]byte, error) + func (m *ModemStatus) SetCommandResponse(l uint8) + func (m *ModemStatus) Type() uint8 + func (m *ModemStatus) UnmarshalBinary(b []byte) error + type Multiplexer interface + GetCommandResponse func() uint8 + Len func() uint8 + SetCommandResponse func(l uint8) + Type func() uint8 + func UnmarshalBinary(data []byte) (Multiplexer, error) + type NotSupported struct + CommandResponse uint8 + CommandType uint8 + NSCommandResponse uint8 + func (m *NotSupported) GetCommandResponse() uint8 + func (m *NotSupported) Len() uint8 + func (m *NotSupported) MarshalBinary() ([]byte, error) + func (m *NotSupported) SetCommandResponse(l uint8) + func (m *NotSupported) Type() uint8 + func (m *NotSupported) UnmarshalBinary(b []byte) error + type ParameterNegotiation struct + CommandResponse uint8 + ConvergenceLayer uint8 + CreditBasedFlowControl bool + FrameType uint8 + MaxRetransmissions uint8 + MaxSize uint16 + Priority uint8 + ServerChannel uint8 + Timer uint8 + WindowSize uint8 + func (p *ParameterNegotiation) GetCommandResponse() uint8 + func (p *ParameterNegotiation) Len() uint8 + func (p *ParameterNegotiation) MarshalBinary() ([]byte, error) + func (p *ParameterNegotiation) SetCommandResponse(l uint8) + func (p *ParameterNegotiation) Type() uint8 + func (p *ParameterNegotiation) UnmarshalBinary(b []byte) error + type RemoteLineStatus struct + CommandResponse uint8 + LineStatus uint8 + ServerChannel uint8 + func (m *RemoteLineStatus) GetCommandResponse() uint8 + func (m *RemoteLineStatus) Len() uint8 + func (m *RemoteLineStatus) MarshalBinary() ([]byte, error) + func (m *RemoteLineStatus) SetCommandResponse(l uint8) + func (m *RemoteLineStatus) Type() uint8 + func (m *RemoteLineStatus) UnmarshalBinary(b []byte) error + type RemotePortNegotiation struct + CommandResponse uint8 + ServerChannel uint8 + Setup bool + func (p *RemotePortNegotiation) Change(mask uint8, value uint8) + func (p *RemotePortNegotiation) GetCommandResponse() uint8 + func (p *RemotePortNegotiation) IsChanged(mask uint8) bool + func (p *RemotePortNegotiation) Len() uint8 + func (p *RemotePortNegotiation) MarshalBinary() ([]byte, error) + func (p *RemotePortNegotiation) SetCommandResponse(l uint8) + func (p *RemotePortNegotiation) Type() uint8 + func (p *RemotePortNegotiation) UnmarshalBinary(b []byte) error + func (p *RemotePortNegotiation) Value(mask uint8) uint8 + type Test struct + CommandResponse uint8 + Data uint8 + func (m *Test) GetCommandResponse() uint8 + func (m *Test) Len() uint8 + func (m *Test) MarshalBinary() ([]byte, error) + func (m *Test) SetCommandResponse(l uint8) + func (m *Test) Type() uint8 + func (m *Test) UnmarshalBinary(b []byte) error