Olaf Bergmann
28a6d45cde
fixed bug #3524612 (Double free error when coap_send returns COAP_INVALID_TID)
...
From jsucaet's error description (Credits to Marc Haesen for revealing this bug):
The intent of the current code of coap_send is to release the allocated
memory upon success and not to release when an error has occured. However
this is broken (returning from coap_send with an error and a deallocated
pdu ptr is possible).
In the patch, I propose to let the calling function (of coap_send) be
responsible for free'ing the allocated pointer.
2012-05-29 19:41:22 +02:00
Olaf Bergmann
c98a084626
configure options to throw out block, observe, and query-filter
2012-04-18 12:11:41 +02:00
Olaf Bergmann
44ea7c58ba
attribute filters for /.well-known/core
2012-03-21 16:40:59 +01:00
Olaf Bergmann
5ac8e435dc
bugfix
2012-03-07 21:00:22 +01:00
Olaf Bergmann
f9e733f65d
missing definitions for non-contiki platforms
2012-03-07 20:15:48 +01:00
Olaf Bergmann
0b2713d4d4
subscriptions are identified by observers' transport addresses and tokens
2012-01-19 14:18:22 +01:00
Olaf Bergmann
10c2ce6bbd
support for confirmable responses to check if observers are alive
2012-01-18 13:29:50 +01:00
Olaf Bergmann
5f4209e04b
observe
2012-01-13 18:43:38 +01:00
Olaf Bergmann
d1e394bec8
functions required for coap-observe
2012-01-06 15:28:49 +01:00
Olaf Bergmann
f7c41a85f5
bugfix
2012-01-02 21:37:39 +01:00
Olaf Bergmann
13bd84d850
print_wellknown() needs access to resource_storage structure (Contiki-specific)
2011-12-24 23:09:23 +01:00
Olaf Bergmann
1078486518
get rid of uthash and use Contiki's static memory blocks
2011-12-11 20:11:11 +01:00
Olaf Bergmann
fae51d1cc9
cleaned debug stuff
2011-12-11 15:57:24 +01:00
Olaf Bergmann
15fd4ec0de
Started to replace subscribe by generic async support.
2011-06-13 19:01:52 +02:00
Olaf Bergmann
904aa3b2d0
Put definition of coap_key_t and helper functions in extra file.
2011-06-11 14:10:38 +02:00
Olaf Bergmann
3cb5a81c16
minor fix
2011-06-10 18:01:10 +02:00
Olaf Bergmann
6fd54aacf7
Changed resource definition to support hash tables.
...
Use byte-array as hash key.
Added method handlers for GET,PUT,POST,DELETE to resource definition.
2011-06-10 17:56:14 +02:00