Versions in this module Expand all Collapse all v0 v0.0.2 Jan 22, 2021 v0.0.1 Dec 17, 2018 Changes in this version + const BootUp + const GoToOperational + const GoToPreOperation + const GoToResetCommunication + const GoToResetNode + const GoToStopped + const MaskCobID + const MaskMessageType + const MaskNodeID + const MaxNodeID + const MessageTypeHeartbeat + const MessageTypeNMT + const MessageTypeRPDO1 + const MessageTypeRPDO2 + const MessageTypeRPDO3 + const MessageTypeRPDO4 + const MessageTypeRSDO + const MessageTypeSync + const MessageTypeTPDO1 + const MessageTypeTPDO2 + const MessageTypeTPDO3 + const MessageTypeTPDO4 + const MessageTypeTSDO + const MessageTypeTimestamp + const Operational + const PreOperational + const Stopped + var RefDate = time.Date(1984, 1, 1, 0, 0, 0, 0, time.UTC) + func Marshal(frm Frame) (b []byte, err error) + func Produce(frame Frame, bus *can.Bus, timeout time.Duration) chan<- struct + func ProduceHeartbeat(nodeID uint8, state uint8, bus *can.Bus, timeout time.Duration) chan<- struct + func Unmarshal(b []byte, frm *Frame) error + type Client struct + Bus *can.Bus + Timeout time.Duration + func (c *Client) Do(req *Request) (*Response, error) + type Frame struct + CobID uint16 + Data []uint8 + Rtr bool + func CANopenFrame(frm can.Frame) Frame + func NewFrame(id uint16, data []uint8) Frame + func NewHeartbeatFrame(id uint8, state uint8) Frame + func (frm Frame) CANFrame() can.Frame + func (frm Frame) MessageType() uint16 + func (frm Frame) NodeID() uint8 + func (frm Frame) Timestamp() (*time.Time, error) + type Index struct + B0 byte + B1 byte + type ObjectIndex struct + Index Index + SubIndex byte + func NewObjectIndex(index uint16, subIndex uint8) ObjectIndex + type Request struct + Frame Frame + ResponseID uint32 + func NewRequest(frm Frame, respID uint32) *Request + type Response struct + Frame Frame + Request *Request