Removed some non-ascii characters

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-02-13 17:34:46 -05:00
parent 43391944df
commit cbcf7734bb
8 changed files with 15 additions and 12 deletions

View File

@@ -343,6 +343,7 @@ void loop() {
DBG("Hour:", hour); DBG("Hour:", hour);
DBG("Minute:", min); DBG("Minute:", min);
DBG("Second:", sec); DBG("Second:", sec);
break;
} else { } else {
DBG("Couldn't get GSM location, retrying in 10s."); DBG("Couldn't get GSM location, retrying in 10s.");
delay(10000L); delay(10000L);

View File

@@ -288,7 +288,7 @@ class TinyGsmM95
// Set Method to Handle Received TCP/IP Data // Set Method to Handle Received TCP/IP Data
// Mode = 1 - Output a notification when data is received // Mode = 1 - Output a notification when data is received
// +QIRDI: <id>,<sc>,<sid> // +QIRDI: <id>,<sc>,<sid>
sendAT(GF("+QINDI=1")); sendAT(GF("+QINDI=1"));
if (waitResponse() != 1) { return false; } if (waitResponse() != 1) { return false; }

View File

@@ -282,7 +282,7 @@ class TinyGsmMC60
// Set Method to Handle Received TCP/IP Data // Set Method to Handle Received TCP/IP Data
// Mode=2 - Output a notification statement: // Mode=2 - Output a notification statement:
// +QIRDI: <id>,<sc>,<sid>,<num>,<len>,< tlen> // +QIRDI: <id>,<sc>,<sid>,<num>,<len>,< tlen>
sendAT(GF("+QINDI=2")); sendAT(GF("+QINDI=2"));
if (waitResponse() != 1) { return false; } if (waitResponse() != 1) { return false; }

View File

@@ -305,7 +305,7 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>,
waitResponse(); waitResponse();
} }
// Set active PDP contexts profile number // Set active PDP context's profile number
// This ties the embedded TCP/IP application to the external PDP context // This ties the embedded TCP/IP application to the external PDP context
sendAT(GF("+CSOCKSETPN=1")); sendAT(GF("+CSOCKSETPN=1"));
waitResponse(); waitResponse();
@@ -327,10 +327,10 @@ class TinyGsmSim5360 : public TinyGsmModem<TinyGsmSim5360>,
// = 10 (default) // = 10 (default)
// DelayTm = number of milliseconds to delay before outputting received data // DelayTm = number of milliseconds to delay before outputting received data
// = 0 (default) // = 0 (default)
// Ack = sets whether reporting a string Send ok = 0 (don't report) // Ack = sets whether reporting a string "Send ok" = 0 (don't report)
// errMode = mode of reporting error result code = 0 (numberic values) // errMode = mode of reporting error result code = 0 (numberic values)
// HeaderType = which data header of receiving data in multi-client mode // HeaderType = which data header of receiving data in multi-client mode
// = 1 (+RECEIVE,<link num>,<data length>) // = 1 (+RECEIVE,<link num>,<data length>)
// AsyncMode = sets mode of executing commands // AsyncMode = sets mode of executing commands
// = 0 (synchronous command executing) // = 0 (synchronous command executing)
// TimeoutVal = minimum retransmission timeout in milliseconds = 75000 // TimeoutVal = minimum retransmission timeout in milliseconds = 75000

View File

@@ -429,7 +429,7 @@ class TinyGsmSequansMonarch
// <connId> = Connection ID = mux // <connId> = Connection ID = mux
// <txProt> = Transmission protocol = 0 - TCP (1 for UDP) // <txProt> = Transmission protocol = 0 - TCP (1 for UDP)
// <rPort> = Remote host port to contact // <rPort> = Remote host port to contact
// <IPaddr> = Any valid IP address in the format xxx.xxx.xxx.xxx or any // <IPaddr> = Any valid IP address in the format xxx.xxx.xxx.xxx or any
// host name solved with a DNS query // host name solved with a DNS query
// <closureType> = Socket closure behaviour for TCP, has no effect for UDP // <closureType> = Socket closure behaviour for TCP, has no effect for UDP
// = 0 - local port closes when remote does (default) // = 0 - local port closes when remote does (default)

View File

@@ -590,7 +590,7 @@ class TinyGsmUBLOX
uint32_t startMillis = millis(); uint32_t startMillis = millis();
// create a socket // create a socket
sendAT(GF("+USOCR=6")); // create a socket sendAT(GF("+USOCR=6"));
// reply is +USOCR: ## of socket created // reply is +USOCR: ## of socket created
if (waitResponse(GF(GSM_NL "+USOCR:")) != 1) { return false; } if (waitResponse(GF(GSM_NL "+USOCR:")) != 1) { return false; }
*mux = streamGetInt('\n'); *mux = streamGetInt('\n');

View File

@@ -58,11 +58,11 @@ enum RegStatus {
// These are responses to the HS command to get "hardware series" // These are responses to the HS command to get "hardware series"
enum XBeeType { enum XBeeType {
XBEE_UNKNOWN = 0, XBEE_UNKNOWN = 0,
XBEE_S6B_WIFI = 0x601, // Digi XBee® Wi-Fi XBEE_S6B_WIFI = 0x601, // Digi XBee Wi-Fi
XBEE_LTE1_VZN = 0xB01, // Digi XBee® Cellular LTE Cat 1 XBEE_LTE1_VZN = 0xB01, // Digi XBee Cellular LTE Cat 1
XBEE_3G = 0xB02, // Digi XBee® Cellular 3G XBEE_3G = 0xB02, // Digi XBee Cellular 3G
XBEE3_LTE1_ATT = 0xB06, // Digi XBee3 Cellular LTE CAT 1 XBEE3_LTE1_ATT = 0xB06, // Digi XBee3 Cellular LTE CAT 1
XBEE3_LTEM_ATT = 0xB08, // Digi XBee3 Cellular LTE-M XBEE3_LTEM_ATT = 0xB08, // Digi XBee3 Cellular LTE-M
}; };
class TinyGsmXBee class TinyGsmXBee

View File

@@ -103,6 +103,7 @@ class TinyGsmGPRS {
// AT+GSN command // AT+GSN command
String getIMEIImpl() { String getIMEIImpl() {
thisModem().sendAT(GF("+GSN")); thisModem().sendAT(GF("+GSN"));
thisModem().streamSkipUntil('\n'); // skip first newline
String res = thisModem().stream.readStringUntil('\n'); String res = thisModem().stream.readStringUntil('\n');
thisModem().waitResponse(); thisModem().waitResponse();
res.trim(); res.trim();
@@ -113,6 +114,7 @@ class TinyGsmGPRS {
// command // command
String getIMSIImpl() { String getIMSIImpl() {
thisModem().sendAT(GF("+CIMI")); thisModem().sendAT(GF("+CIMI"));
thisModem().streamSkipUntil('\n'); // skip first newline
String res = thisModem().stream.readStringUntil('\n'); String res = thisModem().stream.readStringUntil('\n');
thisModem().waitResponse(); thisModem().waitResponse();
res.trim(); res.trim();