Skip to content

XuGang1986/mbus-master

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic M-Bus Master

This project provides a very basic M-Bus master for a wired network. It builds on libmbus and provides enough functionality to:

  • Initiate primary address scanning
  • Initiate secondary address scanning
  • Set primary address from secondary address
  • Request data from primary address

Build & Install

First install libmbus, using the defaults it gets installed into /usr/local. Debian/Ubuntu systems support that path out of the box, but Fedora/RedHat systems may need some special incantations. The installed library provides a libmbus.pc file, which this project use to figure out the path to the library and include files.

Issuing

make

builds mbus-master in the current directory. Install it anywhere on your system, and make sure to bundle the library .so file if you move the binary to another system.

Origin & References

Made by Addiva Elektronik AB, Sweden. Available as Open Source under the MIT license. Please note, libmbus has a 3-clause BSD license which contains the advertising clause.

About

Very basic mbus-master with limited CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.7%
  • Makefile 3.3%