Commit Graph
156 Commits
Author SHA1 Message Date
Olaf Bergmann 7d674d9dcf bugfix: off-by-one in query option 2011-06-23 18:12:56 +02:00
Olaf Bergmann 3f8ff29ecf bugfix: use correct id remove request from retransmission queue 2011-06-23 10:53:44 +02:00
Olaf Bergmann 1f6dc64ff5 added option -v to modify log level 2011-06-23 01:00:55 +02:00
Olaf Bergmann 60d68d7d62 fixed data pointer in coap_read()
some minor bugfixes
example for separate responses (server side only)
2011-06-22 18:07:50 +02:00
Olaf Bergmann e643c3256e Improved logging with various log levels 2011-06-22 11:05:46 +02:00
Olaf Bergmann 56048956ed bugfix 2011-06-19 00:44:15 +02:00
Olaf Bergmann e2e6c8c89b bugfiy: initialize parse iterator even when string is empty or NULL pointer
Thanks to Jörg Wolf for pointing this out
2011-06-19 00:26:48 +02:00
Olaf Bergmann 43dd1fce00 Added empty declaration to make ISO C compiler happy when building with -DNDEBUG 2011-06-17 11:24:42 +02:00
Olaf Bergmann 7876566085 removed flags that are not supported on some platforms and seem not to be required here 2011-06-17 11:20:35 +02:00
Olaf Bergmann a9fe11c08b added missing file 2011-06-16 18:31:09 +02:00
Olaf Bergmann 9280c0f7ff updated version number 2011-06-16 18:29:16 +02:00
Olaf Bergmann c00eceb8d7 bugfix 2011-06-16 18:29:01 +02:00
Olaf Bergmann 8a0c7a8c76 Aligned server and client to new API, stripped down server
tiny.c is out of date, though
2011-06-16 18:25:46 +02:00
Olaf Bergmann 29be26b536 Response handling 2011-06-16 18:23:09 +02:00
Olaf Bergmann 15fd4ec0de Started to replace subscribe by generic async support. 2011-06-13 19:01:52 +02:00
Olaf Bergmann ae79b6a325 minor fixes 2011-06-13 18:57:51 +02:00
Olaf Bergmann 588d53c909 added coap_print_addr() for IPv4/IPv6 address output
minor changes to PDU output
2011-06-13 18:56:55 +02:00
Olaf Bergmann 09a937937b bugfix 2011-06-13 16:52:47 +02:00
Olaf Bergmann 1e00e6fcf1 bugfix 2011-06-13 12:28:36 +02:00
Olaf Bergmann 60c7a7a8ee API improvement. 2011-06-13 02:29:11 +02:00
Olaf Bergmann 832f4b58fd Use pointers in macros for handling of PDU options. 2011-06-13 02:27:37 +02:00
Olaf Bergmann 134d0fd865 Better debug handling. 2011-06-13 02:26:44 +02:00
Olaf Bergmann f01582b4fe Improved support for URI split and hashing. 2011-06-13 02:26:05 +02:00
Olaf Bergmann 5183fd951c Check for time.h and sys/time.h. 2011-06-13 02:25:10 +02:00
Olaf Bergmann cd025d26ad Header updates. 2011-06-13 02:24:35 +02:00
Olaf Bergmann 5a6f40ae24 Replaced subscribe.{h,c} by stripped-down async handling. 2011-06-13 02:23:41 +02:00
Olaf Bergmann d7b17955a6 Added target TAGS (depends on the etags command). 2011-06-12 12:31:17 +02:00
Olaf Bergmann ab4a713cd1 use size_t instead of ssize_t 2011-06-12 01:28:29 +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 e6eea250e0 Added options.{h,c} and resource.{h,c} to Makefile 2011-06-10 18:07:17 +02:00
Olaf Bergmann 887bf74295 Cleanup options stuff, changed .well-known URI to avoid splitting effort. 2011-06-10 18:04:09 +02:00
Olaf Bergmann 940b372554 Deprecate coap_new_uri() as it might waste storage 2011-06-10 18:02:17 +02:00
Olaf Bergmann 3cb5a81c16 minor fix 2011-06-10 18:01:10 +02:00
Olaf Bergmann 84909e125c Store resources in hash table (using uthash, http://uthash.sourceforge.net) 2011-06-10 17:59:45 +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
Olaf Bergmann 3358f2901d Fixed license info.
Options iterator.
Address abstraction to allow IPv4 addresses.
more changes for draft-ietf-core-coap-06.
2011-06-02 02:43:59 +02:00
Olaf Bergmann 96ee8f6e67 Cleanup and fixed license 2011-06-02 02:42:54 +02:00
Olaf Bergmann 1c6bb84ada turned on JAVADOC_AUTOBRIEF 2011-06-02 02:41:48 +02:00
Olaf Bergmann 852055628f Improved options processing with coap_opt_iterator_t 2011-06-02 02:40:42 +02:00
Olaf Bergmann 37f9058c4d Helper functions for bit-vector manipulation. These functions are supposed to work on 8-bit machines. 2011-06-01 18:10:34 +02:00
Olaf Bergmann 301200967f The new licensing option you can use from now on. Other files will be updated subsequently. 2011-06-01 18:09:42 +02:00
Olaf Bergmann 540ae6ae99 Added support for split URI paths and queries, percent-encoding. 2011-05-27 17:55:59 +02:00
Olaf Bergmann 2489a02a31 Bugfix in coap_split_uri()
(Path was not recognized when no port given.)
2011-05-27 12:46:47 +02:00
Olaf Bergmann 24dc7a2d7f added support for IPv6 address references 2011-05-26 12:43:06 +02:00
Olaf Bergmann 5ce5055b91 Changed coap_uri_t to meet needs of draft-ietf-core-coap-06, new split method.
Include new license info.
2011-05-25 18:46:42 +02:00
Olaf Bergmann c27ddc8e0d Deleted former single LICENSE file. 2011-05-24 21:59:29 +02:00
Olaf Bergmann c9c76a7f35 Include BSD as additional licensing option (see README). 2011-05-24 21:57:34 +02:00
Olaf Bergmann 3dabbf8dc7 fixed doxygen configuration to show more output 2011-05-24 21:55:04 +02:00
Olaf Bergmann 38429f7541 API change: Pass local interface address to coap_new_context.
Changed library numbering to better reflect API changes.
2011-01-10 16:59:45 +01:00
Olaf Bergmann c7ce034ec0 Renamed delete to delete_func to avoid nameclash when imported into C++
(thanks to Kai Hillmann for pointing this out)
2010-12-03 14:11:28 +01:00