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: DigiLogger
Fork of XBeeLib_vs by
Diff: XBee/RadioConfig.cpp
- Revision:
- 3:8662ebe83570
- Parent:
- 2:2ee1b6d51df2
- Child:
- 4:629712865107
--- a/XBee/RadioConfig.cpp Thu May 14 16:21:39 2015 +0200
+++ b/XBee/RadioConfig.cpp Mon May 18 13:16:55 2015 +0200
@@ -275,15 +275,14 @@
return Success;
}
-RadioStatus XBee::get_iosample(const RemoteXBee& remote, uint8_t * const io_sample, uint16_t * const len)
+RadioStatus XBee::_get_iosample(const RemoteXBee& remote, uint8_t * const io_sample, uint16_t * const len)
{
AtCmdFrame::AtCmdResp cmdresp;
- *len = MAX_IO_SAMPLE_BUF_LEN;
/* Force a sample read */
cmdresp = get_param(remote, "IS", io_sample, len);
if (cmdresp != AtCmdFrame::AtCmdRespOk) {
- digi_log(LogLevelError, "get_iosample error %d:\r\n", cmdresp);
+ digi_log(LogLevelError, "_get_iosample error %d:\r\n", cmdresp);
return Failure;
}
