teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Revision:
19:5559f7570e6f
Parent:
18:1eefda1f7736
Child:
20:da1b8d80ba00
--- a/modem.cpp	Thu Jan 25 16:15:03 2018 +0000
+++ b/modem.cpp	Sat Jan 27 22:34:14 2018 +0000
@@ -884,6 +884,7 @@
             ptr = strtok(aux,":");
             ptr = strtok(NULL,"\r\n");        
             modemCom::status.periodo = atoi(ptr);
+            modemCom::status.periodoConfiguracao = modemCom::status.periodo;
         }else{
             strcpy(modemCom::status.ssid,"VSE");
             strcpy(modemCom::status.password,"vitaeBBYP");
@@ -903,6 +904,7 @@
             strcpy(modemCom::status.serverIP,"191.252.142.51");
             strcpy(modemCom::status.host,"www.vitaesolucoes.com.br");
             modemCom::status.periodo = 900;
+            modemCom::status.periodoConfiguracao = modemCom::status.periodo;
             return false;
          }           
 }