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: mbed-rtos mbed Xbus
Fork of MTi-1_example by
Diff: xbus/xbusparser.h
- 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);
