1
1
/* *
2
- * Created July 6 , 2024
2
+ * Created Sepyember 17 , 2024
3
3
*
4
4
* For MCU build target (CORE_ARDUINO_XXXX), see Options.h.
5
5
*
@@ -152,7 +152,7 @@ typedef void (*NetworkStatusCallback)(bool &);
152
152
153
153
#define FIREBASE_WIFI_IS_AVAILABLE
154
154
155
- #if defined(ESP32) || defined(ARDUINO_RASPBERRY_PI_PICO_W) || defined(ARDUINO_GIGA) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
155
+ #if defined(ESP32) || defined(ARDUINO_RASPBERRY_PI_PICO_W) || defined(ARDUINO_GIGA) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_OPTA)
156
156
#include < WiFi.h>
157
157
#elif defined(ESP8266)
158
158
#include < ESP8266WiFi.h>
@@ -174,7 +174,8 @@ typedef void (*NetworkStatusCallback)(bool &);
174
174
defined(ARDUINO_PORTENTA_C33) || \
175
175
defined(ARDUINO_PORTENTA_H7_M7) || \
176
176
defined(ARDUINO_PORTENTA_H7_M4) || \
177
- defined(ARDUINO_PORTENTA_X8)
177
+ defined(ARDUINO_PORTENTA_X8) || \
178
+ defined(ARDUINO_OPTA)
178
179
179
180
#if !defined(FIREBASE_HAS_ARDUINO_WIFISSLCLIENT)
180
181
#define FIREBASE_HAS_ARDUINO_WIFISSLCLIENT
@@ -196,7 +197,9 @@ typedef void (*NetworkStatusCallback)(bool &);
196
197
!defined(ARDUINO_NANO_RP2040_CONNECT) && \
197
198
!defined(ARDUINO_GIGA) && \
198
199
!defined(ARDUINO_PORTENTA_H7_M7) && \
199
- !defined(ARDUINO_PORTENTA_H7_M4)
200
+ !defined(ARDUINO_PORTENTA_H7_M4) && \
201
+ !defined(ARDUINO_OPTA)
202
+
200
203
#define FIREBASE_HAS_WIFI_DISCONNECT
201
204
#endif
202
205
@@ -392,7 +395,7 @@ typedef struct firebase_client_static_address
392
395
public:
393
396
/* *
394
397
* The Firebase Client Static address provider class.
395
- *
398
+ *
396
399
* @param ipAddress The static IP.
397
400
* @param netMask The subnet IP.
398
401
* @param defaultGateway The default gateway IP.
@@ -408,7 +411,7 @@ typedef struct firebase_client_static_address
408
411
this ->optional = optional;
409
412
};
410
413
411
- firebase_client_static_address (){};
414
+ firebase_client_static_address () {};
412
415
413
416
private:
414
417
IPAddress ipAddress;
0 commit comments