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

Fix packet recovery support for BLOCK1 option in examples for lossy connections #271

Merged
merged 1 commit into from
Nov 28, 2018

Commits on Nov 11, 2018

  1. Fix packet recovery support for BLOCK1 option in examples for lossy c…

    …onnections
    
     examples/client.c
     examples/coap-server.c
    
    For the client, the next block to transmit is always now the last acknowledged
    block plus one.
    
    If the client receives a duplicate BLOCK1 ACK, the duplicate ACK is ignored by
    checking the message ids.
    
    For the server, it no longer rejectes a duplicate BLOCK1 request, but does
    still object if there is a gap in the provided data due to a missing block.
    In otherwords, the blocks must arrive sequentially from the client.
    mrdeep1 committed Nov 11, 2018
    Configuration menu
    Copy the full SHA
    a1be686 View commit details
    Browse the repository at this point in the history