Open psmsmets opened 3 years ago
Hi @psmsmets I don't think it's an issue in the recv implementation, if you set a specific ID instead of defaulting to 254, then the socket will get the return data it expects.
From the MDC protocol specifications: "- If you want to control every mechanism connected with Serial Cable regardless of its ID, set ID part to "0xFE" and send commands. At the time, each SET will follow commands but it will not respond with ACK."
The lack of response will cause the socket to timeout.
Have a look at
socket.recv()
implementation.