@@ -247,7 +247,7 @@ class TinyGsmSim7080 : public TinyGsmSim70xx<TinyGsmSim7080>,
|
|||||||
// 2: CHAP
|
// 2: CHAP
|
||||||
// 3: PAP or CHAP
|
// 3: PAP or CHAP
|
||||||
if (pwd && strlen(pwd) > 0 && user && strlen(user) > 0) {
|
if (pwd && strlen(pwd) > 0 && user && strlen(user) > 0) {
|
||||||
sendAT(GF("+CNCFG=0,1,\""), apn, "\",\"", "\",\"", user, pwd, '"');
|
sendAT(GF("+CNCFG=0,1,\""), apn, "\",\"", user, "\",\"", pwd, '"');
|
||||||
waitResponse();
|
waitResponse();
|
||||||
} else if (user && strlen(user) > 0) {
|
} else if (user && strlen(user) > 0) {
|
||||||
// Set the user name only
|
// Set the user name only
|
||||||
|
|||||||
Reference in New Issue
Block a user