Re: [riot-devel] gcoap blockwise transfer

2019-05-02 Thread Ken Bannister

Hi Ashim and welcome to RIOT!


As you say, we have two CoAP tools -- nanocoap and gcoap. Here are your 
options.



In the latest release, 2019.04, nanocoap has server-based block 
capabilities. So, it would work if Californium acted as a client and 
PUT/POSTed the file contents to your nanocoap server. See the 
nanocoap_server example in the source repository and documentation at 
Modules > Networking > Nanocoap.



There also are PRs for full client/server block capabilities. In this 
case it's probably easier to use gcoap because it's fully documented, 
but a nanocoap client would work, too. See #11057 for the final PR in 
the series. If you build the source documentation (make doc), you will 
find detailed instructions and links to examples. See the Modules > 
Networking > Gcoap topic.



I am the author of the PR series, and would appreciate you testing it 
out. We are actively (if slowly) reviewing and merging these PRs.



Ken


On 5/2/19 2:05 PM, Ashim Asharaph wrote:

Dear RIOT developers

I'm sending a GET request from gcoap running on native to a 
californium server hosting a file. The file is about 56kB in size. I 
can receive the file correctly (multiple blocks) when using 
Californium Copper. I can only receive one 512 byte block of data 
through gcoap. I have tried changing GCOAP_PDU_BUF_SIZE but this only 
affects whether I can receive the one block. How do I receive multiple 
blocks? Has coap blockwise transfer been implemented in gcoap? Is 
nanocoap a suitable alternative for receiving the file?


Kind regards
Ashim Asharaph

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] gcoap blockwise transfer

2019-05-02 Thread Ashim Asharaph
Dear RIOT developers

I'm sending a GET request from gcoap running on native to a californium server 
hosting a file. The file is about 56kB in size. I can receive the file 
correctly (multiple blocks) when using Californium Copper. I can only receive 
one 512 byte block of data through gcoap. I have tried changing 
GCOAP_PDU_BUF_SIZE but this only affects whether I can receive the one block. 
How do I receive multiple blocks? Has coap blockwise transfer been implemented 
in gcoap? Is nanocoap a suitable alternative for receiving the file?


Kind regards
Ashim Asharaph


___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] [riot-maintainer] Release 2019.04

2019-05-02 Thread Emmanuel Baccelli
Nice! Congrats to all involved! And thanks Dan for managing this one!
Cheers
Emmanuel

On Thu, May 2, 2019 at 11:31 AM Kaspar Schleiser 
wrote:

> Hey everyone,
>
> On 4/29/19 4:01 PM, Daniel Petry wrote:
> > we are happy to announce the 19th official release of RIOT:
>
> congratulations and big thanks to everyone involved!
>
> Special thanks to Dan. Good job managing the release and I'm sorry to
> see you leave!
>
> Kaspar
> ___
> Maintainer mailing list
> maintai...@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/maintainer
>
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] Release 2019.04

2019-05-02 Thread Kaspar Schleiser
Hey everyone,

On 4/29/19 4:01 PM, Daniel Petry wrote:
> we are happy to announce the 19th official release of RIOT:

congratulations and big thanks to everyone involved!

Special thanks to Dan. Good job managing the release and I'm sorry to
see you leave!

Kaspar
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel