diff --git a/lib/TinyGSM/src/TinyGsmClientSIM7672.h b/lib/TinyGSM/src/TinyGsmClientSIM7672.h index 681ffb3..92e4cbd 100644 --- a/lib/TinyGSM/src/TinyGsmClientSIM7672.h +++ b/lib/TinyGSM/src/TinyGsmClientSIM7672.h @@ -224,6 +224,15 @@ class TinyGsmSim7672 : public TinyGsmModem, return false; } + // AT+GSN command + String getIMEIImpl() { + sendAT(GF("+CGSN")); + streamSkipUntil('\n'); // skip first newline + String res = stream.readStringUntil('\n'); + waitResponse(); + res.trim(); + return res; + } /* * Power functions */