osd-contiki/apps/er-coap
Daniele Alessandrelli 21898f1e21 er-coap (observe): fix possible duplicate value for observe option in GET response and subsequent notification
Currently, the observe value for a response to a GET observe request is always set to zero. That may cause the subsequent notification to have the same observe value. In fact, that happens every time an observable resource is observed for the first time (since the obs_counter is implicitly initialized to zero).
This patch fixes such a problem by setting the observe option value of responses to obs_counter (and then incrementing it).
2014-08-24 19:07:36 +02: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 Removed references to missing DTLS implementation. 2014-05-15 20:29:05 +02:00
er-coap-engine.h Used Uncrustify and fixed Travis build errors. 2014-05-15 20:29:04 +02: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 Added function for easy block1 usage. 2014-05-15 20:29:04 +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 Removed references to missing DTLS implementation. 2014-05-15 20:29:05 +02:00
er-coap.h Removed references to missing DTLS implementation. 2014-05-15 20:29:05 +02:00
Makefile.er-coap Added function for easy block1 usage. 2014-05-15 20:29:04 +02:00