Skip to content

Using FirebaseClient together with ESP8266HTTPClient #183

Closed Answered by mobizt
nhiennn asked this question in Q&A
Discussion options

You must be logged in to vote

In ESP8266, you don't have enough memory to open two network connections at the same time.

The memory used in WiFiClientSecure for your OTA library is large (> 16k by default).

If you use another WiFiClientSecure used for Firebase, you have to set its buffer size smaller like this.

ssl_client1.setBufferSizes(4096, 1024);

Or you have to stop Firebase before doing OTA and resume it after.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@mobizt
Comment options

@mobizt
Comment options

@mobizt
Comment options

@mobizt
Comment options

@nhiennn
Comment options

Answer selected by nhiennn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants