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

ESP32 Using BLE and Firebase same time causes memory error. #117

Closed 0100101101001011 closed 3 years ago

0100101101001011 commented 3 years ago

Describe the bug When I try to use Arduino BLE and this library at the same time. The esp32 crashes.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

IDE and its version:

ESP8266 Arduino Core SDK version

Additional context Add any other context about the problem here.

mobizt commented 3 years ago

Please search google How to use Bluetooth and WiFi at the same time? It's currently not possible unless Espressif updates the firmware.

mobizt commented 3 years ago

If the Bluetooth and WiFi coexistent is possible, see the FAQ 5.3.2 https://www.espressif.com/sites/default/files/documentation/ESP32_FAQs__EN.pdf

It needs to config in menuconfig under ESP-IDF.

mobizt commented 3 years ago

While Bluetooth is enable, please try the example in Arduino IDE examples about HTTPS request. If you get the exception error, you can't use both WiFi and Bluetooth simultaneously as you don't have enough memory.