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.
Dependents: NerfUS-Coord NerfUSTarget
Fork of APP3_xbee by
Diff: mbed_source/XbeeReceiver.cpp
- Revision:
- 23:2b67589150d9
- Parent:
- 22:1f0ed206313b
- Child:
- 24:00c42ba87ef7
--- a/mbed_source/XbeeReceiver.cpp Thu Mar 30 20:35:51 2017 +0000
+++ b/mbed_source/XbeeReceiver.cpp Wed Apr 05 20:27:53 2017 +0000
@@ -5,9 +5,9 @@
}
-void RealXbeeReceiver::start()
+void RealXbeeReceiver::start(void (*callback)(vector<uint8_t>, int*))
{
- message_handler_thread.start(handle_parsed_frames_from_mailbox);
+ message_handler_thread.start(handle_parsed_frames_from_mailbox(callback));
message_reader_thread.start(read_frame);
while(1)
