Skip to content

Commit

Permalink
Update TinyGSM
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Nov 29, 2023
1 parent 1474c8f commit 0c5d2c0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/TinyGSM/src/TinyGsmClientSIM7672.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,15 @@ class TinyGsmSim7672 : public TinyGsmModem<TinyGsmSim7672>,
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
*/
Expand Down

0 comments on commit 0c5d2c0

Please sign in to comment.