Documentation
How to read heat, water and gas meters over M-Bus and wireless M-Bus with mbus-kit: getting started, the wire format, embedded builds and status.
Browse the guides below or look up individual types in the Rust API reference.
Getting started
Add mbus-kit, read a wired meter or receive a wireless one, and use exact values.
Wired master
Read every telegram of a meter, address meters by their printed ID, find all meters on a bus, and configure them: sans-I/O, with the frame count bit and retries handled.
Radio receivers
Listen to wireless M-Bus meters with an IMST iM871A or iU891A or an Amber AMB8465 stick: one decoder for all of them, telegrams with RSSI, ready to decrypt.
JSON and the mbus tool
Every telegram as one JSON line, exact values with units, and one command to decode captures, read wired meters and listen to radio sticks.
The wire format
Wired and wireless M-Bus frames, the CI field, data records and the VIF table, byte by byte.
Security
OMS security modes 5, 7 and 10 and the ELL, what each proves, how keys are handled, and what the caller must do about replays.
Simulating meters
Write OMS-secured wireless telegrams for gateway tests: modes 5, 7 and 10, rising counters, and the attacks a consumer must survive.
Embedded builds
mbus-kit on a microcontroller: no std, no allocator, a caller-owned buffer and no panic path.
Status
What mbus-kit implements, what has been verified against real meters, and what it does not support.