since the related code was removed by: commit 4d5a964f29 Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> Date: Tue Feb 23 18:04:13 2021 +0800 net: unify socket into file descriptor Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
4d5a964f29
You can use mbpoll to read Modbus Input registers: $ mbpoll -a 10 -b 115200 -P none -t 3 -r 1000 -c 4 /dev/ttyUSB0 -R