Add macOS simulator, unified console and on-device CW decoding #10

Merged
DM1AR merged 2 commits from DK9BT/ENAN:master into master 2026-11-12 14:41:11 +00:00
Collaborator

Simulator:

  • Add an SDL2/LVGL desktop simulator using the existing display, keyer,
    sidetone and message playback logic, with a 240x320 display.
  • Support mouse input, K/M paddle keys, N for messages and simulated sleep.
  • Provide local WebSocket endpoints for settings, setup and keying telemetry,
    including configurable sidetone and local message storage.
  • Acknowledge telemetry WebSocket close frames and write messages through a
    temporary file before replacing the previous store.
  • Add simulator build instructions and storage and WebSocket tests.

Browser console:

  • Add a standalone console combining setup, paddle monitor, decoder and Koch
    trainer with shared connection controls and optional browser sidetone.
  • Generate the console from the existing individual browser tools and support
    localhost:8765 in the standalone setup page.
  • Keep the existing HTML decoder implementation unchanged.

On-device display:

  • Decode locally generated keying via a bounded, nonblocking event queue,
    including straight-key timing based on the configured speed.
  • Show decoded text beside the battery indicator in place of the UTC clock;
    restore the clock after ten seconds without a text update.
  • Add host tests for decoding, timing rollover, queue overflow and display
    placement and timeout behavior.

Documentation and validation:

  • Document the console, simulator controls and limitations, local decoding,
    regeneration workflow and outstanding hardware validation in German and
    English.
  • Passed ten applicable host tests, the simulator storage test, existing
    browser and Koch tests, and the simulator WebSocket close integration test.
  • The existing straight_key_configuration test remains blocked by stale GPIO
    values in its test stub. The new firmware has not been built with ESP-IDF
    or tested on physical hardware.
Simulator: - Add an SDL2/LVGL desktop simulator using the existing display, keyer, sidetone and message playback logic, with a 240x320 display. - Support mouse input, K/M paddle keys, N for messages and simulated sleep. - Provide local WebSocket endpoints for settings, setup and keying telemetry, including configurable sidetone and local message storage. - Acknowledge telemetry WebSocket close frames and write messages through a temporary file before replacing the previous store. - Add simulator build instructions and storage and WebSocket tests. Browser console: - Add a standalone console combining setup, paddle monitor, decoder and Koch trainer with shared connection controls and optional browser sidetone. - Generate the console from the existing individual browser tools and support localhost:8765 in the standalone setup page. - Keep the existing HTML decoder implementation unchanged. On-device display: - Decode locally generated keying via a bounded, nonblocking event queue, including straight-key timing based on the configured speed. - Show decoded text beside the battery indicator in place of the UTC clock; restore the clock after ten seconds without a text update. - Add host tests for decoding, timing rollover, queue overflow and display placement and timeout behavior. Documentation and validation: - Document the console, simulator controls and limitations, local decoding, regeneration workflow and outstanding hardware validation in German and English. - Passed ten applicable host tests, the simulator storage test, existing browser and Koch tests, and the simulator WebSocket close integration test. - The existing straight_key_configuration test remains blocked by stale GPIO values in its test stub. The new firmware has not been built with ESP-IDF or tested on physical hardware.
Simulator:
- Add an SDL2/LVGL desktop simulator using the existing display, keyer,
  sidetone and message playback logic, with a 240x320 display.
- Support mouse input, K/M paddle keys, N for messages and simulated sleep.
- Provide local WebSocket endpoints for settings, setup and keying telemetry,
  including configurable sidetone and local message storage.
- Acknowledge telemetry WebSocket close frames and write messages through a
  temporary file before replacing the previous store.
- Add simulator build instructions and storage and WebSocket tests.

Browser console:
- Add a standalone console combining setup, paddle monitor, decoder and Koch
  trainer with shared connection controls and optional browser sidetone.
- Generate the console from the existing individual browser tools and support
  localhost:8765 in the standalone setup page.
- Keep the existing HTML decoder implementation unchanged.

On-device display:
- Decode locally generated keying via a bounded, nonblocking event queue,
  including straight-key timing based on the configured speed.
- Show decoded text beside the battery indicator in place of the UTC clock;
  restore the clock after ten seconds without a text update.
- Add host tests for decoding, timing rollover, queue overflow and display
  placement and timeout behavior.

Documentation and validation:
- Document the console, simulator controls and limitations, local decoding,
  regeneration workflow and outstanding hardware validation in German and
  English.
- Passed ten applicable host tests, the simulator storage test, existing
  browser and Koch tests, and the simulator WebSocket close integration test.
- The existing straight_key_configuration test remains blocked by stale GPIO
  values in its test stub. The new firmware has not been built with ESP-IDF
  or tested on physical hardware.
DM1AR merged commit 201ca81695 into master 2026-11-12 14:41:11 +00:00
DM1AR self-assigned this 2026-11-12 14:41:31 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
DM1AR/ENAN!10
No description provided.