changes to communication
Fork of XBeeLib 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; }