Browse Source

Extra wait to clear buffer

v_master
SRGDamia1 7 years ago
parent
commit
cdfad5274d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      TinyGsmClient.h
  2. +1
    -1
      TinyGsmClientXBee.h

+ 1
- 1
TinyGsmClient.h View File

@ -9,7 +9,7 @@
#ifndef TinyGsmClient_h
#define TinyGsmClient_h
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_SIM900)
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_SIM900)
#include <TinyGsmClientSIM800.h>
#elif defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_A7)
#include <TinyGsmClientA6.h>


+ 1
- 1
TinyGsmClientXBee.h View File

@ -98,7 +98,7 @@ public:
at->exitCommand();
at->modemSend("", 1, mux);
at->waitResponse();
delay(100);
at->waitResponse(); // To clear the buffer
at->commandMode();
at->sendAT(GF("TM64")); // Set socket timeout back to 10seconds;
at->waitResponse();


Loading…
Cancel
Save