modulepackage
0.0.0-20221213134514-84672be992d4
Repository: https://github.com/simpleiot/canparse.git
Documentation: pkg.go.dev
# README
canparse
CAN bus traffic parsing using CAN database files.
This library was partially inspired by and borrows some naming conventions from cantools/cantools.
Supported CAN Database Formats
The plan is to initially support the open-source KCD format, and hopefully expand the capabilities of the library to support DBC and SYM formats in the future. For now a tool such as canmatrix can be used to convert other file types to KCD format.
# Functions
DecodeMessage takes a CAN frame object and a CAN database object.
# Structs
Bus represents a generic CAN bus with a name and multiple CAN messages.
Database represents a generic CAN database with multiple CAN busses.
No description provided by the author
No description provided by the author
KcdBus mirrors the generic Bus type with added XML decoding tags for the KCD format.
KcdDatabase mirrors the generic Database type with added XML decoding tags for the KCD format.
KcdMessage mostly mirrors the generic Message type with added XML decoding tags for the KCD format.
KcdSignal mostly mirrors the generic Signal type with added XML decoding tags for the KCD format.
KcdValue adhering to the KCD standard.
Message represents a CAN bus frame that has an id and data which is split into signals.
Signal represents a meaningful part of a CAN message.
# Type aliases
No description provided by the author