samples/net/zoap_server - blockwise transfers?

Bober, Wojciech <Wojciech.Bober@...>


I'm playing around with zoap_server on nrf52_pca10040 but I can't get the blockwise transfers to work.

When I do GET to /large I get "[zoap-server] [ERR] udp_receive: No handler for such request (-22)" in the log. The large_get handler fails at zoap_update_from_block() function. It doesn't matter if the block2 option is present in the request or not.

I also have issue with PUT to /large-update. The behaviour is inconsistent: sometimes I get the same error as above other times I get a reply to the request but I've also seen ACK Continue with Block2 (I think it should be Block1).

Any ideas what might be wrong?

Kind regards,

Join to automatically receive all group messages.