#include #include #define PRINT_TIME_TAG #define DBG_TAG "cmd" #define DBG_LVL DBG_INFO #include "debug_print.h" #include "command.h" void command_func_demo(int argc, char *argv[]) { int i; for(i=0; i 128)//Too many argument { LOG_I("Too many argument\n"); return -2; } } if(argc == 0)//No orders { LOG_I("No orders\n"); return -1; } for(i=0;i