Delta / Mbed OS Delta_CLI

Fork of NNN40_CLI by Delta

Files at this revision

API Documentation at this revision

Comitter:
silviaChen
Date:
Fri Nov 11 09:02:51 2016 +0000
Parent:
23:620896909655
Child:
25:1423b707b705
Commit message:
CLI V1.18, modify ERROR message format

Changed in this revision

CLI_Source/ble_cli.cpp Show annotated file Show diff for this revision Revisions of this file
CLI_Source/command-interpreter.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/CLI_Source/ble_cli.cpp	Fri Nov 04 06:46:58 2016 +0000
+++ b/CLI_Source/ble_cli.cpp	Fri Nov 11 09:02:51 2016 +0000
@@ -10,7 +10,7 @@
 // Genral configuration parameters
 #define BLE_DEBUG  0
 #define MAX_DEVNAME_LEN 32
-#define CLI_FWVERION "DELTA_CLI_V1.17"
+#define CLI_FWVERION "DELTA_CLI_V1.18"
 
 //0920 Silvia modify
 #if defined(TARGET_DELTA_DFBM_NQ620)
--- a/CLI_Source/command-interpreter.cpp	Fri Nov 04 06:46:58 2016 +0000
+++ b/CLI_Source/command-interpreter.cpp	Fri Nov 11 09:02:51 2016 +0000
@@ -291,7 +291,8 @@
 
 void cyntecCommandErrorHandler(uint8_t status)
 {
-		console.printf("%s\r\n",cyntecCommandErrorNames[status]);
+		//Silvia 20161111 modify
+		console.printf("\r\nERROR;%s\r\n\r\n", cyntecCommandErrorNames[status]);
 		cyntecPrintCommandUsage(cyntecCurrentCommand);
 }