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.
Diff: Xbee.h
- Revision:
- 16:cc598ae4ab52
- Parent:
- 5:d14636b861ff
- Child:
- 17:2271d7a273e7
--- a/Xbee.h Fri Nov 27 23:01:41 2015 +0000
+++ b/Xbee.h Sat Nov 28 03:52:44 2015 +0000
@@ -7,11 +7,14 @@
// Use p9 and p10 as default serial pins
Xbee(PinName tx = p9, PinName rx = p10, PinName rst = p11);
+ // Reset
+ void Reset();
+
// Send buffer
void Send(const char*);
// Read buffer
- void Recv(char*,const size_t&);
+ void Recv(char*,const size_t& sz = 1);
private:
Serial _xbee;