Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawMessage ¶
type RawMessage struct { // Timestamp of receipt of CAN Message Timestamp time.Time // Message priority, 0 is highest priority [id >> 26] Priority uint8 // Parameter group number/name id [(id & 0x3FFFFFF) >> 8] Pgn uint32 // Sender ID [id & 0xFF] Source uint8 // Destination of message. If the PF field (bits 24:17 of the // ID) are >= 0xF0, than dst is 255 (broadcast). Otherwise // use the FS field (bits 16:9 of the ID) as the destination // address Destination uint8 // number of bytes which make up the frame Length uint8 Data []byte }
func (*RawMessage) Print ¶
func (msg *RawMessage) Print(verbose bool) (s string)
type ReadWriter ¶
type Reader ¶
type Reader interface {
Read() (*RawMessage, error)
}
Click to show internal directories.
Click to hide internal directories.