| GET |
/ |
the main page's HTML |
| GET |
/api/latest |
the latest decoded record (includes {name}_raw, the unsigned raw integer) |
| GET |
/api/history?n=N |
the most recent N records (omit for all, used by Plotly) |
| GET |
/api/status |
connection state, frame counts, log, latest HEX, raw text lines, CSV path, current format |
| GET |
/api/config |
UI update rate, chart length, color table, list of valid formats |
| GET |
/api/packet_def?format= |
field definitions (without formulas); omitted = the union of every format, a length = only that format |
| GET |
/api/ports |
list of available COM Ports |
| POST |
/api/connect |
connect to a COM Port { port, baud } |
| POST |
/api/disconnect |
disconnect |
| POST |
/api/demo |
start Demo mode |
| POST |
/api/replay |
start Replay { path, interval? } (auto-detects the file format) |
| POST |
/api/set_tm_format |
set the packet format (auto or a specific length), takes effect immediately |
| POST |
/api/set_replay_speed |
set the replay interval in seconds, takes effect immediately even during playback |
| POST |
/api/export_csv |
opens a save dialog; switches the CSV path immediately |
| POST |
/api/choose_replay_path |
opens an open-file dialog; returns the chosen path (doesn't start replay) |
| POST |
/api/start_raw_log / /api/stop_raw_log |
start / stop recording the raw text txt |
| POST |
/api/clear_db |
clear the in-memory data |