osd-contiki/apps/er-coap
Arthur Fabre 5403b2a211 Fix default CoAP header block2 size
When a client sends a CoAP request with no block2 size,
the default one would be set to REST_MAX_CHUNK_SIZE.
However, this is not guaranteed to be a power of 2.
This can lead to clients receiving a bigger payload than expected as
part of the header, and ending up with duplicated content.
Setting the default to COAP_MAX_BLOCK_SIZE,
which is guaranteed to be a power of 2, fixes this.
2015-07-29 16:37:09 +01:00
..
er-coap-block1.c Added function for easy block1 usage. 2014-05-15 20:29:04 +02:00
er-coap-block1.h Added function for easy block1 usage. 2014-05-15 20:29:04 +02:00
er-coap-conf.h Enabled forcing CON packet for observer notifications each 20 packets 2014-05-15 20:29:04 +02:00
er-coap-constants.h Removed references to missing DTLS implementation. 2014-05-15 20:29:05 +02:00
er-coap-engine.c Fix default CoAP header block2 size 2015-07-29 16:37:09 +01:00
er-coap-engine.h er-coap: add client-side support for CoAP Observe 2015-02-24 22:46:48 +01:00
er-coap-observe-client.c er-coap: add client-side support for CoAP Observe 2015-02-24 22:46:48 +01:00
er-coap-observe-client.h er-coap: add client-side support for CoAP Observe 2015-02-24 22:46:48 +01:00
er-coap-observe.c er-coap (observe): fix possible duplicate value for observe option in GET response and subsequent notification 2014-08-24 19:07:36 +02:00
er-coap-observe.h Used Uncrustify and fixed Travis build errors. 2014-05-15 20:29:04 +02:00
er-coap-res-well-known-core.c Added function for easy block1 usage. 2014-05-15 20:29:04 +02:00
er-coap-separate.c Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
er-coap-separate.h Added function for easy block1 usage. 2014-05-15 20:29:04 +02:00
er-coap-transactions.c Used Uncrustify and fixed Travis build errors. 2014-05-15 20:29:04 +02:00
er-coap-transactions.h Used Uncrustify and fixed Travis build errors. 2014-05-15 20:29:04 +02:00
er-coap.c Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
er-coap.h Move MAX, MIN and ABS to sys/cc.h 2015-05-18 08:53:17 +02:00
Makefile.er-coap er-coap: add client-side support for CoAP Observe 2015-02-24 22:46:48 +01:00