SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
Logging Namespace Reference

Namespace to isolate Log_t struct. More...

Classes

struct  Log_t
 Base class used to log things over serial. More...
 

Functions

void enableCanbusRelay ()
 If a set address is received through canbus, the data will be pushed to a buffer to be printed.
 
void printLookup ()
 Print the ZLib compressed string of the current lookup table to serial.
 

Detailed Description

Namespace to isolate Log_t struct.

See also
Log.h for more info.

Function Documentation

◆ enableCanbusRelay()

void Logging::enableCanbusRelay ( )

If a set address is received through canbus, the data will be pushed to a buffer to be printed.

Note
The address is set in CanBusAddresses.def

◆ printLookup()

void Logging::printLookup ( )

Print the ZLib compressed string of the current lookup table to serial.

Note
First prints 8 zero bytes, then the length of the array as a ulong, then the actual map.
Warning
A byte of serial data must be sent back after 8 bytes of the map is received, this is to help mediate the amount of data sent