diff --git a/examples/AllFunction/modem.cpp b/examples/AllFunction/modem.cpp index d51b649..62920a8 100644 --- a/examples/AllFunction/modem.cpp +++ b/examples/AllFunction/modem.cpp @@ -81,7 +81,7 @@ void setuoModem() return ; } - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); int16_t sq = modem.getSignalQuality(); diff --git a/examples/BIGIOT_Gnss_Upload/BIGIOT_Gnss_Upload.ino b/examples/BIGIOT_Gnss_Upload/BIGIOT_Gnss_Upload.ino index 90a024d..6d65e09 100644 --- a/examples/BIGIOT_Gnss_Upload/BIGIOT_Gnss_Upload.ino +++ b/examples/BIGIOT_Gnss_Upload/BIGIOT_Gnss_Upload.ino @@ -286,7 +286,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/MinimalModemNBIOTExample/MinimalModemNBIOTExample.ino b/examples/MinimalModemNBIOTExample/MinimalModemNBIOTExample.ino index 6965cc8..8e89fdc 100644 --- a/examples/MinimalModemNBIOTExample/MinimalModemNBIOTExample.ino +++ b/examples/MinimalModemNBIOTExample/MinimalModemNBIOTExample.ino @@ -192,7 +192,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/MinimalModemPowerSaveMode/MinimalModemPowerSaveMode.ino b/examples/MinimalModemPowerSaveMode/MinimalModemPowerSaveMode.ino index 2a99ee3..9a23d49 100644 --- a/examples/MinimalModemPowerSaveMode/MinimalModemPowerSaveMode.ino +++ b/examples/MinimalModemPowerSaveMode/MinimalModemPowerSaveMode.ino @@ -170,7 +170,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/MinimalModemSleepMode/MinimalModemSleepMode.ino b/examples/MinimalModemSleepMode/MinimalModemSleepMode.ino index 9a7f979..b26fc61 100644 --- a/examples/MinimalModemSleepMode/MinimalModemSleepMode.ino +++ b/examples/MinimalModemSleepMode/MinimalModemSleepMode.ino @@ -171,7 +171,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/ModemMqttPulishExample/ModemMqttPulishExample.ino b/examples/ModemMqttPulishExample/ModemMqttPulishExample.ino index e00f75b..c7a7ee0 100644 --- a/examples/ModemMqttPulishExample/ModemMqttPulishExample.ino +++ b/examples/ModemMqttPulishExample/ModemMqttPulishExample.ino @@ -190,7 +190,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/ModemMqttSubscribeExample/ModemMqttSubscribeExample.ino b/examples/ModemMqttSubscribeExample/ModemMqttSubscribeExample.ino index 449e112..18a1f7f 100644 --- a/examples/ModemMqttSubscribeExample/ModemMqttSubscribeExample.ino +++ b/examples/ModemMqttSubscribeExample/ModemMqttSubscribeExample.ino @@ -218,7 +218,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/ModemMqttsAuthExample/ModemMqttsAuthExample.ino b/examples/ModemMqttsAuthExample/ModemMqttsAuthExample.ino index 16fbebe..bd76980 100644 --- a/examples/ModemMqttsAuthExample/ModemMqttsAuthExample.ino +++ b/examples/ModemMqttsAuthExample/ModemMqttsAuthExample.ino @@ -358,7 +358,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/ModemMqttsExample/ModemMqttsExample.ino b/examples/ModemMqttsExample/ModemMqttsExample.ino index 4ed4e9a..5fa95ec 100644 --- a/examples/ModemMqttsExample/ModemMqttsExample.ino +++ b/examples/ModemMqttsExample/ModemMqttsExample.ino @@ -291,7 +291,7 @@ void setup() /********************************* * step 5 : Wait for the network registration to succeed ***********************************/ - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); if (s != REG_OK_HOME && s != REG_OK_ROAMING) { diff --git a/examples/SIM7080G-ATT-NB-IOT-AWS-MQTT/SIM7080G-ATT-NB-IOT-AWS-MQTT.ino b/examples/SIM7080G-ATT-NB-IOT-AWS-MQTT/SIM7080G-ATT-NB-IOT-AWS-MQTT.ino index a076d71..67d804b 100644 --- a/examples/SIM7080G-ATT-NB-IOT-AWS-MQTT/SIM7080G-ATT-NB-IOT-AWS-MQTT.ino +++ b/examples/SIM7080G-ATT-NB-IOT-AWS-MQTT/SIM7080G-ATT-NB-IOT-AWS-MQTT.ino @@ -274,7 +274,7 @@ void setup() Serial.println("............................................................................Step 5"); Serial.println("Start to perform network registration, configure APN and ping 8.8.8.8"); - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus(); diff --git a/examples/SIM7080G-ATT-NB-IOT-HTTP-HTTPS/SIM7080G-ATT-NB-IOT-HTTP-HTTPS.ino b/examples/SIM7080G-ATT-NB-IOT-HTTP-HTTPS/SIM7080G-ATT-NB-IOT-HTTP-HTTPS.ino index cbacba6..f3dc575 100644 --- a/examples/SIM7080G-ATT-NB-IOT-HTTP-HTTPS/SIM7080G-ATT-NB-IOT-HTTP-HTTPS.ino +++ b/examples/SIM7080G-ATT-NB-IOT-HTTP-HTTPS/SIM7080G-ATT-NB-IOT-HTTP-HTTPS.ino @@ -192,7 +192,7 @@ void setup() modem.sendAT("+CGDCONT=1,\"IP\",\"m2mNB16.com.attz\""); modem.waitResponse(); - RegStatus s; + SIM70xxRegStatus s; do { s = modem.getRegistrationStatus();