libmodbus icon indicating copy to clipboard operation
libmodbus copied to clipboard

Libmodbus supports RTU host, slave and modbustcp. If they are used in RTOS at the same time, are they mutually exclusive?

Open zhigangbox opened this issue 4 years ago • 0 comments

Libmodbus supports RTU host, slave and modbustcp. If they are used in RTOS at the same time, are they mutually exclusive?

I'm at RT_ Thread is used at the same time, but the system will crash after running for a long time. The prompt position is "RT thread / SRC / IPC. C: 929, RT_ mutex_ release;/packages/libmodbus-latest/examples/modbus_ tcp_ test.c:224 ,FD_ SET(server_ fd, &readset);“

I wonder if it is because they are not mutually exclusive, and there is a conflict between modbustcp and RTU?

zhigangbox avatar Jan 05 '21 09:01 zhigangbox