Skip to content

Commit

Permalink
Fixed multiPathStream task execution issue #256 and Arduino IDE compi…
Browse files Browse the repository at this point in the history
…ler waring. Update printf functions.
  • Loading branch information
mobizt committed Feb 28, 2022
1 parent f700ab2 commit 59f62ef
Show file tree
Hide file tree
Showing 13 changed files with 332 additions and 329 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Firebase Arduino Client Library for ESP8266 and ESP32


Google's Firebase Arduino Client Library for ESP8266 and ESP32 v3.1.2
Google's Firebase Arduino Client Library for ESP8266 and ESP32 v3.1.3


This library supports ESP8266 and ESP32 MCU from Espressif. The following are platforms in which the libraries are also available (RTDB only).
Expand Down
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": "3.1.2",
"version": "3.1.3",
"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=3.1.2
version=3.1.3

author=Mobizt

Expand Down
8 changes: 5 additions & 3 deletions src/Firebase_ESP_Client.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#ifndef FIREBASE_CLIENT_VERSION
#define FIREBASE_CLIENT_VERSION "3.1.2"
#define FIREBASE_CLIENT_VERSION "3.1.3"
#endif

/**
* Google's Firebase ESP Client Main class, Firebase_ESP_Client.h v3.1.2
* Google's Firebase ESP Client Main class, Firebase_ESP_Client.h v3.1.3
*
* This library supports Espressif ESP8266 and ESP32 MCUs
*
* Created February 28, 2022
*
* Updates:
* - Change files structure.
* - Fixed multiPathStream task execution issue #256.
* - Fixed Arduino IDE compiler waring.
* - Update printf functions.
*
*
* This work is a part of Firebase ESP Client library
Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Firebase Arduino Client Library for ESP8266 and ESP32


Google's Firebase Arduino Client Library for ESP8266 and ESP32 v3.1.2
Google's Firebase Arduino Client Library for ESP8266 and ESP32 v3.1.3


The default filessystem used in the library is flash and SD.
Expand Down
2 changes: 1 addition & 1 deletion src/json/FirebaseJson.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FirebaseJson, version 2.6.12
* FirebaseJson, version 2.6.13
*
* The Easiest Arduino library to parse, create and edit JSON object using a relative path.
*
Expand Down
8 changes: 4 additions & 4 deletions src/json/FirebaseJson.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FirebaseJson, version 2.6.12
* FirebaseJson, version 2.6.13
*
* The Easiest Arduino library to parse, create and edit JSON object using a relative path.
*
Expand Down Expand Up @@ -118,15 +118,15 @@ extern "C"

#elif defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_STM32) || defined(ARDUINO_ARCH_STM32F1) || defined(ARDUINO_ARCH_STM32F4) || defined(__AVR__)

#include "extras/print/printf_alt.h"
#include "extras/print/fb_json_print.h"

extern "C" __attribute__((weak)) void
_putchar_alt(char c)
fb_json_putchar(char c)
{
Serial.print(c);
}

#define Serial_Printf printf_alt
#define Serial_Printf fb_json_printf

#endif

Expand Down
8 changes: 4 additions & 4 deletions src/json/MB_String.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
/**
* Mobizt's SRAM/PSRAM supported String, version 1.2.4
*
* Created February 20, 2022
* Created February 28, 2022
*
* Changes Log
*
*
* v1.2.4
* - Check PSRAM availability before allocating the memory
* - Check PSRAM availability before allocating the memory
*
* v1.2.3
* - Fixed flash string F and PSTR handle
Expand Down Expand Up @@ -71,7 +71,7 @@

#define MB_STRING_MAJOR 1
#define MB_STRING_MINOR 2
#define MB_STRING_PATCH 3
#define MB_STRING_PATCH 4

#if defined(ESP8266) && defined(MMU_EXTERNAL_HEAP) && defined(MB_STRING_USE_PSRAM)
#include <umm_malloc/umm_malloc.h>
Expand Down
Loading

0 comments on commit 59f62ef

Please sign in to comment.