Skip to content

Commit 973d647

Browse files
committed
Fix readStream returns false as expected http 200 when stream event payload does not contains http header
1 parent 1d20ce9 commit 973d647

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Firebase RTDB Arduino Client for ARM/AVR WIFI Dev Boards
22

33

4-
Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFiNINA library, v 1.0.7
4+
Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFiNINA library, v 1.0.8
55

66
This client library provides the most reliable operations for read, store, update Firebase RTDB through REST API.
77

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name=Firebase Arduino based on WiFiNINA
22

3-
version=1.0.7
3+
version=1.0.8
44

55
author=Mobizt
66

77
maintainer=Mobizt <[email protected]>
88

99
sentence=Google Firebase Realtime Database Arduino Client Library for Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000 and Arduino UNO WiFi Rev.2.
1010

11-
paragraph=This client library provides the most reliable operations for read, store, update and delete the Firebase Realtime database data.
11+
paragraph=This client library provides the most reliable operations for read, store, update and delete the Firebase Realtime database.
1212

1313
category=Communication
1414

src/Firebase_Arduino_WiFiNINA.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFiNINA library, version 1.0.7
2+
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Dev Boards based on WiFiNINA library, version 1.0.8
33
*
44
*
55
* This library required WiFiNINA Library to be installed.
66
* https://github.com/arduino-libraries/WiFiNINA
77
*
8-
* August 7, 2019
8+
* August 9, 2019
99
*
1010
* Feature Added:
1111
*
@@ -963,7 +963,7 @@ bool Firebase_Arduino_WiFiNINA::getServerResponse(FirebaseData &dataObj)
963963

964964
if (dataObj._httpCode == HTTPC_ERROR_READ_TIMEOUT)
965965
return false;
966-
return dataObj._httpCode == _HTTP_CODE_OK;
966+
return dataObj._httpCode == _HTTP_CODE_OK || dataObj._httpCode == -1000;
967967

968968
EXIT_3:
969969

src/Firebase_Arduino_WiFiNINA.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFiNINA library, version 1.0.7
2+
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Dev Boards based on WiFiNINA library, version 1.0.8
33
*
44
*
55
* This library required WiFiNINA Library to be installed.
66
* https://github.com/arduino-libraries/WiFiNINA
77
*
8-
* August 7, 2019
8+
* August 9, 2019
99
*
1010
* Feature Added:
1111
*

0 commit comments

Comments
 (0)