UART Command Parser Time Manager Data Store for SD Card for stm32l476 [it's not Licensed as BSD/GPLx]

Dependencies:   mbed SDFileSystem

Revision:
7:9ab8809f9693
Parent:
2:a694440145e9
Child:
13:7cda5bef6390
diff -r 81a3d517fd56 -r 9ab8809f9693 common/CommandParser.cpp
--- a/common/CommandParser.cpp	Thu May 09 00:06:21 2019 +0000
+++ b/common/CommandParser.cpp	Sat May 11 04:03:33 2019 +0000
@@ -97,12 +97,12 @@
 /* generate ACK/NAK with String */
 void CommandParser::reply(bool ack, char* replyStr)
 {
-    const char CmdReplyStrDefault[] = ":0 ACK 0000\n";
+    const char CmdReplyStrDefault[] = ":0 ACK 0004 0000\n";
     const int CmdReplyLen = sizeof(CmdReplyStrDefault) /* include \0 */;
     const int CmdReplyDevPos = 1;
     const int CmdReplyAckPos = 3;
-    const int CmdReplyCodePos = 7;
-    const int CmdReplyEndPos = 11;
+    const int CmdReplyCodePos = 12;
+    const int CmdReplyEndPos = 16;
     
     char str[CmdReplyLen];