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
c45cf23a61
new option encoding function
2012-10-25 18:18:49 +02:00
Olaf Bergmann
dc04333820
bugfix: support option length > 255
2012-07-04 15:56:01 +02:00
Olaf Bergmann
79e468b780
make COAP_OPT_LENGTH() return an unsigned int
2012-03-21 16:38:36 +01:00
Olaf Bergmann
854724f622
Fixed alignment issues for coap_opt_t (now use unsigned char *)
2011-07-28 17:26:31 +02:00
Olaf Bergmann
832f4b58fd
Use pointers in macros for handling of PDU options.
2011-06-13 02:27:37 +02:00
Olaf Bergmann
852055628f
Improved options processing with coap_opt_iterator_t
2011-06-02 02:40:42 +02:00