Skip to content

v0.4.0

Pre-release
Pre-release

Choose a tag to compare

@ilyakruchinin ilyakruchinin released this 14 Jul 12:40
· 265 commits to main since this release
50c4b1d

v0.4.0

Brightness

  • Reworked LCD brightness slider to 8 logarithmic steps (0.1, 0.2, 0.5, 1, 2, 5, 10, 20) for finer control at low levels
  • Lowered minimum brightness from 0.5% to 0.1%

EDF data accuracy

  • Extensive work to match AS11-generated EDF files as closely as possible
  • ESP-generated EDFs are now nearly identical to the AS11 gold standard, with only minor quantisation and rounding differences inherent to the BLE data path
  • Aligned BRP/PLD/SA2 timestamps and data range to AS11 MaskOn/MaskOff behavior
  • STR.edf timestamps corrected to NTP time with per-day clock drift compensation
  • Short sessions now produce header-only EDFs matching AS11 convention

Reliability

  • Atomic write-to-temp-then-rename for all EDF files to prevent corruption from power loss or crashes
  • Automatic BLE reconnect on unexpected disconnect to prevent missed TherapyStop events
  • Fixed session gluing and mutex deadlock bugs in session writer
  • Added unlink-before-rename for FATFS compatibility and improved error logging