Skip to content

Commit

Permalink
Fix WiFiClient issue in ESP32.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Nov 19, 2023
1 parent bc89980 commit a3701a0
Show file tree
Hide file tree
Showing 41 changed files with 5 additions and 158 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Firebase Arduino Client Library for ESP8266 and ESP32",
"version": "4.4.8",
"version": "4.4.9",
"keywords": "communication, REST, esp32, esp8266, arduino",
"description": "The library supports Firebase products e.g. Realtime database, Cloud Firestore database, Firebase Storage and Google Cloud Storage, Cloud Functions for Firebase and Cloud Messaging. The library also supported other Arduino devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name=Firebase Arduino Client Library for ESP8266 and ESP32

version=4.4.8
version=4.4.9

author=Mobizt

Expand Down
4 changes: 0 additions & 4 deletions src/FB_Const.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Created September 14, 2023
Expand Down
4 changes: 0 additions & 4 deletions src/FB_Error.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Created September 5, 2023
Expand Down
4 changes: 0 additions & 4 deletions src/FB_Network.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Created September 14, 2023
Expand Down
4 changes: 0 additions & 4 deletions src/FB_Utils.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
*
Expand Down
4 changes: 0 additions & 4 deletions src/Firebase.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* The Firebase class, Firebase.cpp v1.2.8
Expand Down
3 changes: 0 additions & 3 deletions src/Firebase.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* The Firebase class, Firebase.h v1.2.8
Expand Down
4 changes: 0 additions & 4 deletions src/FirebaseFS.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

#ifndef FirebaseFS_H
#define FirebaseFS_H
Expand Down
4 changes: 0 additions & 4 deletions src/core/FirebaseCore.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Token Management class, FirebaseCore.cpp version 1.0.1
Expand Down
4 changes: 0 additions & 4 deletions src/core/FirebaseCore.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Token Management class, FirebaseCore.h version 1.0.1
Expand Down
7 changes: 3 additions & 4 deletions src/core/Firebase_Client_Version.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef FIREBASE_CLIENT_VERSION
#define FIREBASE_CLIENT_VERSION "4.4.8"
#define FIREBASE_CLIENT_VERSION_NUM 40408
#define FIREBASE_CLIENT_VERSION "4.4.9"
#define FIREBASE_CLIENT_VERSION_NUM 40409

/* The inconsistent file version checking to prevent mixed versions compilation. */
#define FIREBASE_CLIENT_VERSION_CHECK(ver) (ver == FIREBASE_CLIENT_VERSION_NUM)
#define FIREBASE_CLIENT_VERSION_CHECK(ver) (true)
#endif
4 changes: 0 additions & 4 deletions src/firestore/FB_Firestore.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Firestore class, Forestore.cpp version 1.2.10
Expand Down
4 changes: 0 additions & 4 deletions src/firestore/FB_Firestore.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Firestore class, Forestore.h version 1.2.10
Expand Down
4 changes: 0 additions & 4 deletions src/functions/FB_Functions.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Functions class, Functions.cpp version 1.1.26
Expand Down
4 changes: 0 additions & 4 deletions src/functions/FB_Functions.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Functions class, Functions.h version 1.1.26
Expand Down
4 changes: 0 additions & 4 deletions src/functions/FunctionsConfig.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Functions Config class, FunctionsConfig.cpp version 1.0.10
Expand Down
4 changes: 0 additions & 4 deletions src/functions/FunctionsConfig.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Functions Config class, FunctionsConfig.h version 1.0.10
Expand Down
4 changes: 0 additions & 4 deletions src/functions/PocicyBuilder.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's IAM Policy Builder class, PolicyBuilder.cpp version 1.0.9
Expand Down
4 changes: 0 additions & 4 deletions src/functions/PolicyBuilder.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's IAM Policy Builder class, PolicyBuilder.h version 1.0.9
Expand Down
4 changes: 0 additions & 4 deletions src/gcs/GCS.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Storage class, GCS.cpp version 1.2.13
Expand Down
4 changes: 0 additions & 4 deletions src/gcs/GCS.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Cloud Storage class, GCS.h version 1.2.13
Expand Down
4 changes: 0 additions & 4 deletions src/message/FCM.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Cloud Messaging class, FCM.cpp version 1.1.0
Expand Down
4 changes: 0 additions & 4 deletions src/message/FCM.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Cloud Messaging class, FCM.h version 1.1.0
Expand Down
5 changes: 0 additions & 5 deletions src/message/LFCM.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

#include <Arduino.h>
#include "./mbfs/MB_MCU.h"
#include "./FirebaseFS.h"
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/FB_RTDB.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Realtime Database class, FB_RTDB.cpp version 2.1.1
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/FB_RTDB.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Realtime Database class, FB_RTDB.h version 2.1.1
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/QueryFilter.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase QueryFilter class, QueryFilter.cpp version 1.0.7
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/QueryFilter.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase QueryFilter class, QueryFilter.h version 1.0.7
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/QueueInfo.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase QueueInfo class, QueueInfo.cpp version 1.0.6
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/QueueInfo.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase QueueInfo class, QueueInfo.h version 1.0.6
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/QueueManager.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase QueueManager class, QueueManager.cpp version 1.0.5
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/QueueManager.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase QueueManager class, QueueManager.h version 1.0.5
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/stream/FB_MP_Stream.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase MultiPathStream class, FB_MP_Stream.cpp version 1.1.7
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/stream/FB_MP_Stream.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase MultiPathStream class, FB_MP_Stream.h version 1.1.7
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/stream/FB_Stream.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Stream class, FB_Stream.cpp version 1.1.8
Expand Down
4 changes: 0 additions & 4 deletions src/rtdb/stream/FB_Stream.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Stream class, FB_Stream.h version 1.1.8
Expand Down
4 changes: 0 additions & 4 deletions src/session/FB_Session.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Data class, FB_Session.cpp version 1.4.1
Expand Down
4 changes: 0 additions & 4 deletions src/session/FB_Session.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Data class, FB_Session.h version 1.4.1
Expand Down
4 changes: 0 additions & 4 deletions src/storage/FCS.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Storage class, FCS.cpp version 1.2.13
Expand Down
4 changes: 0 additions & 4 deletions src/storage/FCS.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#include "./core/Firebase_Client_Version.h"
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
#error "Mixed versions compilation."
#endif

/**
* Google's Firebase Storage class, FCS.h version 1.2.13
Expand Down

0 comments on commit a3701a0

Please sign in to comment.