Skip to content

0.5.0

Latest

Choose a tag to compare

@BushlanovDev BushlanovDev released this 21 Aug 05:59
· 12 commits to main since this release
0a36de6

Robustness & fixes

  • Input validation everywhere: baudrate, mode and device name are validated on all input paths (BLE config characteristics, web UI) and when loaded from NVS - invalid stored values now fall back to safe defaults instead of corrupting the config.
  • BLE connection handling reworked: telemetry notifications are sent only after the client actually subscribes, and targeted at the active connection handle. Frames exceeding the negotiated MTU are dropped (with a one-time warning) instead of being silently truncated. The fast connection interval (7.5 ms) is now requested after GATT discovery completes rather than immediately on connect.
  • Wi-Fi WebSocket: the single-client policy is now enforced explicitly - a new client kicks the previous one; stale clients are cleaned up periodically.
  • Deferred reboots: settings changes and OTA completion no longer restart from inside the request handler - the restart is deferred to the main loop so the HTTP/BLE response is delivered first.
  • BOOT button (C3): proper debouncing with press/release detection - no more accidental BLE↔WEB mode flips from contact bounce.
  • Stale UART data is flushed and the CRSF parser reset on client connect, so no garbage first frame from data received while idle.
  • OTA: update size is validated; final Update.end() is no longer forced, so a corrupt upload is rejected instead of being committed.

Changed

  • Device name (BLE name / Wi-Fi SSID) is now limited to 20 printable ASCII haracters (was 31).
  • NimBLEDevice::setPower() migrated to dBm values (NimBLE-Arduino 2.x API).
  • Wi-Fi AP TX power is now applied on the AP-started event.
  • Platform pinned to espressif32 @ 7.0.1; dependencies updated: NimBLE-Arduino 2.5.1, ESPAsyncWebServer 3.12.0.

Internal

  • Code-style pass over src/ per .clang-format; .clang-tidy config added.
  • Removed the Node.js release-packaging script; pre_build_html.py moved to tools/.
  • USB-CDC logging fixed for arduino-esp32 3.x (setDebugOutput, bounded while(!Serial) wait); logging is disabled in release builds.