iotivity 0.9.0
[platform/upstream/iotivity.git] / resource / csdk / connectivity / lib / libcoap-4.1.1 / ChangeLog
1 2014-02-04  Olaf Bergmann  <bergmann@tzi.org>
2
3         * resource.c (coap_print_link): This function now takes an offset
4         where printing starts. This is used for generating blocks on the
5         fly.
6
7         * net.c (wellknown_response): Added support for Block2 options
8         when generating a response for .well-known/core.
9
10         * block.h (coap_opt_block_num): Fixed handling of zero-length
11         options. COAP_OPT_BLOCK_LAST now returns NULL when the option
12         value's length is zero.
13
14 2014-01-07  Olaf Bergmann  <bergmann@tzi.org>
15
16         * resource.c (coap_print_link): Output partial resource
17         descriptions. The function now provides a sliding window over the
18         textual representation of the resource. Output starts at the given
19         offset and ends at the buffer's upper bound. The meaning of the
20         return value has changed to allow distinguishing whether or not
21         the resource description has been truncated at the buffer's upper
22         bound.
23         (print_wellknown): Support for the new coap_print_link(). An
24         additional parameter now is used to provide the offset into the
25         resource description. The meaning of the return value has been
26         adjusted accordingly.
27
28 2013-12-23  Olaf Bergmann  <bergmann@tzi.org>
29
30         * configure.in: merged with LWIP port from chrysn
31         <https://git.gitorious.org/coap-lwip/coap-lwip.git>. This
32         introduces new compiler flags WITH_POSIX and WITH_LWIP to
33         distinguish target platforms.
34
35 2013-09-03  Olaf Bergmann  <bergmann@tzi.org>
36
37         * option.h (coap_option_setb): increased size of option type
38         argument
39
40         * tests/test_error_response.c (t_init_error_response_tests): new
41         tests for error response generation
42
43         * tests/test_pdu.c (t_encode_pdu5): fixed number for option Accept
44
45         * net.c (coap_new_error_response): fixed option size calculation
46
47 2013-07-04  Olaf Bergmann  <bergmann@tzi.org>
48
49         * net.c (coap_new_context): register critical Accept option
50
51         * pdu.c: option codes for Accept and Size1 according to coap-18
52
53 2013-02-01  Olaf Bergmann  <bergmann@tzi.org>
54
55         * coap_time.h (coap_clock_init_impl): fix invalid preprocessor
56         directive. #warning is now only used for gcc only (close sf bug #15)
57
58         * net.c (wellknown_response): applied patch from chrysn to
59         fix bug in generation of .well-known/core representation
60
61 2013-01-21  Olaf Bergmann  <bergmann@tzi.org>
62
63         * option.h: renamed option field in coap_opt_iterator_t to
64         next_option to detect erroneous use in old code
65
66 2013-01-18  Olaf Bergmann  <bergmann@tzi.org>
67
68         * configure.in: new option --with-tests to enable unit tests
69
70         * tests/testdriver.c: unit tests for parser functions
71
72         * pdu.c (coap_pdu_parse): new PDU parser for Klaus-encoding
73         according to coap-13
74
75         * net.c (coap_read): call coap_pdu_parse() to check PDU integrity
76
77         * option.c: Klaus-encoding for coap-13, including new option
78         iterator interface
79
80 2012-11-20  Olaf Bergmann  <bergmann@tzi.org>
81
82         * net.c (next_option_safe): made option parsing more robust in
83         presence of option jumps
84
85         * pdu.h: new option codes from draft-ietf-core-coap-12
86
87         * option.c (coap_opt_setlength): new function to set option length
88
89         * uri.c (make_decoded_option): use coap_opt_setlength() instead of
90         obsolete macro COAP_OPT_SETLENGTH.
91
92 2012-11-19  Olaf Bergmann  <bergmann@tzi.org>
93
94         * uri.c (make_decoded_option): use coap_opt_encode() instead of writing
95
96 2012-11-03  Olaf Bergmann  <bergmann@tzi.org>
97
98         * net.c (coap_read): read new option encoding
99
100 2012-11-01  Olaf Bergmann  <bergmann@tzi.org>
101
102         * option.c (coap_opt_size, coap_opt_value, coap_opt_length):
103         several functions to access fields of options (possibly preceeded
104         by option jump)
105
106 2012-10-25  Olaf Bergmann  <bergmann@tzi.org>
107
108         * option.c (coap_opt_encode): new function for option encoding
109         with option jumps
110
111 2012-03-23  Olaf Bergmann  <bergmann@tzi.org>
112
113         * examples/client.c (clear_obs): clear observation relationship after
114         user-specified duration
115
116 2012-03-21  Olaf Bergmann  <bergmann@tzi.org>
117
118         * resource.c (print_wellknown): filtering by attributes
119
120 2012-03-19  Olaf Bergmann  <bergmann@tzi.org>
121
122         * pdu.c (coap_add_option): allow more than 15 options.
123
124 2012-03-15  Olaf Bergmann  <bergmann@tzi.org>
125
126         * examples/client.c (cmdline_uri): split path and query here to
127         make it easier to include these options in subsequent requests for
128         block transfer.
129
130 2012-03-14  Olaf Bergmann  <bergmann@tzi.org>
131
132         * examples/etsi_iot_01.c: Support for POST, PUT, DELETE on /test
133
134 2012-03-13  Olaf Bergmann  <bergmann@tzi.org>
135
136         * encode.c (coap_encode_var_bytes): more efficient coding for 0
137
138 2012-03-11  Olaf Bergmann  <bergmann@tzi.org>
139
140         * examples/etsi_iot_01.c: Test cases for 1st ETSI CoAP Plugtest,
141         March 24/25, 2012 in Paris, France.
142
143 2012-03-10  Olaf Bergmann  <bergmann@tzi.org>
144
145         * block.c: support for block transfer.
146
147 2012-03-07  Olaf Bergmann  <bergmann@tzi.org>
148
149         * examples/client.c (usage): new command line options
150         -B to set timeout after which the main loop is left.
151         -e to specify a payload (incompatible with -f)
152         (message_handler): bugfixes
153
154         * resource.h: (coap_method_handler_t): new API for method handlers.
155
156
157 Copyright 2012 Olaf Bergmann, TZI
158 Copying and distribution of this file, with or without modification, are
159 permitted provided the copyright notice and this notice are preserved.