#define AT_CMD_BUFSIZE 256
#define AT_CMD_NAME_MAX_LEN 32
#define AT_CMD_END_MARK_LEN 2
-#define AT_CMD_MODULE_MAX_NUM 5
+#define AT_CMD_MODULE_MAX_NUM 10
#define AT_CMD_MSG_COUNT 16
#define OFF_TWO 2
errcode_t at_cmd_add_moudle(at_cmd_table_t *module_cmd_list, uint32_t cmd_count)
{
if (g_at_cmd_module_index >= AT_CMD_MODULE_MAX_NUM) {
+ PRINT("[at cmd]at_cmd_add_moudle failed, cmd module number %d is larger than %d !\r\n",g_at_cmd_module_index,AT_CMD_MODULE_MAX_NUM);
return ERRCODE_FAIL;
}
g_at_cmd_module_list[g_at_cmd_module_index].cmd_set = module_cmd_list;