Skip to content

feat: remote Reboot and Reboot+Reinitialize commands for connected FlexRadio #3334

@w5jwp

Description

@w5jwp

What would you like?

Add two radio management commands accessible from a top-level or dedicated Actions menu (not buried in Settings modals):

  1. Reboot Radio — sends the FlexRadio API radio reboot command, causing the radio to restart its firmware cleanly. Equivalent to a power-cycle from the operator's perspective, without leaving the shack.

  2. Reboot + Reinitialize (Factory Reset) — sends radio reboot initialize (or the equivalent reinitialize variant of the API command), which restarts the radio and resets all configuration to factory defaults. Useful for clearing corrupted profiles, troubleshooting, or provisioning a radio fresh.

Why

Remote operation is one of AetherSDR's primary use cases. When a radio is in a remote location and becomes unresponsive or needs a clean reset, there is currently no way to trigger a reboot from within AetherSDR — the operator must physically power-cycle the radio or use a separate network switch / smart PDU. Both radio reboot and the reinitialize variant are supported by the SmartSDR TCP API, so no firmware change is needed.

How / Protocol hints

The SmartSDR ASCII protocol (TCP port 4992) supports:

radio reboot
radio reboot initialize

Both are fire-and-forget commands — the radio closes the TCP connection immediately and the existing disconnect/reconnect/hotplug path in RadioConnection should handle the reconnect naturally once the radio comes back up.

Implementation sketch:

  • Add void rebootRadio(bool reinitialize) to RadioModel (emits commandReady("radio reboot") or commandReady("radio reboot initialize"))
  • Wire two QActions in MainWindow — one in a top-level Actions menu (or appended to the existing radio/connection menu), each behind a confirmation dialog before firing (especially critical for the factory-reset variant, which is destructive and irreversible)
  • Confirmation dialog for reinitialize should call out explicitly that all radio configuration will be erased
  • Both actions should be disabled/greyed out when no radio is connected

UI suggestion

A top-level Actions menu keeps these visible without burying them in Settings. The reboot+reinitialize action should carry a prominent warning in its confirmation dialog.


  • I used an AI assistant to help structure this request
  • I checked for existing issues covering the same feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIUser interfaceNew FeatureNew feature requestmaintainer-reviewRequires maintainer review before any action is takenprotocolSmartSDR protocolsafetyEquipment protection concern

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions