Vehicle Control Unit 0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
DBCParser.h
Go to the documentation of this file.
1#ifndef RENNSSELAERMOTORSPORT_DBC_H
2#define RENNSSELAERMOTORSPORT_DBC_H
3
4#include <stdint.h>
5
6#include "Can.h"
7
8static const int MAX_LINE_LENGTH = 256;
9
10
22int parseDbcLine(CAN_MessageList *messages, char *line);
23
36int parseDbcFile(CAN_MessageList *messages, const unsigned char *dbc_contents);
37
47void print_CAN_MessageList(const CAN_MessageList *messages);
48
49#endif // RENNSSELAERMOTORSPORT_DBC_H
static const int MAX_LINE_LENGTH
Definition: DBCParser.h:8
int parseDbcFile(CAN_MessageList *messages, const unsigned char *dbc_contents)
Parses a DBC (CAN database) file and populates the DBC structure.
Definition: DBCParser.c:31
int parseDbcLine(CAN_MessageList *messages, char *line)
Parses a single line of a DBC file and populates the CAN_MessageList structure.
Definition: DBCParser.c:7
void print_CAN_MessageList(const CAN_MessageList *messages)
Prints the contents of a CAN message list (aka DBC file).
Definition: DBCParser.c:44