Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 978 Bytes

File metadata and controls

24 lines (18 loc) · 978 Bytes

Goal

Port the firmware to SenseCAP Watcher while preserving the existing Agora RTSA, protocol, session, Wi-Fi, and local server flow.

Done When

  • pio run -e sensecap-watcher builds successfully.
  • The target identifies as sensecap-watcher.
  • The Watcher uses 32 MB flash, octal PSRAM, and the Watcher partition layout.
  • The Watcher BSP owns audio, display, wheel-button input, IO expander, and power-rail setup.
  • Short-pressing the wheel button toggles agent start/stop.
  • The LVGL display shows idle, recording, playback, and connection state.
  • G.711A remains the default first-pass codec.
  • Secrets and server URLs remain in ignored local config files.

Hardware Smoke Test

After flashing to a Watcher:

  • Boot logs show Watcher target, Wi-Fi, time sync, protocol config, and RTSA join.
  • The 412x412 UI appears.
  • Wheel button starts and stops the agent.
  • Microphone frames are sent continuously while recording.
  • Remote audio plays through the speaker.