12016-02-16 Olaf Bergmann <bergmann@tzi.org> 2 3 * Fixed build for Contiki3 and LwIP 4 * .travis.yml: Enabled continuous integration for platforms 5 POSIX and Contiki 6 72015-03-11 Olaf Bergmann <bergmann@tzi.org> 8 9 * include/coap/resource.h: Replaced custom list structures by 10 utlist macros. 11 122015-03-09 Olaf Bergmann <bergmann@tzi.org> 13 14 * src/uri.c (coap_split_path): Fixed URI parser bug and 15 removed broken parse iterator. 16 172015-03-05 Olaf Bergmann <bergmann@tzi.org> 18 19 * src/coap_time.c (coap_ticks): Changed POSIX implementation 20 to fixed point arithmetic and removed clock_offset. 21 222015-02-21 Olaf Bergmann <bergmann@tzi.org> 23 24 * net.c (coap_send_confirmed): Use fixed point arithmetic 25 to calculate retransmission timeout. 26 272015-02-20 Olaf Bergmann <bergmann@tzi.org> 28 29 * coap_list.[hc]: Moved old list implementation into 30 sub-directory examples and replaced by linked lists 31 from utlist.h. As a result, the list must be sorted 32 explicitly with LL_SORT). 33 342015-02-19 Olaf Bergmann <bergmann@tzi.org> 35 36 * net.c (coap_send_confirmed): Fixed retransmission timeout 37 calculation and renamed transmission parameters according to 38 Section 4.8 of RFC 7252. 39 402015-02-17 Olaf Bergmann <bergmann@tzi.org> 41 42 * major rework to get Contiki and lwip running 43 * many fixed bugs and warnings 44 452014-06-18 Olaf Bergmann <bergmann@tzi.org> 46 47 * mem.c (coap_malloc_type): New functions for allocating memory. 48 On POSIX systems, coap_malloc_type() and coap_free_type() are just 49 wrapper functions for malloc() and free(), while on Contiki and 50 LWIP distinct arrays are used for each type. 51 522014-03-09 Olaf Bergmann <bergmann@tzi.org> 53 54 * net.c (coap_cancel): Removed 7.31 again and implemented new 55 method for cancelling observe relationships. 56 572014-02-25 Olaf Bergmann <bergmann@tzi.org> 58 59 * net.c (coap_cancel): Handling of 7.31 responses to cancel 60 notifications (see Section 4.6 of draft-ietf-core-observe-12) 61 622014-02-04 Olaf Bergmann <bergmann@tzi.org> 63 64 * resource.c (coap_print_link): This function now takes an offset 65 where printing starts. This is used for generating blocks on the 66 fly. 67 68 * net.c (wellknown_response): Added support for Block2 options 69 when generating a response for .well-known/core. 70 71 * block.h (coap_opt_block_num): Fixed handling of zero-length 72 options. COAP_OPT_BLOCK_LAST now returns NULL when the option 73 value's length is zero. 74 752014-01-07 Olaf Bergmann <bergmann@tzi.org> 76 77 * resource.c (coap_print_link): Output partial resource 78 descriptions. The function now provides a sliding window over the 79 textual representation of the resource. Output starts at the given 80 offset and ends at the buffer's upper bound. The meaning of the 81 return value has changed to allow distinguishing whether or not 82 the resource description has been truncated at the buffer's upper 83 bound. 84 (print_wellknown): Support for the new coap_print_link(). An 85 additional parameter now is used to provide the offset into the 86 resource description. The meaning of the return value has been 87 adjusted accordingly. 88 892013-12-23 Olaf Bergmann <bergmann@tzi.org> 90 91 * configure.in: merged with LWIP port from chrysn 92 <https://git.gitorious.org/coap-lwip/coap-lwip.git>. This 93 introduces new compiler flags WITH_POSIX and WITH_LWIP to 94 distinguish target platforms. 95 962013-09-03 Olaf Bergmann <bergmann@tzi.org> 97 98 * option.h (coap_option_setb): increased size of option type 99 argument 100 101 * tests/test_error_response.c (t_init_error_response_tests): new 102 tests for error response generation 103 104 * tests/test_pdu.c (t_encode_pdu5): fixed number for option Accept 105 106 * net.c (coap_new_error_response): fixed option size calculation 107 1082013-07-04 Olaf Bergmann <bergmann@tzi.org> 109 110 * net.c (coap_new_context): register critical Accept option 111 112 * pdu.c: option codes for Accept and Size1 according to coap-18 113 1142013-02-01 Olaf Bergmann <bergmann@tzi.org> 115 116 * coap_time.h (coap_clock_init_impl): fix invalid preprocessor 117 directive. #warning is now only used for gcc only (close sf bug #15) 118 119 * net.c (wellknown_response): applied patch from chrysn to 120 fix bug in generation of .well-known/core representation 121 1222013-01-21 Olaf Bergmann <bergmann@tzi.org> 123 124 * option.h: renamed option field in coap_opt_iterator_t to 125 next_option to detect erroneous use in old code 126 1272013-01-18 Olaf Bergmann <bergmann@tzi.org> 128 129 * configure.in: new option --with-tests to enable unit tests 130 131 * tests/testdriver.c: unit tests for parser functions 132 133 * pdu.c (coap_pdu_parse): new PDU parser for Klaus-encoding 134 according to coap-13 135 136 * net.c (coap_read): call coap_pdu_parse() to check PDU integrity 137 138 * option.c: Klaus-encoding for coap-13, including new option 139 iterator interface 140 1412012-11-20 Olaf Bergmann <bergmann@tzi.org> 142 143 * net.c (next_option_safe): made option parsing more robust in 144 presence of option jumps 145 146 * pdu.h: new option codes from draft-ietf-core-coap-12 147 148 * option.c (coap_opt_setlength): new function to set option length 149 150 * uri.c (make_decoded_option): use coap_opt_setlength() instead of 151 obsolete macro COAP_OPT_SETLENGTH. 152 1532012-11-19 Olaf Bergmann <bergmann@tzi.org> 154 155 * uri.c (make_decoded_option): use coap_opt_encode() instead of writing 156 1572012-11-03 Olaf Bergmann <bergmann@tzi.org> 158 159 * net.c (coap_read): read new option encoding 160 1612012-11-01 Olaf Bergmann <bergmann@tzi.org> 162 163 * option.c (coap_opt_size, coap_opt_value, coap_opt_length): 164 several functions to access fields of options (possibly preceeded 165 by option jump) 166 1672012-10-25 Olaf Bergmann <bergmann@tzi.org> 168 169 * option.c (coap_opt_encode): new function for option encoding 170 with option jumps 171 1722012-03-23 Olaf Bergmann <bergmann@tzi.org> 173 174 * examples/client.c (clear_obs): clear observation relationship after 175 user-specified duration 176 1772012-03-21 Olaf Bergmann <bergmann@tzi.org> 178 179 * resource.c (print_wellknown): filtering by attributes 180 1812012-03-19 Olaf Bergmann <bergmann@tzi.org> 182 183 * pdu.c (coap_add_option): allow more than 15 options. 184 1852012-03-15 Olaf Bergmann <bergmann@tzi.org> 186 187 * examples/client.c (cmdline_uri): split path and query here to 188 make it easier to include these options in subsequent requests for 189 block transfer. 190 1912012-03-14 Olaf Bergmann <bergmann@tzi.org> 192 193 * examples/etsi_iot_01.c: Support for POST, PUT, DELETE on /test 194 1952012-03-13 Olaf Bergmann <bergmann@tzi.org> 196 197 * encode.c (coap_encode_var_bytes): more efficient coding for 0 198 1992012-03-11 Olaf Bergmann <bergmann@tzi.org> 200 201 * examples/etsi_iot_01.c: Test cases for 1st ETSI CoAP Plugtest, 202 March 24/25, 2012 in Paris, France. 203 2042012-03-10 Olaf Bergmann <bergmann@tzi.org> 205 206 * block.c: support for block transfer. 207 2082012-03-07 Olaf Bergmann <bergmann@tzi.org> 209 210 * examples/client.c (usage): new command line options 211 -B to set timeout after which the main loop is left. 212 -e to specify a payload (incompatible with -f) 213 (message_handler): bugfixes 214 215 * resource.h: (coap_method_handler_t): new API for method handlers. 216 217 218Copyright 2012 Olaf Bergmann, TZI 219Copying and distribution of this file, with or without modification, are 220permitted provided the copyright notice and this notice are preserved. 221