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 54ef34c commit deeab59Copy full SHA for deeab59
src/SnapClient.h
@@ -176,6 +176,12 @@ class SnapClient {
176
/// Call from Arduino Loop - to receive and process the audio data
177
bool doLoop() { return p_snapprocessor->doLoop(); }
178
179
+ /// ESP32: WiFiClient: prevent/activate automatic login to Wifi
180
+ void setWiFi(bool flag){ is_wifi = flag;}
181
+
182
+ /// check if we use the WiFiClient
183
+ bool isWiFi() {return is_wifi;}
184
185
protected:
186
const char *TAG = "SnapClient";
187
SnapTime &snap_time = SnapTime::instance();
0 commit comments