This repository was archived by the owner on Apr 24, 2019. It is now read-only.
This repository was archived by the owner on Apr 24, 2019. It is now read-only.
Return 4.08 Request Entity Incomplete on Block transfer errors #512
Closed
Description
If an ongoing blocktransfer (Block 1 option) is interrupted by one out of order Block (e.g. when using UDP) this is not recognized by mbed-client and no error 4.08 Request Entity Incomplete is returned as specified in the coap specification. The result is that the block transfer goes on and the client who PUTs new Blocks is never informed about the error.
I see two possible solutions. First mbed client could check strictly increasing block numbers by itself and return an error if necessary. Second is that the user gets a possibility to notify mbed-client about an error which then should return COAP_MSG_CODE_RESPONSE_REQUEST_ENTITY_INCOMPLETE
.