Skip to content

Added multiple ANCHOR DS-TWR examples - #2

Merged
SpongeBobXxxDdddd merged 2 commits into
mainfrom
dev-setup
Aug 24, 2026
Merged

Added multiple ANCHOR DS-TWR examples#2
SpongeBobXxxDdddd merged 2 commits into
mainfrom
dev-setup

Conversation

@SpongeBobXxxDdddd

Copy link
Copy Markdown
Contributor

No description provided.

DS_TWR_MULTI_ANCHOR_TAG polls a list of anchors in turn, one DS-TWR
exchange each per cycle, and logs one MULTI_RANGE line per anchor.
DS_TWR_MULTI_ANCHOR derives its short address from ANCHOR_ID, so the
same sketch is flashed once per anchor.

The responder keeps its receive path silent: in a multi-anchor network
every anchor also hears the 4 * (N - 1) frames belonging to the other
anchors' exchanges, so RangeFrameMismatch is counted instead of printed,
RxTimeout is ignored, and one MULTI_RESP_STAT line is emitted every
STATS_INTERVAL_MS. UART load stays constant in the anchor count.
The file ended without a newline, which some tools flag and which makes
the last line show up as a change in unrelated diffs.
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.

1 participant