We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9abcaad commit db7aeeeCopy full SHA for db7aeee
src/Modem.cpp
@@ -127,6 +127,15 @@ void ModemClass::end()
127
}
128
129
130
+void ModemClass::hardReset()
131
+{
132
+ // Hardware pin reset, only use in EMERGENCY
133
+ digitalWrite(_resetPin, HIGH);
134
+ delay(1000); // Datasheet says nothing, so guess we wait one second
135
+ digitalWrite(_resetPin, LOW);
136
+ setVIntPin(SARA_VINT_OFF);
137
+}
138
+
139
void ModemClass::debug()
140
{
141
debug(Serial);
src/Modem.h
@@ -58,6 +58,7 @@ class ModemClass {
58
int noop();
59
int reset();
60
int shutdown();
61
+ void hardReset(); // Hardware pin reset, only use in EMERGENCY
62
int isPowerOn();
63
void setVIntPin(int vIntPin);
64
0 commit comments