Skip to content

Add Downlink TDoA configuration and session support - #143

Merged
sameer merged 1 commit into
mainfrom
dl-tdoa-config
Oct 26, 2026
Merged

sameer merged 1 commit into
mainfrom
dl-tdoa-config

Conversation

@sameer

@sameer sameer commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

This PR lays the groundwork for Dl-TDoA support in Pica by accepting and validating configs. #144 does the actual implementation.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements support for Downlink Time Difference of Arrival (DL-TDoA) ranging, including the necessary UCI packet definitions, configuration parsing, session state management, and integration tests. Feedback focuses on improving the robustness of the configuration parsing in Rust by masking reserved bits when extracting the timestamp length, and leveraging PDL features to define structured arrays for anchor ranging rounds instead of manually chunking raw payloads.

Comment thread src/app_config.rs Outdated
Comment thread src/uci_packets.pdl
@sameer
sameer added this pull request to stack #145 October 22, 2026 21:24
@sameer
sameer force-pushed the dl-tdoa-config branch 6 times, most recently from 815c118 to 543d6c4 Compare October 24, 2026 17:10
@sameer
sameer requested a review from schilit October 24, 2026 17:12
Pica did not support Downlink TDoA (DL-TDoA) session setup, preventing
devices from configuring DL-TDoA sessions or active ranging rounds.

This change adds the packet definitions, configuration parameters, and
session validation needed to configure DL-TDoA sessions, along with tests
for parameter validation.
@sameer
sameer merged commit 0e61743 into main Oct 26, 2026
13 checks passed
sameer added a commit that referenced this pull request Oct 27, 2026
#143 added Downlink TDoA packet definitions, session configuration, and
round update commands, but Pica does not yet simulate DL-TDoA ranging
rounds or send measurement notifications during active sessions.

This CL:
- Advertises Downlink TDoA support in device capability TLVs.
- Validates active tag and anchor ranging rounds before session start.
- Simulates Poll, Response, and Final DTM exchanges across anchors.
- Emits DL-TDoA session info notifications to tags.
sameer added a commit that referenced this pull request Oct 29, 2026
#143 added Downlink TDoA packet definitions, session configuration, and
round update commands, but Pica does not yet simulate DL-TDoA ranging
rounds or send measurement notifications during active sessions.

This CL:
- Advertises Downlink TDoA support in device capability TLVs.
- Validates active tag and anchor ranging rounds before session start.
- Simulates Poll, Response, and Final DTM exchanges across anchors.
- Emits DL-TDoA session info notifications to tags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants