From ad278fb834b06440f45f25e398280d1c93d3710b Mon Sep 17 00:00:00 2001 From: SRGDamia1 Date: Sun, 9 Apr 2017 14:30:24 -0400 Subject: [PATCH] Extra debugging --- TinyGsmClientXBee.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TinyGsmClientXBee.h b/TinyGsmClientXBee.h index bd92e3f..c3d8031 100644 --- a/TinyGsmClientXBee.h +++ b/TinyGsmClientXBee.h @@ -519,7 +519,11 @@ private: streamWrite(tail...); } - int streamRead() { return stream.read(); } + int streamRead() { + int c = stream.read(); + DBG((char)c) + return c; + } String streamReadUntil(char c) { String return_string = stream.readStringUntil(c);