Skip to content

Fix mesh broadcast packet structure alignment for cross-firmware comp… - #11

Merged
retsimx merged 1 commit into
mainfrom
fix/broadcast-packet-alignment
Mar 17, 2026
Merged

Fix mesh broadcast packet structure alignment for cross-firmware comp…#11
retsimx merged 1 commit into
mainfrom
fix/broadcast-packet-alignment

Conversation

@retsimx

@retsimx retsimx commented Mar 17, 2026

Copy link
Copy Markdown
Owner

…atibility

  • Restore struct alignment to match wire format expectations for encryption/decryption
  • Fix undefined behavior in status packet data access
  • Add comprehensive field offset validation tests for broadcast encryption path
  • Bump version to ensure firmware compatibility detection

This resolves status advertisement decryption failures when interoperating with legacy firmware versions that use the original struct layout.

…atibility

- Restore struct alignment to match wire format expectations for encryption/decryption
- Fix undefined behavior in status packet data access
- Add comprehensive field offset validation tests for broadcast encryption path
- Bump version to ensure firmware compatibility detection

This resolves status advertisement decryption failures when interoperating with
legacy firmware versions that use the original struct layout.
@github-actions

Copy link
Copy Markdown

📊 Coverage Report

Metric Coverage
Lines 99.96%
Functions 100.00%
Regions 99.84%
Branches 93.96%

@retsimx
retsimx merged commit 1181cc8 into main Mar 17, 2026
5 checks passed
@retsimx
retsimx deleted the fix/broadcast-packet-alignment branch March 17, 2026 02:31
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