netmindz / balboa_GL_ML_spa_control

Control protocol between GL2000 controller and ML series compatibile top panel
16 stars 8 forks source link

Send command - retry - RTS / CTS Hardware Flow Control ? #32

Closed netmindz closed 9 months ago

netmindz commented 1 year ago

Due to the issues I was having when first trying to send data, I'm currently resending the same FB command after every FA until I see the controller respond to the FB.

Technically I'm actually sending one more time, even after the FA updates as I send before I parse the FA.

I suspect pin2 and pin4 might be RTS / CTS Hardware Flow Control, so if this is the case, that would allow us to start transmission based on the explicit flow control rather than trying to estimate based on the time since the FA command or "spamming" the FB command as I currently am

netmindz commented 12 months ago

Looking like simply sending 3 idle commands after each "real" command might be sufficient for reliable communication