Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict payload bulk transfer size to be exactly equal to the image frame size #197

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 3, 2024

  1. I have no idea what are those payload_final2_size1 and payload_final2…

    …_size2 are.
    
    But it seems that if we set the payload size to a larger value than the frames size,
    the trailer packet is also appended to the payload transfer. The trailer is expected
    to be a separate transfer though. We set the maximum transfer size to the frame size
    (which is effectively equal to the value of payload_final2_size1) - this guarantees
    that the trailer will be always received in another separate bulk transfer.
    dmikushin committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    a7c8371 View commit details
    Browse the repository at this point in the history