Structs§
- Address
- Slave address (primary or secondary)
- Device
- The device the M-Bus is connected to - /dev/ is prepended to {device} by M-Bus HTTPD
- Hat
- Maxframes
- Max frames to listen for
- Mbus
Data - M-Bus device data as an XML document
- Slaves
- Output of libmbus scan command
- Text
Error - Some error text
- Yaml
- A YAML file
Enums§
- Baudrate
- Baudrate to use for the communication - valid values 300, 600, 1200, 2400, 4800, 9600
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as
#[repr(C)]
which helps with FFI.