FreeCalypso > hg > fc-magnetite
comparison src/g23m-aci/aci/ati_cmd.c @ 292:85b38e37810b
AT@SPKR and AT@VPATH ported over to aci3
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 02 Sep 2017 17:05:04 +0000 |
parents | 294c26c07561 |
children | 5b2ebc94cae4 |
comparison
equal
deleted
inserted
replaced
291:21d128939204 | 292:85b38e37810b |
---|---|
73 | 73 |
74 #ifdef FF_ATI_BAT | 74 #ifdef FF_ATI_BAT |
75 #include "ati_bat.h" | 75 #include "ati_bat.h" |
76 #include "aci_bat.h" | 76 #include "aci_bat.h" |
77 #endif | 77 #endif |
78 | |
79 #include "fc-target.cfg" | |
78 | 80 |
79 #define OLD_NON_STANDARDIZED_ATCMD "&ABDEFHILMOPQSTVWXZ" | 81 #define OLD_NON_STANDARDIZED_ATCMD "&ABDEFHILMOPQSTVWXZ" |
80 | 82 |
81 /*==== EXTERNALS ======================================================*/ | 83 /*==== EXTERNALS ======================================================*/ |
82 EXTERN T_SMS_SHRD_PRM smsShrdPrm; | 84 EXTERN T_SMS_SHRD_PRM smsShrdPrm; |
738 EXTERN T_ATI_RSLT atAtPOFF (CHAR *cl, UBYTE srcId); | 740 EXTERN T_ATI_RSLT atAtPOFF (CHAR *cl, UBYTE srcId); |
739 EXTERN T_ATI_RSLT atAtRST (CHAR *cl, UBYTE srcId); | 741 EXTERN T_ATI_RSLT atAtRST (CHAR *cl, UBYTE srcId); |
740 EXTERN T_ATI_RSLT atAtBAND (CHAR *cl, UBYTE srcId); | 742 EXTERN T_ATI_RSLT atAtBAND (CHAR *cl, UBYTE srcId); |
741 | 743 |
742 /* FreeCalypso additions */ | 744 /* FreeCalypso additions */ |
745 #ifdef CONFIG_TARGET_FCDEV3B | |
746 EXTERN T_ATI_RSLT atAtSPKR (char *cl, UBYTE srcId); | |
747 EXTERN T_ATI_RSLT queatAtSPKR (char *cl, UBYTE srcId); | |
748 EXTERN T_ATI_RSLT atAtVPATH (char *cl, UBYTE srcId); | |
749 EXTERN T_ATI_RSLT queatAtVPATH (char *cl, UBYTE srcId); | |
750 #endif | |
743 EXTERN T_ATI_RSLT atAtSND (char *cl, UBYTE srcId); | 751 EXTERN T_ATI_RSLT atAtSND (char *cl, UBYTE srcId); |
744 EXTERN T_ATI_RSLT atAtE1 (char *cl, UBYTE srcId); | 752 EXTERN T_ATI_RSLT atAtE1 (char *cl, UBYTE srcId); |
745 EXTERN T_ATI_RSLT atAtE2 (char *cl, UBYTE srcId); | 753 EXTERN T_ATI_RSLT atAtE2 (char *cl, UBYTE srcId); |
746 EXTERN T_ATI_RSLT atAtE2LSI (char *cl, UBYTE srcId); | 754 EXTERN T_ATI_RSLT atAtE2LSI (char *cl, UBYTE srcId); |
747 EXTERN T_ATI_RSLT atAtTONE (char *cl, UBYTE srcId); | 755 EXTERN T_ATI_RSLT atAtTONE (char *cl, UBYTE srcId); |
1189 {"@POFF", AT_CMD_P_POFF, atAtPOFF, 0, 0, 0}, | 1197 {"@POFF", AT_CMD_P_POFF, atAtPOFF, 0, 0, 0}, |
1190 {"@RST", AT_CMD_P_RST, atAtRST, 0, 0, 0}, | 1198 {"@RST", AT_CMD_P_RST, atAtRST, 0, 0, 0}, |
1191 {"@BAND", AT_CMD_P_BAND, atAtBAND, 0, 0, 0}, | 1199 {"@BAND", AT_CMD_P_BAND, atAtBAND, 0, 0, 0}, |
1192 #endif | 1200 #endif |
1193 /* FreeCalypso additions */ | 1201 /* FreeCalypso additions */ |
1202 #ifdef CONFIG_TARGET_FCDEV3B | |
1203 {"@SPKR", AT_CMD_AT_SPKR, atAtSPKR, test_gen, queatAtSPKR, "%s: (0,1)"}, | |
1204 {"@VPATH", AT_CMD_AT_VPATH, atAtVPATH,test_gen, queatAtVPATH,"%s: (0-2)"}, | |
1205 #endif | |
1194 {"@SND", AT_CMD_AT_SND, atAtSND, 0, 0, 0}, | 1206 {"@SND", AT_CMD_AT_SND, atAtSND, 0, 0, 0}, |
1195 {"@E1", AT_CMD_AT_E1, atAtE1, 0, 0, 0}, | 1207 {"@E1", AT_CMD_AT_E1, atAtE1, 0, 0, 0}, |
1196 {"@E2", AT_CMD_AT_E2, atAtE2, 0, 0, 0}, | 1208 {"@E2", AT_CMD_AT_E2, atAtE2, 0, 0, 0}, |
1197 {"@E2LSI", AT_CMD_AT_E2LSI, atAtE2LSI, 0, 0, 0}, | 1209 {"@E2LSI", AT_CMD_AT_E2LSI, atAtE2LSI, 0, 0, 0}, |
1198 {"@TONE", AT_CMD_AT_TONE, atAtTONE, 0, 0, 0}, | 1210 {"@TONE", AT_CMD_AT_TONE, atAtTONE, 0, 0, 0}, |