FreeCalypso > hg > fc-magnetite
diff 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 |
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_cmd.c Thu Aug 31 06:01:10 2017 +0000 +++ b/src/g23m-aci/aci/ati_cmd.c Sat Sep 02 17:05:04 2017 +0000 @@ -76,6 +76,8 @@ #include "aci_bat.h" #endif +#include "fc-target.cfg" + #define OLD_NON_STANDARDIZED_ATCMD "&ABDEFHILMOPQSTVWXZ" /*==== EXTERNALS ======================================================*/ @@ -740,6 +742,12 @@ EXTERN T_ATI_RSLT atAtBAND (CHAR *cl, UBYTE srcId); /* FreeCalypso additions */ +#ifdef CONFIG_TARGET_FCDEV3B +EXTERN T_ATI_RSLT atAtSPKR (char *cl, UBYTE srcId); +EXTERN T_ATI_RSLT queatAtSPKR (char *cl, UBYTE srcId); +EXTERN T_ATI_RSLT atAtVPATH (char *cl, UBYTE srcId); +EXTERN T_ATI_RSLT queatAtVPATH (char *cl, UBYTE srcId); +#endif EXTERN T_ATI_RSLT atAtSND (char *cl, UBYTE srcId); EXTERN T_ATI_RSLT atAtE1 (char *cl, UBYTE srcId); EXTERN T_ATI_RSLT atAtE2 (char *cl, UBYTE srcId); @@ -1191,6 +1199,10 @@ {"@BAND", AT_CMD_P_BAND, atAtBAND, 0, 0, 0}, #endif /* FreeCalypso additions */ +#ifdef CONFIG_TARGET_FCDEV3B + {"@SPKR", AT_CMD_AT_SPKR, atAtSPKR, test_gen, queatAtSPKR, "%s: (0,1)"}, + {"@VPATH", AT_CMD_AT_VPATH, atAtVPATH,test_gen, queatAtVPATH,"%s: (0-2)"}, +#endif {"@SND", AT_CMD_AT_SND, atAtSND, 0, 0, 0}, {"@E1", AT_CMD_AT_E1, atAtE1, 0, 0, 0}, {"@E2", AT_CMD_AT_E2, atAtE2, 0, 0, 0},