comparison src/aci2/aci/ati_cmd.c @ 240:9034c3a7267e

Voice memo recording and playback test AT commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 22 Mar 2017 07:07:15 +0000
parents e0b9c21d7908
children 3edeadec6804
comparison
equal deleted inserted replaced
239:e0b9c21d7908 240:9034c3a7267e
676 EXTERN T_ATI_RSLT atAtE1 (char *cl, UBYTE srcId); 676 EXTERN T_ATI_RSLT atAtE1 (char *cl, UBYTE srcId);
677 EXTERN T_ATI_RSLT atAtE2 (char *cl, UBYTE srcId); 677 EXTERN T_ATI_RSLT atAtE2 (char *cl, UBYTE srcId);
678 EXTERN T_ATI_RSLT atAtE2LSI (char *cl, UBYTE srcId); 678 EXTERN T_ATI_RSLT atAtE2LSI (char *cl, UBYTE srcId);
679 EXTERN T_ATI_RSLT atAtTONE (char *cl, UBYTE srcId); 679 EXTERN T_ATI_RSLT atAtTONE (char *cl, UBYTE srcId);
680 EXTERN T_ATI_RSLT atAtTSTOP (char *cl, UBYTE srcId); 680 EXTERN T_ATI_RSLT atAtTSTOP (char *cl, UBYTE srcId);
681 EXTERN T_ATI_RSLT atAtVMP (char *cl, UBYTE srcId);
682 EXTERN T_ATI_RSLT atAtVMPS (char *cl, UBYTE srcId);
683 EXTERN T_ATI_RSLT atAtVMR (char *cl, UBYTE srcId);
684 EXTERN T_ATI_RSLT atAtVMRS (char *cl, UBYTE srcId);
681 685
682 LOCAL const ATCommand_bas cmds_bas[] = 686 LOCAL const ATCommand_bas cmds_bas[] =
683 { 687 {
684 {"A", atA, 0, 0 }, 688 {"A", atA, 0, 0 },
685 {"B", atBW, 0, 0 }, 689 {"B", atBW, 0, 0 },
1070 {"@E1", AT_CMD_AT_E1, atAtE1, 0, 0, 0}, 1074 {"@E1", AT_CMD_AT_E1, atAtE1, 0, 0, 0},
1071 {"@E2", AT_CMD_AT_E2, atAtE2, 0, 0, 0}, 1075 {"@E2", AT_CMD_AT_E2, atAtE2, 0, 0, 0},
1072 {"@E2LSI", AT_CMD_AT_E2LSI, atAtE2LSI, 0, 0, 0}, 1076 {"@E2LSI", AT_CMD_AT_E2LSI, atAtE2LSI, 0, 0, 0},
1073 {"@TONE", AT_CMD_AT_TONE, atAtTONE, 0, 0, 0}, 1077 {"@TONE", AT_CMD_AT_TONE, atAtTONE, 0, 0, 0},
1074 {"@TSTOP", AT_CMD_AT_TSTOP, atAtTSTOP, 0, 0, 0}, 1078 {"@TSTOP", AT_CMD_AT_TSTOP, atAtTSTOP, 0, 0, 0},
1079 {"@VMP", AT_CMD_AT_VMP, atAtVMP, 0, 0, 0},
1080 {"@VMPS", AT_CMD_AT_VMPS, atAtVMPS, 0, 0, 0},
1081 {"@VMR", AT_CMD_AT_VMR, atAtVMR, 0, 0, 0},
1082 {"@VMRS", AT_CMD_AT_VMRS, atAtVMRS, 0, 0, 0},
1075 /* terminator */ 1083 /* terminator */
1076 {NULL,0,0,0,0,0} 1084 {NULL,0,0,0,0,0}
1077 }; 1085 };
1078 1086
1079 static const char large_output_cmd[5][6] = 1087 static const char large_output_cmd[5][6] =