Closed Niltonsf closed 3 years ago
You can't use BLE together with WiFi in Arduino platform unless you used in ESP-IDF with some configuration for switching and supported firmware from Espressif.
It uses the same radio and the flash used for BLE program and library is very huge and exceed used up to 114% space.
Search the google to extend the program space for BLE program.
You can only switch BLE on and WiFI off during get data from BLE and switch WiFi on and BLE of when connect to server.
You may need to reboot for BLE and WiFi switching.
@mobizt Hmm, but for example I have the data set already with SPIFFS, the bluetooth is not connected anymore, and I get this error still. Is it because I didn't create a connection with wifi or it is because of BLE?
You can't enable BLE and WiFi at the same time.
The BLE program when you include the BLE library exceed the program space in flash and may cause the error of user data flash access.
You should try the basic making https client to connect to some server and BLE integration test before.
Hello, how you doing? @mobizt
I have been working with your library and it is working great for now. I just came across an issue I believe. I have created a program with the user sends the USER_EMAIL and the USER_PASSWORD from the bluetooth serial. I manage to get the data and use with the the auth user.email and password. The issue I'm having is, when I attempt to use:
in a function or anywhere in the code I get this error:
My function is called once only in the main page according to my logic, and whenever the arduino RESETs it will be called again:
This error only occurs if I insert those 2 pieces of code.