Small project to display some OBD values from the Toyota GT86/ Subaru BRZ/ Scion FRS on an OLED display.

Dependencies:   Adafruit_GFX MODSERIAL mbed-rtos mbed

PidDecoder.h

Committer:
chrta
Date:
2014-05-11
Revision:
7:a19b63c0a0fa
Parent:
3:eb807d330292

File content as of revision 7:a19b63c0a0fa:

#ifndef PID_DECODER_H
#define PID_DECODER_H

#include "mbed.h"

class PidDecoder
{
    public:
    
    /**
     * Decode the given message
     *
     * Currently the packet is only printed out.
     * Later a user callbeck must be executed from here.
     *
     * \param[in] data The content of the Iso Tp message.
     * \param[in] length The amount of bytes in data.
     */
    void decode(const uint8_t* data, uint16_t length);
};
#endif //PID_DECODER_H