HyunGyu Kim / Mbed 2 deprecated MTi-1_example

Dependencies:   mbed-rtos mbed Xbus

Fork of MTi-1_example by Xsens

Revision:
14:155f9a55ec51
Parent:
3:abc451d82b88
Child:
25:01356fb59467
--- a/xbus/xbusparser.h	Tue May 19 13:11:23 2015 +0200
+++ b/xbus/xbusparser.h	Tue May 19 13:29:34 2015 +0200
@@ -18,6 +18,7 @@
 
 #include <stddef.h>
 #include <stdint.h>
+#include "xbusmessage.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -40,11 +41,8 @@
 
 	/*!
 	 * \brief Handle a received message.
-	 * \param mid The message ID of the message.
-	 * \param dataLength The number of bytes of data in the message.
-	 * \param data Pointer to the message data.
 	 */
-	void (*handleMessage)(uint8_t mid, uint16_t dataLength, uint8_t const* data);
+	void (*handleMessage)(struct XbusMessage const* message);
 };
 
 size_t XbusParser_mem(void);