| commit | 7f9d41ddfad8c74d51fa1cf4a591b7f085254396 | [log] [tgz] |
|---|---|---|
| author | Jagpal Singh Gill <paligill@gmail.com> | Thu Oct 16 09:42:18 2025 -0700 |
| committer | Jagpal Singh Gill <paligill@gmail.com> | Thu Oct 16 09:42:18 2025 -0700 |
| tree | 423c3aa253eeb4259a26bc545ca64937177c40ce | |
| parent | f69546b3c665e8ad83ede789c39e54cc0fc429c2 [diff] |
rtu: add serial port interface Add the interface classes for serial port with Port Factory classes to make the code extensible for future in case a new hardware port type is introduced. This also makes the unit testing easy by creating a Mock Port using socat. Tested: ``` meson test -C builddir test_port ninja: Entering directory `/host/repos/Modbus/phosphor-modbus/builddir' ninja: no work to do. 1/1 test_port OK 5.02s Ok: 1 Fail: 0 ``` Change-Id: Ic6bd982abf1ae993f76c39e3503d3a0402a692fe 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