Skip to content

Conversation

@maebli
Copy link
Owner

@maebli maebli commented Nov 25, 2025

Implementing wireless mbus feature #65

@maebli maebli force-pushed the feature/wmbus branch 6 times, most recently from 96f02a0 to 8e2db6c Compare December 9, 2025 19:22
Crate restructuring

Split wired M-Bus link layer into separate crate
Introduced m-bus-core crate for shared functionality
Refactored both wired and wireless implementations to use core library

Wireless M-Bus support

Added wireless frame parsing with incremental test coverage
Renamed frame types to distinguish wired vs wireless variants
Integrated wireless module into main library exports

Parsing improvements

Added manufacturer code extraction
Refactored "medium" to "device type" with complete type coverage
Proper function field parsing
CRC validation (removed frame types A/B as CRC pre-stripped)
Fixed CI field offset handling

Security & decryption

Renamed "signature" to "configuration_field"
Added security mode parsing
Implemented decryption with static key provider
Added Mode 5 decryption support
Validated against wmbusmeters test vectors

Cleanup & docs

Added "short TPL" header support
Improved README and documentation
Added CLI examples
Removed dead code and suppressed warnings

fixing clippy

refactoring location of decryption crate
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