xrocusOS_ADXL355 version

Dependencies:   mbed SDFileSystem

Revision:
7:9ab8809f9693
Parent:
2:a694440145e9
Child:
13:7cda5bef6390
--- 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];