diff --git a/DebugCmd.c b/DebugCmd.c index e96f36c..5307fff 100644 --- a/DebugCmd.c +++ b/DebugCmd.c @@ -536,7 +536,7 @@ void DebugCmdSetComm(int argc, char *argv[]) return; if(strcmp(argv[1], "?") == 0) { - DBG_LOG("Debug Cmd: comm arg1\r\n"); + DBG_LOG("Debug Cmd: comm arg1\r\n"); DBG_LOG(" brief --> Set gateway and service communication methods.\r\n"); DBG_LOG(" arg1 --> para: (cat1, eth),Cat1 or ETH communication.\r\n\r\n"); return; @@ -999,11 +999,11 @@ static void DebugCmdSetSvr(int argc, char *argv[]) int IP[4]; int port; - if(argc < 3) + if(argc < 2) return; if(strcmp(argv[1], "?") == 0) { - DBG_LOG("Debug Cmd: arg1 arg2 arg3\r\n"); + DBG_LOG("Debug Cmd: svr arg1 arg2 arg3\r\n"); DBG_LOG(" brief --> Set the server IP address and port for 4G communication.\r\n"); DBG_LOG(" arg1 --> password\r\n"); DBG_LOG(" arg2 --> (xx.xx.xx.xx) ip\r\n");