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
8bfc00481a
coap-12: option type numbers, option jumps and length coding
2012-11-20 12:24:15 +01:00
Olaf Bergmann
7bce03134c
Merge remote-tracking branch 'origin/contiki'
2012-03-06 14:20:33 +01:00
Olaf Bergmann
e996a100b5
bugfix, again
2011-12-27 18:49:48 +01:00
Olaf Bergmann
9ea2392c2a
Revert "fixed bug reported by Kai Hillmann"
...
This reverts commit 27fbe80ae5 .
2011-12-27 18:02:30 +01:00
Olaf Bergmann
27fbe80ae5
fixed bug reported by Kai Hillmann
2011-12-27 17:55:41 +01:00
Olaf Bergmann
08c59ab23f
fixed bug reported by Kai Hillmann
2011-12-27 17:44:51 +01:00
Olaf Bergmann
fae51d1cc9
cleaned debug stuff
2011-12-11 15:57:24 +01:00
Olaf Bergmann
7d674d9dcf
bugfix: off-by-one in query option
2011-06-23 18:12:56 +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
1e00e6fcf1
bugfix
2011-06-13 12:28:36 +02:00
Olaf Bergmann
f01582b4fe
Improved support for URI split and hashing.
2011-06-13 02:26:05 +02:00
Olaf Bergmann
940b372554
Deprecate coap_new_uri() as it might waste storage
2011-06-10 18:02:17 +02:00
Olaf Bergmann
852055628f
Improved options processing with coap_opt_iterator_t
2011-06-02 02:40: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
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
94cc2c4f42
added license information and general project information
2010-10-18 14:53:04 +02:00
Olaf Bergmann
d95727c21d
changed API for coap_new_uri() to deal with length/value encoded URIs
2010-07-27 01:22:28 +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
988ee37166
bugfix: strip leading '/' from path
2010-07-14 18:16:36 +02:00
Olaf Bergmann
b325dfbdd4
added helper functions for URI handling
2010-07-11 19:56:19 +02:00