1st release (without comment)

Revision:
12:3bbbabca6590
Parent:
10:ec0470d18ea4
--- a/RMS_UART.cpp	Tue Sep 20 23:55:52 2016 +0000
+++ b/RMS_UART.cpp	Mon Sep 26 08:26:13 2016 +0000
@@ -26,7 +26,6 @@
 
 char FileName[MSG2FILENAME];                    // Command Buffer 
 FileRequest_CMD_Type reqFileCmdType = REQ_NONE; // An Events Request and management
-Error_Code_Type gErrorCode = EC_SUCCESS;        // An Error definition
 bool MsgContentManagement = false;              // Command and Contents buffer management
 bool SystemStandBy = false;                     // Mini-RMS system standby flag
 bool OverBufSize   = false;                     // Content buffer size overload
@@ -153,18 +152,6 @@
         UART_File_event = true;
         
     }
-    /* Command type is check error ($ce) */
-    else if(strstr(Msg_RxBuf,CMD_CHECK_ERROR))
-    {
-        /* Send an Error definition */
-        serial_device.printf("%d",gErrorCode);
-        
-        /* Clear an error to EC_SUCCESS */
-        gErrorCode = EC_SUCCESS;
-        
-        /* Clear command index and buffer */
-        ClearCmdIndexAndBuf();
-    }
     /* RMS sent "LK" acknowledge */
     else if(strstr(Msg_RxBuf,RMS_STATUS_LIST_OK))
     {
@@ -329,11 +316,8 @@
  */
 void GetCmdError()
 {   
-    /* Error is command not found */
-    gErrorCode = EC_CMD_ERROR;
-    
     /* Send error status "ER" */
-    serial_device.printf(FLAG_STATUS_ERROR);
+    serial_device.printf(EC_CMD_ERROR);
     
     /* Clear command index and buffer */
     ClearCmdIndexAndBuf();