Documentation ¶
Index ¶
Constants ¶
View Source
const ( SmartnetMagicNumber uint8 = 0xAC SmartnetSyncLength = 8 SmartnetFrameLength = 84 SmartnetPayloadLength = 76 SmartnetDataLength = 27 SmartnetCRCLength = 10 SmartnetIDXOr uint16 = 0x33C7 SmartnetCmdXOr uint16 = 0x032A SmartnetIDInvXOr uint16 = (^SmartnetIDXOr) & 0xffff SmartnetCmdInvXOr uint16 = ^SmartnetCmdXOr & 0x3ff )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmartnetAssembler ¶
type SmartnetAssembler struct {
// contains filtered or unexported fields
}
func NewSmartnetAssembler ¶
func (*SmartnetAssembler) Receive ¶
func (s *SmartnetAssembler) Receive(buf []byte)
type SmartnetPacket ¶
type SmartnetProcessor ¶
type SmartnetProcessor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func NewProcessor(systemID int, dataPacketChan chan op25.OSWPacket, updateChan chan op25.DataPacket, writeAPI api.WriteAPI, logger zerolog.Logger) *SmartnetProcessor
Click to show internal directories.
Click to hide internal directories.