| commit | a32d241b08af236b5ea1d4e18a390bdc561b435b | [log] [tgz] |
|---|---|---|
| author | Jagpal Singh Gill <paligill@gmail.com> | Wed Oct 01 14:55:05 2025 -0700 |
| committer | Jagpal Singh Gill <paligill@gmail.com> | Mon Oct 06 15:03:23 2025 -0700 |
| tree | ba63e51aaaa8bb177f6514c90f637a44bf6ca4cc | |
| parent | 9695bd284570b51677c11529103929c8e51da6b6 [diff] |
modbus_rtu_lib: implement library APIs Implement modbus-rtu library APIs which will be used by phosphor-modbus-rtu service based on [1]. [1]: https://gerrit.openbmc.org/c/openbmc/docs/+/77318 Tested: Added a Mock Modbus RTU server using socat which intercepts and replies to modbus messages for testing. ``` > meson test -C builddir ninja: Entering directory `/host/repos/Modbus/phosphor-modbus/builddir' ninja: no work to do. 1/2 test_modbus_commands OK 0.01s 2/2 test_modbus OK 6.02s Ok: 2 Fail: 0 ``` Change-Id: I66cdc8fd930dd6f7ad6888116d1419ad8f8b8ed8 Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
phosphor-modbus provides a set of software applications to query sensors info, inventory data, firmware info of various modbus devices.
The phosphor-modbus requires phosphor-dbus-interfaces, sdbusplus and phosphor-logging.
The phosphor-modbus is built using meson.
meson build && ninja -C build