Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mobizt committed Aug 7, 2019
1 parent 6a1a4e1 commit 0589923
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards
based on WiFi101 library, v 1.0.6
based on WiFi101 library, v 1.0.7

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

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 based on WiFi101

version=1.0.6
version=1.0.7

author=Mobizt

Expand Down
4 changes: 3 additions & 1 deletion src/Firebase_Arduino_WiFi101.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFi101 library, version 1.0.5
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFi101 library, version 1.0.7
*
*
* This library required WiFi101 Library to be installed.
Expand Down Expand Up @@ -727,6 +727,7 @@ bool Firebase_Arduino_WiFi101::getServerResponse(FirebaseData &dataObj)
hasEvent = true;
isStream = true;
dataObj._httpCode = _HTTP_CODE_OK;
memset(lineBuf, 0, FIREBASE_RESPONSE_SIZE);
}

strCopy_T(fstr, 14, true, 60);
Expand All @@ -741,6 +742,7 @@ bool Firebase_Arduino_WiFi101::getServerResponse(FirebaseData &dataObj)
strncpy(tmp, lineBuf + p1 + strlen_P(C_STR_14), strlen(lineBuf) - p1 - strlen_P(C_STR_14));
memset(lineBuf, 0, FIREBASE_RESPONSE_SIZE);
strcpy(lineBuf, tmp);
break;
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions src/Firebase_Arduino_WiFi101.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFi101 library, version 1.0.5
* Google's Firebase Realtime Database Arduino Library for ARM/AVR WIFI Development Boards based on WiFi101 library, version 1.0.7
*
*
* This library required WiFi101 Library to be installed.
Expand Down Expand Up @@ -978,7 +978,7 @@ class FirebaseData

QueryFilter queryFilter;

void end();


protected:
bool _isStreamTimeout;
Expand Down Expand Up @@ -1025,6 +1025,8 @@ class FirebaseData

void strCopy_T(char *buf, uint16_t index, bool empty = false, uint16_t size = 0);

void end();

friend Firebase_Arduino_WiFi101;
};

Expand Down

0 comments on commit 0589923

Please sign in to comment.