Commit Graph
34 Commits
Author SHA1 Message Date
Olaf Bergmann cd10925056 modified option parser 2013-01-11 11:32:22 +01:00
Olaf Bergmann c6412f2038 Rework of option parser to support "Klaus encoding" (coap-13), unit tests
The subdirectory "tests" now contains a growing set of unit tests for the
libcoap API. To use this, you will need CUnit (see http://cunit.sourceforge.net)
and must configure with the option --with-tests.
2013-01-07 17:37:49 +01:00
Olaf Bergmann ae4cb93619 debug code cleanup 2012-11-20 13:02:59 +01:00
Olaf Bergmann 8bfc00481a coap-12: option type numbers, option jumps and length coding 2012-11-20 12:24:15 +01:00
Olaf Bergmann a30621493f bugfix (Thanks to John Sucaet) 2012-04-18 12:45:27 +02:00
Olaf Bergmann dfa4f32681 bugfix: sanity check on incoming message 2012-03-25 17:05:02 +02:00
Olaf Bergmann 582e59f107 handling of long option lists 2012-03-20 18:47:46 +01:00
Olaf Bergmann ceb3ff90e2 more fixes for Contiki 2012-03-08 18:15:33 +01:00
Olaf Bergmann a335f87847 bugfix 2012-01-20 18:04:08 +01:00
Olaf Bergmann 5f4209e04b observe 2012-01-13 18:43:38 +01:00
Olaf Bergmann 7503262aa9 some fixes for platform minimal-net 2012-01-06 15:27:48 +01:00
Olaf Bergmann a9dc65315b use static buffers for CoAP PDUs 2012-01-02 21:39:52 +01:00
Olaf Bergmann fae51d1cc9 cleaned debug stuff 2011-12-11 15:57:24 +01:00
Olaf Bergmann 2746d0f814 Initial version for Contiki-Server (target minimal-net or mbxxx) 2011-12-07 15:49:43 +01:00
Olaf Bergmann 298ad4fffa Cleaned debug output (now use -v9 to get all of it) 2011-11-17 09:43:57 +01:00
Olaf Bergmann 29be26b536 Response handling 2011-06-16 18:23:09 +02:00
Olaf Bergmann 60c7a7a8ee API improvement. 2011-06-13 02:29:11 +02:00
Olaf Bergmann 852055628f Improved options processing with coap_opt_iterator_t 2011-06-02 02:40:42 +02:00
Olaf Bergmann 758b7f775e Applied patches from Markus Becker (thanks!)
* 0001-Trailing-whitespace-cleanup.patch
* 0001-Went-back-to-2.65-of-autoconf.patch
* 0002-Fix-compiler-warning-for-str.patch
* added several files to Makefile target .gitignore
2010-11-22 13:01:00 +01:00
Olaf Bergmann 2d25b6f262 changes from draft-ietf-core-coap-03
* removed option Uri-Scheme
* added support for Uri-Query
* version number increment (0.07)
2010-10-26 14:40:55 +02:00
Olaf Bergmann 7c8d7f97e2 * check for unknown critical options and reject them
* use .well-known/core instead of .well-known/r (see draft coap-02)
2010-10-22 13:06:04 +02:00
Olaf Bergmann 94cc2c4f42 added license information and general project information 2010-10-18 14:53:04 +02:00
Olaf Bergmann d7f5527003 bugfix: accept empty request URIs 2010-07-26 00:03:10 +02:00
Olaf Bergmann 72194aa8b9 fixed URI hash function
CoAP default URI scheme
prepare for API changes in option handling
2010-07-23 18:22:11 +02:00
Olaf Bergmann 70322a312b net.c: remove subscriptions when RST was received
use length/value encoded strings in coap_uri_t
2010-07-22 18:07:15 +02:00
Olaf Bergmann 72500fa297 added coap_get_data() to retrieve PDU payload 2010-07-12 23:49:33 +02:00
Olaf Bergmann 28a14dbb11 use new malloc/free wrapper 2010-07-12 17:18:48 +02:00
Olaf Bergmann aa409eff46 changes for coap-01
added coap_check_option()
2010-07-11 19:59:29 +02:00
Olaf Bergmann e39c388a54 byte order for transaction id
do not overwrite existing transaction id when sending PDU
2010-07-08 21:23:59 +02:00
Olaf Bergmann 07ca868a95 code cleanup (removed some GCC extensions from pdu.h)
macros for improved handling of coap_opt_t objects
2010-07-05 19:25:57 +02:00
Olaf Bergmann cd38e27298 even more code cleanup 2010-07-04 21:03:11 +02:00
Olaf Bergmann ca5cb93abf transaction handling
added handling of incoming messages on "user layer"
some code cleanup
2010-07-04 20:48:57 +02:00
Olaf Bergmann 841ede849d Updated header bits according to draft-ietf-core-coap-01pre5.
Basic support for sending, retransmissions.
2010-07-04 03:25:45 +02:00
Olaf Bergmann f8a768f3ac Basic CoAP header structure and option encoding 2010-07-02 15:54:18 +02:00