Skip to content

Radio bridge connection states#389

Merged
barulicm merged 4 commits into
mainfrom
dev/barulicm/radio_bridge
May 4, 2026
Merged

Radio bridge connection states#389
barulicm merged 4 commits into
mainfrom
dev/barulicm/radio_bridge

Conversation

@barulicm
Copy link
Copy Markdown
Contributor

The motivating change here was adding the initial connection timeout feature that @guyfleeman had prototyped. Rather than continue to accrue boolean arrays that track the connection lifecycle going forward, I've added the ConnectionState enum where we can add as many states as we want and keep it in one array.

While I was poking around, I decided to update the launch tests in this package so they would catch bugs like the goodbye message bug fixed in #385 . I also turned on warnings as errors for this package as a prep step for the more substantial changes coming to support the new control scheme. Oh, and I made the plural-ish-ness of some variable names more consistent.

@guyfleeman
Copy link
Copy Markdown
Contributor

Seems good to me. Should lay the ground work for time sync as well if we need that at some point.

@guyfleeman
Copy link
Copy Markdown
Contributor

I'm okay with the code. Do you wanna test on main first or nah?

@barulicm
Copy link
Copy Markdown
Contributor Author

I'm okay with the code. Do you wanna test on main first or nah?

I'm confident enough especially with the improved launch tests passing.

@barulicm barulicm mentioned this pull request May 2, 2026
@barulicm barulicm merged commit 06c3732 into main May 4, 2026
1 check passed
@barulicm barulicm deleted the dev/barulicm/radio_bridge branch May 4, 2026 01:23
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.

3 participants