- Dec 12, 2022
- 357
- 2
I took
You can connect/reconnect. I did not implement code to connect to multiple ESP's and send data to it, but it is quite easy to change the code. If you B4A app doesn't connect anymore check (BT menue) if the ESP has been "paired" by accident (then you can't connect anymore- remove the ESP by hand). I've added a disconnat in B4A before connecting which seems to work, too.
B4R: No libs needed (inline C)
At the start a random BLE name is generated starting with "ESP" (so the B4A app can recognize the ESP). This name is used as the...
برای دیدن لینک ها باید ثبت نام کنید
and added (as on the ESP32 side) AES256 encryption. For some reasons I wasn't able to use SPIFFS and/or WiFi parallel to BLE on the ESP32 side. Maybe you find a reason why this doesn't word (I understand WiFi & BLE using the same antenna, but SPIFFS should work but gives a hard crash when writing a file). First idea was to use it for provisioning (ESP gets the WiFi credentials, save it to SPIFFS and restarts with WiFi).You can connect/reconnect. I did not implement code to connect to multiple ESP's and send data to it, but it is quite easy to change the code. If you B4A app doesn't connect anymore check (BT menue) if the ESP has been "paired" by accident (then you can't connect anymore- remove the ESP by hand). I've added a disconnat in B4A before connecting which seems to work, too.
B4R: No libs needed (inline C)
At the start a random BLE name is generated starting with "ESP" (so the B4A app can recognize the ESP). This name is used as the...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید