Commit Graph
27 Commits
Author SHA1 Message Date
Olaf Bergmann accc094785 notifications and observer removal according to draft-ietf-core-observe-09 2013-07-23 17:33:03 +02:00
Olaf Bergmann 2045d377ca code cleanup in print_wellknown() 2013-02-05 15:08:57 +01:00
Olaf Bergmann 61521701d5 set token for observe notifications 2013-01-18 17:17:55 +01:00
Olaf Bergmann 54ef9fd83c Klaus-encoding and option iterators 2013-01-18 16:44:19 +01:00
Thomas Pötsch c1452c3707 fixed query filter for href attribute with leading "/" 2012-11-22 13:47:55 +01:00
Olaf Bergmann 864585b6f0 debug studd removed 2012-11-03 17:23:31 +01:00
Olaf Bergmann 20e0e490ed bugfix
make sure that only URI segments are treated in coap_hash_request_uri()
2012-11-03 17:19:51 +01:00
Thomas Pötsch f64a8390e7 fixed typo in coap_resource_t 2012-08-29 11:43:49 +02:00
Olaf Bergmann fd8c499457 bugfix: Anomalies in query filtering - ID: 3540203 (patch from John Sucaet) 2012-07-17 16:33:42 +02:00
Olaf Bergmann 799edd524c bugfix: Memory leaks in rd.c - ID: 3542467 (patch from John Sucaet) 2012-07-17 14:44:10 +02:00
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