Frontend usart interface
USART protocol for talking with frontend
HELP
- debug command, prints out command and description of usage for all commands registered
Example format (THESE ARENT REAL COMMANDS)
help: prints command output and description for all commands dump_debug: starts writing raw adc data to terminal listknownmessages_gui: returns a list of indices of messages the board knows about
list_indicies_of_known_messages
A returns a space separated list of indicies of every index of every known messages. Each message recieved/put out gets a per-board index.
Example format
print_message [int n]
Prints a pgp-like formatted message stored in the stm's memeory
send_message_to_board
Puts the board into uart multi-line receiving mode, interface will send the string content of a message, maybe format it to handle required feilds.
The gui will then write out the message content to be sent out by the board
load_callsign_into_board
Puts board into one line uart receiving mode, then the gui enters a callsign as text, to be sent out at the end of each message per fcc