Skip to content

Commit

Permalink
Update examples #81 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Oct 14, 2024
1 parent e555ec8 commit 1026dcb
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/AllFunction/modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void setuoModem()
return ;
}

RegStatus s;
SIM70xxRegStatus s;
do {
s = modem.getRegistrationStatus();
int16_t sq = modem.getSignalQuality();
Expand Down
2 changes: 1 addition & 1 deletion examples/BIGIOT_Gnss_Upload/BIGIOT_Gnss_Upload.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion examples/MinimalModemSleepMode/MinimalModemSleepMode.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion examples/ModemMqttPulishExample/ModemMqttPulishExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion examples/ModemMqttsAuthExample/ModemMqttsAuthExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion examples/ModemMqttsExample/ModemMqttsExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void setup()
modem.sendAT("+CGDCONT=1,\"IP\",\"m2mNB16.com.attz\"");
modem.waitResponse();

RegStatus s;
SIM70xxRegStatus s;
do
{
s = modem.getRegistrationStatus();
Expand Down

0 comments on commit 1026dcb

Please sign in to comment.