Add Modem Info to all examples
This commit is contained in:
@@ -73,6 +73,10 @@ void setup()
|
|||||||
Serial.println("Initializing modem...");
|
Serial.println("Initializing modem...");
|
||||||
modem.restart();
|
modem.restart();
|
||||||
|
|
||||||
|
String modemInfo = modem.getModemInfo();
|
||||||
|
Serial.print("Modem: ");
|
||||||
|
Serial.println(modemInfo);
|
||||||
|
|
||||||
// Unlock your SIM card with a PIN
|
// Unlock your SIM card with a PIN
|
||||||
//modem.simUnlock("1234");
|
//modem.simUnlock("1234");
|
||||||
|
|
||||||
|
@@ -61,6 +61,10 @@ void setup() {
|
|||||||
Serial.println("Initializing modem...");
|
Serial.println("Initializing modem...");
|
||||||
modem.restart();
|
modem.restart();
|
||||||
|
|
||||||
|
String modemInfo = modem.getModemInfo();
|
||||||
|
Serial.print("Modem: ");
|
||||||
|
Serial.println(modemInfo);
|
||||||
|
|
||||||
// Unlock your SIM card with a PIN
|
// Unlock your SIM card with a PIN
|
||||||
//modem.simUnlock("1234");
|
//modem.simUnlock("1234");
|
||||||
}
|
}
|
||||||
|
@@ -80,6 +80,10 @@ void setup() {
|
|||||||
Serial.println("Initializing modem...");
|
Serial.println("Initializing modem...");
|
||||||
modem.restart();
|
modem.restart();
|
||||||
|
|
||||||
|
String modemInfo = modem.getModemInfo();
|
||||||
|
Serial.print("Modem: ");
|
||||||
|
Serial.println(modemInfo);
|
||||||
|
|
||||||
// Unlock your SIM card with a PIN
|
// Unlock your SIM card with a PIN
|
||||||
//modem.simUnlock("1234");
|
//modem.simUnlock("1234");
|
||||||
|
|
||||||
|
@@ -53,6 +53,10 @@ void setup() {
|
|||||||
Serial.println(F("Initializing modem..."));
|
Serial.println(F("Initializing modem..."));
|
||||||
modem.restart();
|
modem.restart();
|
||||||
|
|
||||||
|
String modemInfo = modem.getModemInfo();
|
||||||
|
Serial.print("Modem: ");
|
||||||
|
Serial.println(modemInfo);
|
||||||
|
|
||||||
// Unlock your SIM card with a PIN
|
// Unlock your SIM card with a PIN
|
||||||
//modem.simUnlock("1234");
|
//modem.simUnlock("1234");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user