oss-slu / oss-slu/PilotDataSynchronization
Send Packet button does not send a packet
@Phlabry is already working on this.
Since Sep 18, 2026.
- Dominant language
- Rust
- Stars
- 4
- Forks
- 8
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 2
Description
Describe the bug
The Send Packet handler stores a timestamp and returns (relay/src/update.rs:183-188). It performs no I/O and queues no message. The last_send_timestamp it writes is never read by relay/src/view.rs, so clicking the button produces no packet and no visible change.
To Reproduce
- Start the relay and connect TCP with a listener running.
- Press
Send Packet. - No packet arrives at the listener and the GUI does not change.
Expected behavior
Clicking sends one packet, which was acceptance criterion 3 of #107.
Additional context
The button only renders as active when baton is connected (relay/src/view.rs:237-243), which makes the no-op more misleading. Also note .unwrap() on duration_since(UNIX_EPOCH) at relay/src/update.rs:185 is a latent panic.
Found while writing the setup documentation in #138 / #178.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.