![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
AT terminal for the mDot using the USB debug port instead of the serial port.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
Diff: CommandTerminal/CmdSendString.cpp
- Revision:
- 4:666017851052
- Parent:
- 2:e5eebd74d36d
- Child:
- 9:ff62b20f7000
diff -r 1ee9417f6707 -r 666017851052 CommandTerminal/CmdSendString.cpp --- a/CommandTerminal/CmdSendString.cpp Tue Aug 18 15:58:59 2015 +0000 +++ b/CommandTerminal/CmdSendString.cpp Tue Aug 18 11:21:43 2015 -0500 @@ -54,8 +54,8 @@ if (args.size() >= 2) { size_t size = 0; - for (int i = 1; i < args.size(); i++) - size += args[i].size(); + for (int i = 1; i < args.size() - 1; i++) + size += args[i].size() + 1; if (size > 242) { setErrorMessage("Invalid packet, expects (string:242)"); return false;