Skip to content

Commit

Permalink
Minor update for internal client.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Mar 1, 2024
1 parent f17ea76 commit c382967
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 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.11",
"version": "4.4.12",
"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.11
version=4.4.12

author=Mobizt

Expand Down
10 changes: 7 additions & 3 deletions src/client/FB_TCP_Client.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Firebase TCP Client v1.0.3
* Firebase TCP Client v1.0.4
*
* Created December 27, 2023
* Created March 1, 2024
*
* The MIT License (MIT)
* Copyright (c) 2022 K. Suwatchai (Mobizt)
Expand Down Expand Up @@ -32,7 +32,11 @@
#include "./FB_Const.h"
#include "./mbfs/MB_FS.h"
#include "./FB_Utils.h"
#if __has_include(<ESP_SSLClient.h>)
#include <ESP_SSLClient.h>
#else
#include "./client/SSLClient/ESP_SSLClient.h"
#endif
#include "./FB_Network.h"

#if defined(ESP32)
Expand Down Expand Up @@ -658,7 +662,7 @@ class Firebase_TCP_Client : public Client

size_t write(const uint8_t *data, size_t size)
{

if (!_tcp_client)
return setError(FIREBASE_ERROR_TCP_CLIENT_NOT_INITIALIZED);

Expand Down
5 changes: 2 additions & 3 deletions src/core/Firebase_Client_Version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#ifndef FIREBASE_CLIENT_VERSION
#define FIREBASE_CLIENT_VERSION "4.4.11"
#define FIREBASE_CLIENT_VERSION_NUM 40411
#define FIREBASE_CLIENT_VERSION "4.4.12"
#define FIREBASE_CLIENT_VERSION_NUM 40412

#define FIREBASE_CLIENT_VERSION_CHECK(ver) (true)
#endif

0 comments on commit c382967

Please sign in to comment.