psas/launch-tower-comm

Twisted based SSL networking

Opened this issue · 0 comments

We're moving networking code from the Phidgets webservice to our own Twisted based code. This involves an SSL based Secure Command Channel for setting relays and a UDP/PSASMessage telemetry feed for non-critical information. This issue deals with the Secure Command Channel.

Over the SCC the Kivy app sends set relay commands (shorepower, igniter) and a heartbeat containing an as yet undecided message to the LTC. The LTC sends a heartbeat containing relay states, relay changed events, and set relay command failed to the Kivy app.

The Kivy app should also display some sort of connection information about the SSL link. Connected/disconnected for sure, but also packet loss, etc?