-
Hello, In the examples FirebaseJson/Client/Firebase/Firebase.ino There is a 15 second wait period between connecting to the firebase database. (values stored in sendDataPrevMillis) Can it be reduced to 2 seconds? What is the minimum interval time we need to wait before we can reconnect to the database? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, that is only for demonstration for how to use FirebaseJson. |
Beta Was this translation helpful? Give feedback.
-
The connection session was kept open since it was connected to server as the FirebaseData object defined globally. The time for data transmission for each request is payload and header size dependent. |
Beta Was this translation helpful? Give feedback.
The connection session was kept open since it was connected to server as the FirebaseData object defined globally.
Firebase-ESP-Client/examples/FirebaseJson/Client/Firebase/Firebase.ino
Lines 44 to 55 in 0d89ed4
The time for data transmission for each request is payload and header size dependent.
https://github.com/mobizt/Firebase-ESP-Client#speed-of-data-transfer