Re: samples/net/zoap_server - blockwise transfers?
Bober, Wojciech <Wojciech.Bober@...>
Hi Vinicius,toggle quoted messageShow quoted text
Thanks for the reply. Sure, feel free to add me to the review.
From: Vinicius Costa Gomes [mailto:vinicius.gomes(a)intel.com]
Sent: 24 January 2017 19:43
To: Bober, Wojciech <Wojciech.Bober(a)nordicsemi.no>; devel(a)lists.zephyrproject.org
Subject: [devel] Re: samples/net/zoap_server - blockwise transfers?
"Bober, Wojciech" <Wojciech.Bober(a)nordicsemi.no> writes:
Hi,There are still some bugs in the implementation, I am working on solving them, I just noticed it when I was running a CoAP test suite
(californium) against zoap-server. Seems that my previous tests were incomplete.
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.In short, there was a stupid bug in parsing of integer options (this was already merged into the net branch), but I am still working on it, I can add you as reviewer as I propose the changes, if you are interested.