#define CMD_NUM 7
int i;
u8 HelpTab[CMD_NUM][50] = {
{"0xaa 0x55 addr 0x3a 0xa5 0x5a:返回时间\r\n" },
{"0xaa 0x55 addr 0x3b 0xa5 0x5a:返回地点\r\n" },
{"0xaa 0x55 addr 0x3c0xa5 0x5a:返回人物\r\n" },
{"0xaa 0x55 addr 0x3d0xa5 0x5a:返回返回姓名\r\n" },
{"0xaa 0x55 addr 0x3e0xa5 0x5a:返回返回性别\r\n" },
{"0xaa 0x55 addr 0x3f 0xa5 0x5a:返回返回事件\r\n" },
{"help:返回帮助信息\r\n" }
};
for(i=0;i<CMD_NUM;i++)
{
printf("%s",HelpTab[i]);
} |