Added function for easy block1 usage.

Fixed blocksize calculation when REST_MAX_CHUNK_SIZE != 2^x.
Added example for block1 + separate + block2.
This commit is contained in:
Lars Schmertmann 2014-04-23 10:13:10 +02:00 committed by Matthias Kovatsch
parent bb737f85ae
commit 386d708b56
14 changed files with 377 additions and 67 deletions

View file

@ -65,7 +65,7 @@
/* Increase rpl-border-router IP-buffer when using more than 64. */
#undef REST_MAX_CHUNK_SIZE
#define REST_MAX_CHUNK_SIZE 64
#define REST_MAX_CHUNK_SIZE 48
/* Estimate your header size, especially when using Proxy-Uri. */
/*