teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
Diff: modem.cpp
- Revision:
- 14:c0162ab2a951
- Parent:
- 13:b9183b4bc049
- Child:
- 15:0f78bf9c13ec
diff -r b9183b4bc049 -r c0162ab2a951 modem.cpp --- a/modem.cpp Mon Oct 23 15:35:18 2017 +0000 +++ b/modem.cpp Thu Nov 09 12:53:41 2017 +0000 @@ -862,7 +862,7 @@ modemCom::status.modemResponse=true; - //pc.printf("Vem do modem <%s>.\r\n",modemCom::bufIn); + pc.printf("Vem do modem <%s>.\r\n",modemCom::bufIn); //Reconhecimento dos status modemCom::status.PROMPT_ENVIO_COMMAND_MODE=0; @@ -962,6 +962,7 @@ if(IPDNumBytes && modemCom::status.recebendoArquivoDoServer && (strstr(modemCom::bufIn,"CONNECT")==NULL) && (strstr(modemCom::bufIn,"*ServerCommand*")==NULL) ){ sdCard::insereDadosArquivoHex(&sdCard::tempFile,modemCom::bufIn,IPDNumBytes); + //sdCard::insereDadosArquivo(&sdCard::tempFile,modemCom::bufIn,IPDNumBytes); sdCard::nBytesArquivoRecebidos+=IPDNumBytes; bufModem.del(); sprintf(modemCom::bufIn,"AT+CIPSEND=%u,%lu\r\n",connID,10);