ATParser for X-NUCLEO-IDW01M1 module
Dependencies: BufferedSerial
Dependents: SPWF01SA-lapi-1 SPWF01SA Nucleo-AWS-IoT-mbed
Fork of ATParser by
Revision 18:23f4573bcda2, committed 2016-08-02
- Comitter:
- mridup
- Date:
- Tue Aug 02 06:57:42 2016 +0000
- Parent:
- 17:bf5ceea4d6f2
- Child:
- 19:537f1380c44a
- Commit message:
- AT send ends with CR (not CR-LF)
Changed in this revision
ATParser.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ATParser.cpp Thu Jul 07 06:39:34 2016 +0000 +++ b/ATParser.cpp Tue Aug 02 06:57:42 2016 +0000 @@ -177,12 +177,12 @@ } } - // Finish with newline - for (int i = 0; _delimiter[i]; i++) { - if (putc(_delimiter[i]) < 0) { + // Finish with CR "\r" + //for (int i = 0; _delimiter[i]; i++) { + if (putc(_delimiter[0]) < 0) { return false; } - } + //} debug_if(dbg_on, "AT> %s\r\n", _buffer); return true;