Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Adafruit_GFX MODSERIAL mbed-rtos mbed
Diff: PidDecoder.h
- Revision:
- 3:eb807d330292
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/PidDecoder.h Sun Apr 27 17:11:32 2014 +0000
@@ -0,0 +1,21 @@
+#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
\ No newline at end of file