mobizt / FirebaseClient

🔥Async Firebase Client for Arduino. Supports Realtime Database, Cloud Firestore Database, Firebase Storage, Cloud Messaging, Google Cloud Functions and Google Cloud Storage.
MIT License
116 stars 6 forks source link

Updating from old Library: where is FirebaseData::httpConnected() gone #152

Closed JoergTiedemann closed 3 weeks ago

JoergTiedemann commented 3 weeks ago

Hi I'm updatedating from old library Firebase ESP32 Client I use the lib for ESP32 in sync mode Great job, a lot of thinks to do but it works and it seems to be easier to use than before One Question: In the old library I have had a function FirebaseData::httpConnected to determine an existing connection. How is this function gone ? or how can i determine a lost connection to firebase realtime database using sync mode ? I'm a little confused how to solve in sync mode because I didn't have any callback functions I've started from examle Realtimedatabase/sync/Set Any help will be great and useful

mobizt commented 3 weeks ago

You can check the connection status from your SSL Client.

mobizt commented 3 weeks ago

There is no callback for sync task. It is the traditional embedded programming.

JoergTiedemann commented 2 weeks ago

Works perfectly thanks for your help