Closed linktoahmad closed 2 years ago
We have discussions section, you should use it first.
This is the issue of memory allocation which you should check the free heap and debug before sending the data.
The internal WiFiClientSecure with mbedTLS (instantiated in FirebaseData object) requires minimum 110K memory to allocate the buffer for internal usage.
If your device free memory is less than this, the SSL handshake will fail and the connection lost may be reported.
Your device can be crashed as the free heap is below 70k.
You also should learn how to use markdown for styling the code for better display and easy to everyone read.
You also need to check internet accessibility with Ping or HTTPS request that integrated to your existing code.
To access the internet via the router and your device operated in AP server mode, WiFi mode should be WiFi_AP_STA instead of WiFi_AP.
I tried the firebase alone it works but when I place the firebase in this code it shows the error " connection lost " but other things work fine..
i just want to send the IP to firebase
the code