This change limits the ETP CTS to be only as many frames as are required to complete a session when receiving an ETP session. This change was required because in #418 I was seeing a situation where a control function was aborting our ETP Rx session because we CTS'd too many packets with the ISO 11783-3 reason "ECTS requested packets exceeds message size" as described in ISO11783-3 Table 9.
Fixes #418
How has this been tested?
I used the TC server branch and the same control function to recreate the failing transfer, and it was successful.
Also, validated unit tests continued to pass.
Describe your changes
This change limits the ETP CTS to be only as many frames as are required to complete a session when receiving an ETP session. This change was required because in #418 I was seeing a situation where a control function was aborting our ETP Rx session because we CTS'd too many packets with the ISO 11783-3 reason "ECTS requested packets exceeds message size" as described in ISO11783-3 Table 9.
Fixes #418
How has this been tested?
I used the TC server branch and the same control function to recreate the failing transfer, and it was successful. Also, validated unit tests continued to pass.