diff options
| author | Yang Chen <yang.chen@quantatw.com> | 2024-09-11 17:16:23 +0300 |
|---|---|---|
| committer | Amithash Prasad <amithash@meta.com> | 2024-09-12 20:58:25 +0300 |
| commit | 2fc57e1b553bac8c8e9575f1eaa50e8742b16aee (patch) | |
| tree | 7ba009a33f5179c6d8e818a18c169ec782e51fd3 /meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest | |
| parent | b0c5fd958af6b7d4cd520067360f8e3e847f9505 (diff) | |
| download | openbmc-2fc57e1b553bac8c8e9575f1eaa50e8742b16aee.tar.xz | |
meta-facebook: minerva: Enable the mbpoll tool
Enable the mbpoll tool which can communicate with the smart valve by modbus
command from the user command line.
Tested:
root@bmc:~# mbpoll -a 0x01 -b 38400 /dev/ttyRS485-0 -d 8 -s 1 -P none -r 21 -t 4:hex -c 1 -1 -0
mbpoll 1.0-0 - ModBus(R) Master Simulator
Copyright (c) 2015-2023 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.
Protocol configuration: ModBus RTU
Slave configuration...: address = [1]
start reference = 21, count = 1
Communication.........: /dev/ttyRS485-0, 38400-8N1
t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, output (holding) register table
-- Polling slave 1...
[21]: 0x0AF9
Change-Id: I3d4f6813c80e79fac408f435798de1779d1116b6
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest')
0 files changed, 0 insertions, 0 deletions
