Osmocom modbus interface library https://osmocom.org/projects/osmo-modbus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Pau Espin e1f08c9c1c Fix assert hit next time after dispatch EV_DEMAND_OF_EMISSION failed 1 year ago
include Initial commit 2 years ago
src Fix assert hit next time after dispatch EV_DEMAND_OF_EMISSION failed 1 year ago
utils Initial commit 2 years ago
.gitignore Initial commit 2 years ago
COPYING Initial commit 2 years ago
Makefile.am Initial commit 2 years ago
README.md Initial commit 2 years ago
configure.ac Initial commit 2 years ago
git-version-gen Initial commit 2 years ago
libosmo-modbus.pc.in Initial commit 2 years ago

README.md

libosmo-modbus - Osmocom Modbus interface library

This repository contains a C-Language library providing an implementation and interface to manage a Modbus node in a Modbus bus.

This library relies heavily on libosmocore library and it is aimed at being used by applications using that same library.

The Modbus specs can be found here: https://www.modbus.org/specs.php

Currently supported features include:

  • Master and Slave roles
  • RTU backend

TODO:

  • Implement ASCII backend
  • Implement TCP backend
  • Implement missing unicast messages/responses
  • Implement sending exceptions (both to protocol peer and to the upper layer)
  • Implement broadcast messages
  • Add a sniffer util to sniff traffic and store it in a pcap file using libpcap
  • Add a register storage using a rb_tree?
  • Add unit tests