asterics / esp32_mouse_keyboard

ESP32 implementation for HID over GATT Keyboard and Mouse (Bluetooth Low Energy). Including serial API for external modules (similar to Adafruit EZKey HID)
GNU General Public License v3.0
788 stars 111 forks source link

Automatic Firmware update not working #56

Closed ChrisVeigl closed 2 years ago

ChrisVeigl commented 2 years ago

the automatic firmware update did not work in my recent tests, the update process is stuck at 1% and then fails. (tested with firmware version 0.3.0 and Win10/Win8.1/Linux PCs running the current WebGUI https://flipmouse.asterics.eu/index_fm.htm#tabGeneral)

benjaminaigner commented 2 years ago

If the GUI stucks at 1%, it is waiting for the OTA:ready message from the ESP32.

This message is sent, when:

If there is no bootloader flashed on the ESP32, the updating process is not working at all, what was your problem in this case.

A short note: If the $UG command is sent, the current firmware (esp32_mouse_keyboard) will be marked invalid, therefor the updating process is necessary!