
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: util/AbstractReporter.h
- Revision:
- 136:a52821cdb108
- Parent:
- 100:dbcd3bc51758
--- a/util/AbstractReporter.h Mon Aug 10 14:20:40 2015 +0000 +++ b/util/AbstractReporter.h Mon Feb 15 09:49:35 2016 +0000 @@ -19,9 +19,9 @@ \param status a short summary of the report. Pass NULL if the status is not interested. \param num maximum length of status. - \return number of characters written to buf, 0 means no report. + \return number of characters written to buf, 0 means no report, -1 means error */ - virtual size_t read(char* buf, size_t maxLen, + virtual int read(char* buf, size_t maxLen, char* status, size_t num) = 0; };