CarletonURocketry / ground-station-ui

The ground control system UI for the CUInSpace rocket.
7 stars 10 forks source link

Include dropdown of available COM ports #27

Closed linguini1 closed 4 months ago

linguini1 commented 1 year ago

Problem

The telemetry server on the ground-station repo is able to provide a list of available COM ports in its websocket JSON data. This is necessary for starting the server connection to the ground station board using the websocket commend serial rn2483_radio connect <COMx>.

Proposed solution

Currently, the UI does not have a way to send this initial connection command. A list of available COM ports should be added so that when a user selects one, it sends the websocket command for connecting to the serial port. After this command, the selection menu could disappear until brought up again (should user be able to bring it up, should it only be brought up initially, should it be brought up every time connection is severed with the telemetry server?).

TASelwyn commented 8 months ago

To note, if you are going to run the serial rn2483_radio connect COM1 command and you are already connecting/connected to one, you MUST issue a serial rn2483_radio disconnect command! The UI must know this as it will need to dispatch a disconnect before attempting another connection.

EliasJRH commented 4 months ago

Merge stuff removed this rip