Version bump and debug print

This commit is contained in:
Sara Damiano
2019-05-23 15:59:59 -04:00
parent fcb3d5b010
commit fa5ca6e67c
5 changed files with 6 additions and 5 deletions

View File

@@ -802,6 +802,7 @@ protected:
result = stream.readStringUntil('\n').toInt();
waitResponse();
}
DBG("### Available:", result, "on", mux);
if (!result) {
sockets[mux]->sock_connected = modemGetConnected(mux);
}

View File

@@ -624,7 +624,7 @@ protected:
sockets[mux % TINY_GSM_MUX_COUNT]->sock_available--;
// ^^ One less character available after moving from modem's FIFO to our FIFO
}
// DBG("### Read:", len, "from", mux);
DBG("### Read:", len, "from", mux);
waitResponse();
// sockets[mux % TINY_GSM_MUX_COUNT]->sock_available = modemGetAvailable(mux);
return len;
@@ -640,7 +640,7 @@ protected:
result = stream.readStringUntil(',').toInt(); // keep data not yet read
waitResponse();
}
// DBG("### Available:", result, "on", mux);
DBG("### Available:", result, "on", mux);
return result;
}

View File

@@ -10,7 +10,7 @@
#define TinyGsmCommon_h
// The current library version number
#define TINYGSM_VERSION "0.7.4"
#define TINYGSM_VERSION "0.7.5"
#if defined(SPARK) || defined(PARTICLE)
#include "Particle.h"