Open martinberlin opened 2 years ago
Works but this was just an experimental test. Not willing to create my own protocol for this when L2CAP exists. It's just not implemented for BLE and exists just a BT-Classic example (ESP32) S3 does only have BLE and not bluetooth classic on board.
@UsefulElectronics one day you need to try BLE to receive the image. Just a JPG example that decompresses in the ESP32. It works but is a bit slow. Still a nice alternative way to refresh the display without the need of WiFi
Sure I will try it out !
Linked to the server side ESP32S3 BLE server, who will receive the image: https://github.com/martinberlin/epaper-weather-station/issues/5
The idea is to make a copy of route: /backend/screen/ble_send/
And make a simple Javascript endpoint that will:
It needs to be a compressed JPG otherwise the BLE payload will be quite bulky and probably hard to be sent to a device that is not very close to the Client.