oss-slu / oss-slu/PilotDataSynchronization

Send Packet button does not send a packet

Open
#182 0 comments 0 reactions 1 assignee View on GitHub

@Phlabry is already working on this.

Since Sep 18, 2026.

bug rust
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

  1. Start the relay and connect TCP with a listener running.
  2. Press Send Packet.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.