FreeCalypso > hg > fc-tourmaline
comparison src/g23m-aci/aci/ati_cmd.c @ 301:4bb5772a05a3
AT%SPVER: new command for setting custom speech version lists
The speech version list in the Bearer Capability IE tells the network
which speech codecs are supported by the MS, and in which order of
preference. The standard behaviour is to list all codecs that are
supported by the hw+fw platform, and the standard preference order
is newer over older, FR over HR. But sometimes it is desirable
(for network testing) to artificially restrict which codecs the test MS
will declare as supported, and/or to list them in some peculiar
non-standard order of preference. Add a new private AT command,
AT%SPVER, allowing the user to set and clear custom speech version
lists for the Bearer Capability IE composer in CC.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 May 2023 21:43:10 +0000 |
parents | 91e61d00a6b5 |
children | d32ac4edb634 |
comparison
equal
deleted
inserted
replaced
300:edcb8364d45b | 301:4bb5772a05a3 |
---|---|
788 #endif | 788 #endif |
789 #ifdef RVM_VIBR_SWE | 789 #ifdef RVM_VIBR_SWE |
790 EXTERN T_ATI_RSLT atAtVIBR (char *cl, UBYTE srcId); | 790 EXTERN T_ATI_RSLT atAtVIBR (char *cl, UBYTE srcId); |
791 EXTERN T_ATI_RSLT atAtVIBS (char *cl, UBYTE srcId); | 791 EXTERN T_ATI_RSLT atAtVIBS (char *cl, UBYTE srcId); |
792 #endif | 792 #endif |
793 EXTERN T_ATI_RSLT atPercentSPVER (char *cl, UBYTE srcId); | |
794 EXTERN T_ATI_RSLT queatPercentSPVER (char *cl, UBYTE srcId); | |
793 | 795 |
794 LOCAL const ATCommand_bas cmds_bas[] = | 796 LOCAL const ATCommand_bas cmds_bas[] = |
795 { | 797 { |
796 {"A", atA, 0, 0 }, | 798 {"A", atA, 0, 0 }, |
797 {"B", atBW, 0, 0 }, | 799 {"B", atBW, 0, 0 }, |
1271 #endif | 1273 #endif |
1272 #ifdef RVM_VIBR_SWE | 1274 #ifdef RVM_VIBR_SWE |
1273 {"@VIBR", AT_CMD_AT_VIBR, atAtVIBR, 0, 0, 0}, | 1275 {"@VIBR", AT_CMD_AT_VIBR, atAtVIBR, 0, 0, 0}, |
1274 {"@VIBS", AT_CMD_AT_VIBS, atAtVIBS, 0, 0, 0}, | 1276 {"@VIBS", AT_CMD_AT_VIBS, atAtVIBS, 0, 0, 0}, |
1275 #endif | 1277 #endif |
1278 {"%SPVER", AT_CMD_P_SPVER, atPercentSPVER, test_gen, queatPercentSPVER, | |
1279 "%s: (0,1),(0-5),(0-5),(0-5),(0-5),(0-5)"}, | |
1276 /* terminator */ | 1280 /* terminator */ |
1277 {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL} | 1281 {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL} |
1278 }; | 1282 }; |
1279 | 1283 |
1280 static const char large_output_cmd[5][6] = | 1284 static const char large_output_cmd[5][6] = |