Flow control when using RS-485
Closed this issue · 2 comments
Hi. I'm trying to use tokio-modbus with RS-485 communication. It would be nice to have some way to specify pins to flow control. For example, i'm using a raspberry pi with a MAX3485 transceiver. However, to use this transceiver i need i/o pins to flow control. For now i'm using a code from a fork.
Best regards
I have tried to add the flow control just for test in the call function of the rtu service.
However, I'm getting this signals, which are not what I'm looking for.
The flow control signal are getting to much time to come back to the low state, which prevents from receiving the response correctly.
I believe this is a very important issue as generally modbus is used over RS-485.
The RS-485 flow control can be implemented by using the RS-485 feature of the serial in linux systems.