changeset 290:8a23632ee0e0

aci2: AT@VPATH hooked into the command table
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Aug 2017 06:33:05 +0000
parents 8dd51b740701
children 21d128939204
files src/aci2/aci/aci_cmh.h src/aci2/aci/ati_cmd.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/aci2/aci/aci_cmh.h	Sun Aug 27 06:15:53 2017 +0000
+++ b/src/aci2/aci/aci_cmh.h	Sun Aug 27 06:33:05 2017 +0000
@@ -480,6 +480,7 @@
   AT_CMD_P_BAND		 =  256,  /* Get RF band */
   /* FreeCalypso additions */
   AT_CMD_AT_SPKR,
+  AT_CMD_AT_VPATH,
   AT_CMD_AT_SND,
   AT_CMD_AT_E1,
   AT_CMD_AT_E2,
--- a/src/aci2/aci/ati_cmd.c	Sun Aug 27 06:15:53 2017 +0000
+++ b/src/aci2/aci/ati_cmd.c	Sun Aug 27 06:33:05 2017 +0000
@@ -677,6 +677,8 @@
 #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);
@@ -1078,6 +1080,7 @@
     /* 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},