MBus++ is a C++ implementation of a M-Bus Server:
- Coding and decoding of frames
- Assembly of frames to form messages
- Basic event loop that is easily adapted to specific requirements
- Compliant with EN 13757
Although C++ is slightly heavier on resources than pure C, it a good choice for the server side, where resources are less scarce, if not abundant. The clear object orientation, mirroring the layers of the OSI model, makes it easy to expand the library where necessary - and only where necessary! In particular it becomes very easy build upon, or expand, the application layer, because the lower layers are abstracted away.
The M-Bus ("Meter-Bus") is a new European standard for remote reading of heatmeters. It is usable for many types of consumption meters as well as for various sensors and actuators. Up to 250 devices can be connected to a Master over a single line at low cost.