nes-proj/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
er-coap-block1.h
er-coap-conf.h
er-coap-constants.h
er-coap-engine.c
er-coap-engine.h
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
er-coap-res-well-known-core.c
er-coap-separate.c
er-coap-separate.h
er-coap-transactions.c
er-coap-transactions.h
er-coap.c
er-coap.h
Makefile.er-coap