mobizt / Firebase-ESP32

[DEPRECATED]🔥 Firebase RTDB Arduino Library for ESP32. The complete, fast, secured and reliable Firebase Arduino client library that supports CRUD (create, read, update, delete) and Stream operations.
MIT License
415 stars 118 forks source link

HELP Stream callback on resume #115

Closed vladigg-ruse closed 3 years ago

vladigg-ruse commented 3 years ago

Hi, I have a problem!

When I start ESP32 for the first time and successful boot, MCU check and read path in Firebase.setStreamCallback function. Everything is OK, but when I shutdown the router and ESP32 lost connectivity, MCU start timeout callback and print to serial "Stream timeout, resume streaming..." and again and again. In this moment I change key or value in this stream callback path and start again router. After router boot, ESP32 connect to WiFi end timeoutcallback print stop, but MCU does not check stream callback path like first boot and does not know for any change in this path.

Please help me!

mobizt commented 3 years ago

It's possible blocked by your other codes or delay if you don't use the stream callback.

Try with the stream example from the situation that you've tested the router.

vladigg-ruse commented 3 years ago

I will check today and I will write result with example

vladigg-ruse commented 3 years ago

The problem is in my code. Everything is OK!

Thank You for fast response!