|
@@ -58,7 +58,6 @@ static void proGGIPMsg(char *msg);
|
|
static void proCsqMsg(char *msg);
|
|
static void proCsqMsg(char *msg);
|
|
static void proMicSpk(int mic, int spk);
|
|
static void proMicSpk(int mic, int spk);
|
|
void cmdsProcess(char *msg, int len){//已去掉回车换行
|
|
void cmdsProcess(char *msg, int len){//已去掉回车换行
|
|
- static char firstTTSEnd=1;
|
|
|
|
int i;
|
|
int i;
|
|
char *p,taddr[30],buf[100];
|
|
char *p,taddr[30],buf[100];
|
|
if(sutApp.pocInitStatus==0) sutApp.pocInitStatus=1;
|
|
if(sutApp.pocInitStatus==0) sutApp.pocInitStatus=1;
|
|
@@ -79,10 +78,6 @@ void cmdsProcess(char *msg, int len){//
|
|
//spkPro(atoi(buf));
|
|
//spkPro(atoi(buf));
|
|
}else if(msgCmp(msg, "+HTTS: END")){
|
|
}else if(msgCmp(msg, "+HTTS: END")){
|
|
sutPocStatus.TTS=0;
|
|
sutPocStatus.TTS=0;
|
|
- if(firstTTSEnd==1){
|
|
|
|
- firstTTSEnd=0;
|
|
|
|
- msgAtSend("AT+HTTSSPEED=1282,3000\r\n");//设置TTS音量
|
|
|
|
- }
|
|
|
|
}else if(msgCmp(msg, "+HTTS: START")){
|
|
}else if(msgCmp(msg, "+HTTS: START")){
|
|
paControl(true);
|
|
paControl(true);
|
|
sutPocStatus.TTS=1;
|
|
sutPocStatus.TTS=1;
|