Documentation ¶
Index ¶
- Constants
- type DIFs
- type Frame
- func (fr *Frame) AccessNumber() string
- func (fr *Frame) Address() string
- func (fr *Frame) Configuration() string
- func (fr *Frame) ConfigurationLength() int
- func (fr *Frame) Control() int
- func (fr *Frame) ControlInformationField() string
- func (fr *Frame) DataHeader() int
- func (fr *Frame) DeviceType() string
- func (fr *Frame) DeviceTypeString() string
- func (fr *Frame) Format() string
- func (fr *Frame) IV() string
- func (fr *Frame) Identification() string
- func (fr *Frame) Length() int
- func (fr *Frame) Manufacturer() string
- func (fr *Frame) ManufacturerString() string
- func (fr Frame) MarshalJSON() ([]byte, error)
- func (fr *Frame) PlainText() []DIFs
- func (fr *Frame) StatusField() string
- func (fr *Frame) Valid() bool
- func (fr *Frame) ValueStart() int
- func (fr *Frame) Version() int
Constants ¶
View Source
const NoHeader = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
TODO: Load into the frame
func (*Frame) ConfigurationLength ¶
Get the configuration length
func (*Frame) ControlInformationField ¶
Parser for the second block
func (*Frame) DataHeader ¶
Get information which data header is sent returns the const defined above
func (*Frame) DeviceType ¶
Get the device type of a specific device
func (*Frame) DeviceTypeString ¶
Get the device type of a device as string
func (*Frame) Identification ¶
Get the identification of a device
func (*Frame) Length ¶
Parser for the first block The length of the frame in byte (exclusive length byte)
func (*Frame) Manufacturer ¶
Get the vendor of a specific device
func (*Frame) ManufacturerString ¶
TODO: Get the manufacturer as string
func (Frame) MarshalJSON ¶
Our socket handler for new sniffed data
Click to show internal directories.
Click to hide internal directories.