1c87c5fbaSopenharmony_ci2023-09-18 Olaf Bergmann <bergmann@tzi.org> 2c87c5fbaSopenharmony_ci 3c87c5fbaSopenharmony_ci Change summary for version 4.3.4: 4c87c5fbaSopenharmony_ci 5c87c5fbaSopenharmony_ci * Clean up use of tags. 6c87c5fbaSopenharmony_ci * Support for MacOS with Contiki-NG builds. 7c87c5fbaSopenharmony_ci * Support for Windows with OpenSSL 3.x builds. 8c87c5fbaSopenharmony_ci * Reported bugs fixed. 9c87c5fbaSopenharmony_ci * Documentation updated. 10c87c5fbaSopenharmony_ci 11c87c5fbaSopenharmony_ci2023-09-12 Olaf Bergmann <bergmann@tzi.org> 12c87c5fbaSopenharmony_ci 13c87c5fbaSopenharmony_ci Change summary for version 4.3.3: 14c87c5fbaSopenharmony_ci 15c87c5fbaSopenharmony_ci * Fix ABI version. 16c87c5fbaSopenharmony_ci 17c87c5fbaSopenharmony_ci2023-07-13 Olaf Bergmann <bergmann@tzi.org> 18c87c5fbaSopenharmony_ci 19c87c5fbaSopenharmony_ci Change summary for version 4.3.2: 20c87c5fbaSopenharmony_ci 21c87c5fbaSopenharmony_ci * Source files reformatted according to pre-commit rules. 22c87c5fbaSopenharmony_ci * Support for RFC8613 (OSCORE). 23c87c5fbaSopenharmony_ci * Support for RFC8974 (Extended Tokens). 24c87c5fbaSopenharmony_ci * Support for RFC9177 (Q-Block). 25c87c5fbaSopenharmony_ci * Support for latest RIOT code and new examples. 26c87c5fbaSopenharmony_ci * Support for MinGW builds. 27c87c5fbaSopenharmony_ci * Support for AF_UNIX sockets. 28c87c5fbaSopenharmony_ci * Support for WebSockets (RFC8323). 29c87c5fbaSopenharmony_ci * Support for IPv4 only and IPv6 only libcoap builds. 30c87c5fbaSopenharmony_ci * Support for defining maximum logging level. 31c87c5fbaSopenharmony_ci * Support for maintaining Observer requests over server restarts. 32c87c5fbaSopenharmony_ci * Support for Contiki-NG. 33c87c5fbaSopenharmony_ci * Support for latest LwIP, including using TinyDTLS. 34c87c5fbaSopenharmony_ci * libcoap now has protocol layered support, separating out the 35c87c5fbaSopenharmony_ci logical layers. Stack now is:- 36c87c5fbaSopenharmony_ci - Application 37c87c5fbaSopenharmony_ci - libcoap - CoAP 38c87c5fbaSopenharmony_ci - libcoap - CoAP-Session 39c87c5fbaSopenharmony_ci - libcoap - (D)TLS I/F using external (D)TLS Library 40c87c5fbaSopenharmony_ci - libcoap - Netif 41c87c5fbaSopenharmony_ci - libcoap - Sockets 42c87c5fbaSopenharmony_ci - Kernel Network Stack 43c87c5fbaSopenharmony_ci * Fixes CVE-2023-30362 and CVE-2023-35862. 44c87c5fbaSopenharmony_ci * Reported bugs fixed. 45c87c5fbaSopenharmony_ci * Examples now support separate logging levels for libcoap and (D)TLS. 46c87c5fbaSopenharmony_ci * syslog LOG_ logging levels replaced with COAP_LOG_ logging levels. 47c87c5fbaSopenharmony_ci * New public API functions to aid / reduce application coding. 48c87c5fbaSopenharmony_ci * Remove requirement for applications to have sockaddr knowledge. 49c87c5fbaSopenharmony_ci * Support for clients sending IPv4 broadcast requests. 50c87c5fbaSopenharmony_ci * Documentation added and updated (Doxygen and man). 51c87c5fbaSopenharmony_ci 52c87c5fbaSopenharmony_ci2022-08-17 Olaf Bergmann <bergmann@tzi.org> 53c87c5fbaSopenharmony_ci 54c87c5fbaSopenharmony_ci Change summary for version 4.3.1: 55c87c5fbaSopenharmony_ci 56c87c5fbaSopenharmony_ci * Support for Server only and Client only libcoap builds. 57c87c5fbaSopenharmony_ci * Add support for repeating requests in coap-client. 58c87c5fbaSopenharmony_ci * Add in support for defining resources that support multicast. 59c87c5fbaSopenharmony_ci * Add in more support for async delayed requests. 60c87c5fbaSopenharmony_ci * Add in support for not closing down Observe when closing session. 61c87c5fbaSopenharmony_ci * Support for RFC7390, RFC8516 and RFC9175. 62c87c5fbaSopenharmony_ci * Warn when Tokens are re-used. 63c87c5fbaSopenharmony_ci * Warn when Options are repeated that are not defined as being 64c87c5fbaSopenharmony_ci repeatable. 65c87c5fbaSopenharmony_ci * Support for TLS when using Mbed TLS library. 66c87c5fbaSopenharmony_ci * Support for Mbed TLS 3.1 67c87c5fbaSopenharmony_ci * Add in BERT support for block handling. 68c87c5fbaSopenharmony_ci * More rigorous error handling for Block transfers. 69c87c5fbaSopenharmony_ci * Support for using external or submodule TinyDTLS. 70c87c5fbaSopenharmony_ci * Cmake - add in Apple build support. 71c87c5fbaSopenharmony_ci * Source files renamed to be more consistent in naming. 72c87c5fbaSopenharmony_ci * Update native Windows VC builds to use libcoap-3 instead of libcoap-2. 73c87c5fbaSopenharmony_ci * Reported bugs fixed. 74c87c5fbaSopenharmony_ci * Example applications Help report include build version. 75c87c5fbaSopenharmony_ci * Documentation added and updated (Doxygen and man). 76c87c5fbaSopenharmony_ci 77c87c5fbaSopenharmony_ci2021-05-04 Olaf Bergmann <bergmann@tzi.org> 78c87c5fbaSopenharmony_ci 79c87c5fbaSopenharmony_ci Change summary for version 4.3.0: 80c87c5fbaSopenharmony_ci 81c87c5fbaSopenharmony_ci * Include directory updated from include/coap2 to include/coap3 as 82c87c5fbaSopenharmony_ci this is a major version change. 83c87c5fbaSopenharmony_ci * Other code references updated from coap2 to coap3. 84c87c5fbaSopenharmony_ci * Examples now have the underlying (D)TLS library name as a suffix. 85c87c5fbaSopenharmony_ci E.g. coap-server-openssl 86c87c5fbaSopenharmony_ci * Examples and libraries can be installed with default names using 87c87c5fbaSopenharmony_ci ./configure --enable-add-default-names 88c87c5fbaSopenharmony_ci * Many call-back handlers have had their parameter lists changed, some 89c87c5fbaSopenharmony_ci variables are made const and other ones removed as they can be easily 90c87c5fbaSopenharmony_ci reconstructed if needed. 91c87c5fbaSopenharmony_ci * Some functions have their parameters changed to const. 92c87c5fbaSopenharmony_ci * Internal structures made opaque to applications, requiring the 93c87c5fbaSopenharmony_ci applications to access the structure information via a new set of 94c87c5fbaSopenharmony_ci functions. The new functions are of the form coap_X_get_Y() or 95c87c5fbaSopenharmony_ci coap_X_set_Y() where X is the structure (e.g. session) and Y is 96c87c5fbaSopenharmony_ci the variable. 97c87c5fbaSopenharmony_ci * coap_async_state_t 98c87c5fbaSopenharmony_ci * coap_attr_t 99c87c5fbaSopenharmony_ci * coap_context_t 100c87c5fbaSopenharmony_ci * coap_packet_t 101c87c5fbaSopenharmony_ci * coap_pdu_t 102c87c5fbaSopenharmony_ci * coap_resource_t 103c87c5fbaSopenharmony_ci * coap_session_t 104c87c5fbaSopenharmony_ci * coap_socket_t 105c87c5fbaSopenharmony_ci * Header files are moved into libcoap space and so are accessed by coap 106c87c5fbaSopenharmony_ci sub-directory - e.g. #include <coap3/coap.h>. 107c87c5fbaSopenharmony_ci * RFC7959 (Block handling) moved into libcoap from application code 108c87c5fbaSopenharmony_ci considerably simplifying application code. See coap_block(3) man page. 109c87c5fbaSopenharmony_ci * CoAP Cache Key support. 110c87c5fbaSopenharmony_ci * Support for cmake builds. 111c87c5fbaSopenharmony_ci * Support for RIOT builds. 112c87c5fbaSopenharmony_ci * Support for Cygwin builds. 113c87c5fbaSopenharmony_ci * Proxy support for coap-server, enhanced coap-client capabilities 114c87c5fbaSopenharmony_ci * Updated async support. 115c87c5fbaSopenharmony_ci * Multicast requests now randomly delayed before the response is 116c87c5fbaSopenharmony_ci sent. 117c87c5fbaSopenharmony_ci * Additional RFC support - RFC8768. 118c87c5fbaSopenharmony_ci * Mbed TLS DTLS library support. 119c87c5fbaSopenharmony_ci * (D)TLS support for RPK and PKCS11. 120c87c5fbaSopenharmony_ci * Additional (D)TLS support for PSK (e.g. Identity Hints). 121c87c5fbaSopenharmony_ci * PKI support consistent across all supported (D)TLS libraries. 122c87c5fbaSopenharmony_ci * Support for disabling TCP for code reduction. 123c87c5fbaSopenharmony_ci * More rigorous checking and appropriate rejection of inbound PDU 124c87c5fbaSopenharmony_ci options. 125c87c5fbaSopenharmony_ci * Additional unit tests. 126c87c5fbaSopenharmony_ci * Reported bugs fixed. 127c87c5fbaSopenharmony_ci * Example applications help reports on (D)TLS library capabilities 128c87c5fbaSopenharmony_ci and versions. 129c87c5fbaSopenharmony_ci * Documentation added and updated (Doxygen and man). 130c87c5fbaSopenharmony_ci 131c87c5fbaSopenharmony_ci2019-11-05 Olaf Bergmann <bergmann@tzi.org> 132c87c5fbaSopenharmony_ci 133c87c5fbaSopenharmony_ci Change summary for version 4.2.1: 134c87c5fbaSopenharmony_ci 135c87c5fbaSopenharmony_ci * Builds now support silent rules 136c87c5fbaSopenharmony_ci * Support building with TinyDTLS as a shared library 137c87c5fbaSopenharmony_ci * Added in EPOLL support 138c87c5fbaSopenharmony_ci * Added in support for constrained stacks 139c87c5fbaSopenharmony_ci * Server sessions hashed for performance lookup 140c87c5fbaSopenharmony_ci * coap_endpoint_t and coap_subscription_t made opaque to applications 141c87c5fbaSopenharmony_ci * Documentation updated 142c87c5fbaSopenharmony_ci 143c87c5fbaSopenharmony_ci2019-02-11 Olaf Bergmann <bergmann@tzi.org> 144c87c5fbaSopenharmony_ci 145c87c5fbaSopenharmony_ci Change summary for version 4.2.0: 146c87c5fbaSopenharmony_ci 147c87c5fbaSopenharmony_ci * DTLS support improvements (OpenSSL, GnuTLS, tinydtls) 148c87c5fbaSopenharmony_ci * Pre-shared keys, X.509 certificates 149c87c5fbaSopenharmony_ci * new session abstraction 150c87c5fbaSopenharmony_ci * TCP and TLS support 151c87c5fbaSopenharmony_ci * improved documentation; manual pages 152c87c5fbaSopenharmony_ci * changes in internal PDU structure 153c87c5fbaSopenharmony_ci * improved examples (DTLS usage, block-wise transfer) 154c87c5fbaSopenharmony_ci * docker images for continuous integration 155c87c5fbaSopenharmony_ci * support for Google OSS fuzzer 156c87c5fbaSopenharmony_ci * MS Visual Studio project for Windows builds 157c87c5fbaSopenharmony_ci 158c87c5fbaSopenharmony_ci2017-07-10 Olaf Bergmann <bergmann@tzi.org> 159c87c5fbaSopenharmony_ci 160c87c5fbaSopenharmony_ci * DTLS support (OpenSSL, tinyDTLS) by Jean-Claude Michelou 161c87c5fbaSopenharmony_ci * Win32 support by Jean-Claude Michelou 162c87c5fbaSopenharmony_ci * New Session API by Jean-Claude Michelou 163c87c5fbaSopenharmony_ci 164c87c5fbaSopenharmony_ci2016-02-16 Olaf Bergmann <bergmann@tzi.org> 165c87c5fbaSopenharmony_ci 166c87c5fbaSopenharmony_ci * Fixed build for Contiki3 and LwIP 167c87c5fbaSopenharmony_ci * .travis.yml: Enabled continuous integration for platforms 168c87c5fbaSopenharmony_ci POSIX and Contiki 169c87c5fbaSopenharmony_ci 170c87c5fbaSopenharmony_ci2015-03-11 Olaf Bergmann <bergmann@tzi.org> 171c87c5fbaSopenharmony_ci 172c87c5fbaSopenharmony_ci * include/coap/resource.h: Replaced custom list structures by 173c87c5fbaSopenharmony_ci utlist macros. 174c87c5fbaSopenharmony_ci 175c87c5fbaSopenharmony_ci2015-03-09 Olaf Bergmann <bergmann@tzi.org> 176c87c5fbaSopenharmony_ci 177c87c5fbaSopenharmony_ci * src/uri.c (coap_split_path): Fixed URI parser bug and 178c87c5fbaSopenharmony_ci removed broken parse iterator. 179c87c5fbaSopenharmony_ci 180c87c5fbaSopenharmony_ci2015-03-05 Olaf Bergmann <bergmann@tzi.org> 181c87c5fbaSopenharmony_ci 182c87c5fbaSopenharmony_ci * src/coap_time.c (coap_ticks): Changed POSIX implementation 183c87c5fbaSopenharmony_ci to fixed point arithmetic and removed clock_offset. 184c87c5fbaSopenharmony_ci 185c87c5fbaSopenharmony_ci2015-02-21 Olaf Bergmann <bergmann@tzi.org> 186c87c5fbaSopenharmony_ci 187c87c5fbaSopenharmony_ci * net.c (coap_send_confirmed): Use fixed point arithmetic 188c87c5fbaSopenharmony_ci to calculate retransmission timeout. 189c87c5fbaSopenharmony_ci 190c87c5fbaSopenharmony_ci2015-02-20 Olaf Bergmann <bergmann@tzi.org> 191c87c5fbaSopenharmony_ci 192c87c5fbaSopenharmony_ci * coap_list.[hc]: Moved old list implementation into 193c87c5fbaSopenharmony_ci sub-directory examples and replaced by linked lists 194c87c5fbaSopenharmony_ci from utlist.h. As a result, the list must be sorted 195c87c5fbaSopenharmony_ci explicitly with LL_SORT). 196c87c5fbaSopenharmony_ci 197c87c5fbaSopenharmony_ci2015-02-19 Olaf Bergmann <bergmann@tzi.org> 198c87c5fbaSopenharmony_ci 199c87c5fbaSopenharmony_ci * net.c (coap_send_confirmed): Fixed retransmission timeout 200c87c5fbaSopenharmony_ci calculation and renamed transmission parameters according to 201c87c5fbaSopenharmony_ci Section 4.8 of RFC 7252. 202c87c5fbaSopenharmony_ci 203c87c5fbaSopenharmony_ci2015-02-17 Olaf Bergmann <bergmann@tzi.org> 204c87c5fbaSopenharmony_ci 205c87c5fbaSopenharmony_ci * major rework to get Contiki and lwip running 206c87c5fbaSopenharmony_ci * many fixed bugs and warnings 207c87c5fbaSopenharmony_ci 208c87c5fbaSopenharmony_ci2014-06-18 Olaf Bergmann <bergmann@tzi.org> 209c87c5fbaSopenharmony_ci 210c87c5fbaSopenharmony_ci * mem.c (coap_malloc_type): New functions for allocating memory. 211c87c5fbaSopenharmony_ci On POSIX systems, coap_malloc_type() and coap_free_type() are just 212c87c5fbaSopenharmony_ci wrapper functions for malloc() and free(), while on Contiki and 213c87c5fbaSopenharmony_ci LWIP distinct arrays are used for each type. 214c87c5fbaSopenharmony_ci 215c87c5fbaSopenharmony_ci2014-03-09 Olaf Bergmann <bergmann@tzi.org> 216c87c5fbaSopenharmony_ci 217c87c5fbaSopenharmony_ci * net.c (coap_cancel): Removed 7.31 again and implemented new 218c87c5fbaSopenharmony_ci method for cancelling observe relationships. 219c87c5fbaSopenharmony_ci 220c87c5fbaSopenharmony_ci2014-02-25 Olaf Bergmann <bergmann@tzi.org> 221c87c5fbaSopenharmony_ci 222c87c5fbaSopenharmony_ci * net.c (coap_cancel): Handling of 7.31 responses to cancel 223c87c5fbaSopenharmony_ci notifications (see Section 4.6 of draft-ietf-core-observe-12) 224c87c5fbaSopenharmony_ci 225c87c5fbaSopenharmony_ci2014-02-04 Olaf Bergmann <bergmann@tzi.org> 226c87c5fbaSopenharmony_ci 227c87c5fbaSopenharmony_ci * resource.c (coap_print_link): This function now takes an offset 228c87c5fbaSopenharmony_ci where printing starts. This is used for generating blocks on the 229c87c5fbaSopenharmony_ci fly. 230c87c5fbaSopenharmony_ci 231c87c5fbaSopenharmony_ci * net.c (wellknown_response): Added support for Block2 options 232c87c5fbaSopenharmony_ci when generating a response for .well-known/core. 233c87c5fbaSopenharmony_ci 234c87c5fbaSopenharmony_ci * block.h (coap_opt_block_num): Fixed handling of zero-length 235c87c5fbaSopenharmony_ci options. COAP_OPT_BLOCK_LAST now returns NULL when the option 236c87c5fbaSopenharmony_ci value's length is zero. 237c87c5fbaSopenharmony_ci 238c87c5fbaSopenharmony_ci2014-01-07 Olaf Bergmann <bergmann@tzi.org> 239c87c5fbaSopenharmony_ci 240c87c5fbaSopenharmony_ci * resource.c (coap_print_link): Output partial resource 241c87c5fbaSopenharmony_ci descriptions. The function now provides a sliding window over the 242c87c5fbaSopenharmony_ci textual representation of the resource. Output starts at the given 243c87c5fbaSopenharmony_ci offset and ends at the buffer's upper bound. The meaning of the 244c87c5fbaSopenharmony_ci return value has changed to allow distinguishing whether or not 245c87c5fbaSopenharmony_ci the resource description has been truncated at the buffer's upper 246c87c5fbaSopenharmony_ci bound. 247c87c5fbaSopenharmony_ci (print_wellknown): Support for the new coap_print_link(). An 248c87c5fbaSopenharmony_ci additional parameter now is used to provide the offset into the 249c87c5fbaSopenharmony_ci resource description. The meaning of the return value has been 250c87c5fbaSopenharmony_ci adjusted accordingly. 251c87c5fbaSopenharmony_ci 252c87c5fbaSopenharmony_ci2013-12-23 Olaf Bergmann <bergmann@tzi.org> 253c87c5fbaSopenharmony_ci 254c87c5fbaSopenharmony_ci * configure.in: merged with LWIP port from chrysn 255c87c5fbaSopenharmony_ci <https://git.gitorious.org/coap-lwip/coap-lwip.git>. This 256c87c5fbaSopenharmony_ci introduces new compiler flags WITH_POSIX and WITH_LWIP to 257c87c5fbaSopenharmony_ci distinguish target platforms. 258c87c5fbaSopenharmony_ci 259c87c5fbaSopenharmony_ci2013-09-03 Olaf Bergmann <bergmann@tzi.org> 260c87c5fbaSopenharmony_ci 261c87c5fbaSopenharmony_ci * option.h (coap_option_setb): increased size of option type 262c87c5fbaSopenharmony_ci argument 263c87c5fbaSopenharmony_ci 264c87c5fbaSopenharmony_ci * tests/test_error_response.c (t_init_error_response_tests): new 265c87c5fbaSopenharmony_ci tests for error response generation 266c87c5fbaSopenharmony_ci 267c87c5fbaSopenharmony_ci * tests/test_pdu.c (t_encode_pdu5): fixed number for option Accept 268c87c5fbaSopenharmony_ci 269c87c5fbaSopenharmony_ci * net.c (coap_new_error_response): fixed option size calculation 270c87c5fbaSopenharmony_ci 271c87c5fbaSopenharmony_ci2013-07-04 Olaf Bergmann <bergmann@tzi.org> 272c87c5fbaSopenharmony_ci 273c87c5fbaSopenharmony_ci * net.c (coap_new_context): register critical Accept option 274c87c5fbaSopenharmony_ci 275c87c5fbaSopenharmony_ci * pdu.c: option codes for Accept and Size1 according to coap-18 276c87c5fbaSopenharmony_ci 277c87c5fbaSopenharmony_ci2013-02-01 Olaf Bergmann <bergmann@tzi.org> 278c87c5fbaSopenharmony_ci 279c87c5fbaSopenharmony_ci * coap_time.h (coap_clock_init_impl): fix invalid preprocessor 280c87c5fbaSopenharmony_ci directive. #warning is now only used for gcc only (close sf bug #15) 281c87c5fbaSopenharmony_ci 282c87c5fbaSopenharmony_ci * net.c (wellknown_response): applied patch from chrysn to 283c87c5fbaSopenharmony_ci fix bug in generation of .well-known/core representation 284c87c5fbaSopenharmony_ci 285c87c5fbaSopenharmony_ci2013-01-21 Olaf Bergmann <bergmann@tzi.org> 286c87c5fbaSopenharmony_ci 287c87c5fbaSopenharmony_ci * option.h: renamed option field in coap_opt_iterator_t to 288c87c5fbaSopenharmony_ci next_option to detect erroneous use in old code 289c87c5fbaSopenharmony_ci 290c87c5fbaSopenharmony_ci2013-01-18 Olaf Bergmann <bergmann@tzi.org> 291c87c5fbaSopenharmony_ci 292c87c5fbaSopenharmony_ci * configure.in: new option --with-tests to enable unit tests 293c87c5fbaSopenharmony_ci 294c87c5fbaSopenharmony_ci * tests/testdriver.c: unit tests for parser functions 295c87c5fbaSopenharmony_ci 296c87c5fbaSopenharmony_ci * pdu.c (coap_pdu_parse): new PDU parser for Klaus-encoding 297c87c5fbaSopenharmony_ci according to coap-13 298c87c5fbaSopenharmony_ci 299c87c5fbaSopenharmony_ci * net.c (coap_read): call coap_pdu_parse() to check PDU integrity 300c87c5fbaSopenharmony_ci 301c87c5fbaSopenharmony_ci * option.c: Klaus-encoding for coap-13, including new option 302c87c5fbaSopenharmony_ci iterator interface 303c87c5fbaSopenharmony_ci 304c87c5fbaSopenharmony_ci2012-11-20 Olaf Bergmann <bergmann@tzi.org> 305c87c5fbaSopenharmony_ci 306c87c5fbaSopenharmony_ci * net.c (next_option_safe): made option parsing more robust in 307c87c5fbaSopenharmony_ci presence of option jumps 308c87c5fbaSopenharmony_ci 309c87c5fbaSopenharmony_ci * pdu.h: new option codes from draft-ietf-core-coap-12 310c87c5fbaSopenharmony_ci 311c87c5fbaSopenharmony_ci * option.c (coap_opt_setlength): new function to set option length 312c87c5fbaSopenharmony_ci 313c87c5fbaSopenharmony_ci * uri.c (make_decoded_option): use coap_opt_setlength() instead of 314c87c5fbaSopenharmony_ci obsolete macro COAP_OPT_SETLENGTH. 315c87c5fbaSopenharmony_ci 316c87c5fbaSopenharmony_ci2012-11-19 Olaf Bergmann <bergmann@tzi.org> 317c87c5fbaSopenharmony_ci 318c87c5fbaSopenharmony_ci * uri.c (make_decoded_option): use coap_opt_encode() instead of writing 319c87c5fbaSopenharmony_ci 320c87c5fbaSopenharmony_ci2012-11-03 Olaf Bergmann <bergmann@tzi.org> 321c87c5fbaSopenharmony_ci 322c87c5fbaSopenharmony_ci * net.c (coap_read): read new option encoding 323c87c5fbaSopenharmony_ci 324c87c5fbaSopenharmony_ci2012-11-01 Olaf Bergmann <bergmann@tzi.org> 325c87c5fbaSopenharmony_ci 326c87c5fbaSopenharmony_ci * option.c (coap_opt_size, coap_opt_value, coap_opt_length): 327c87c5fbaSopenharmony_ci several functions to access fields of options (possibly preceeded 328c87c5fbaSopenharmony_ci by option jump) 329c87c5fbaSopenharmony_ci 330c87c5fbaSopenharmony_ci2012-10-25 Olaf Bergmann <bergmann@tzi.org> 331c87c5fbaSopenharmony_ci 332c87c5fbaSopenharmony_ci * option.c (coap_opt_encode): new function for option encoding 333c87c5fbaSopenharmony_ci with option jumps 334c87c5fbaSopenharmony_ci 335c87c5fbaSopenharmony_ci2012-03-23 Olaf Bergmann <bergmann@tzi.org> 336c87c5fbaSopenharmony_ci 337c87c5fbaSopenharmony_ci * examples/client.c (clear_obs): clear observation relationship after 338c87c5fbaSopenharmony_ci user-specified duration 339c87c5fbaSopenharmony_ci 340c87c5fbaSopenharmony_ci2012-03-21 Olaf Bergmann <bergmann@tzi.org> 341c87c5fbaSopenharmony_ci 342c87c5fbaSopenharmony_ci * resource.c (print_wellknown): filtering by attributes 343c87c5fbaSopenharmony_ci 344c87c5fbaSopenharmony_ci2012-03-19 Olaf Bergmann <bergmann@tzi.org> 345c87c5fbaSopenharmony_ci 346c87c5fbaSopenharmony_ci * pdu.c (coap_add_option): allow more than 15 options. 347c87c5fbaSopenharmony_ci 348c87c5fbaSopenharmony_ci2012-03-15 Olaf Bergmann <bergmann@tzi.org> 349c87c5fbaSopenharmony_ci 350c87c5fbaSopenharmony_ci * examples/client.c (cmdline_uri): split path and query here to 351c87c5fbaSopenharmony_ci make it easier to include these options in subsequent requests for 352c87c5fbaSopenharmony_ci block transfer. 353c87c5fbaSopenharmony_ci 354c87c5fbaSopenharmony_ci2012-03-14 Olaf Bergmann <bergmann@tzi.org> 355c87c5fbaSopenharmony_ci 356c87c5fbaSopenharmony_ci * examples/etsi_iot_01.c: Support for POST, PUT, DELETE on /test 357c87c5fbaSopenharmony_ci 358c87c5fbaSopenharmony_ci2012-03-13 Olaf Bergmann <bergmann@tzi.org> 359c87c5fbaSopenharmony_ci 360c87c5fbaSopenharmony_ci * encode.c (coap_encode_var_bytes): more efficient coding for 0 361c87c5fbaSopenharmony_ci 362c87c5fbaSopenharmony_ci2012-03-11 Olaf Bergmann <bergmann@tzi.org> 363c87c5fbaSopenharmony_ci 364c87c5fbaSopenharmony_ci * examples/etsi_iot_01.c: Test cases for 1st ETSI CoAP Plugtest, 365c87c5fbaSopenharmony_ci March 24/25, 2012 in Paris, France. 366c87c5fbaSopenharmony_ci 367c87c5fbaSopenharmony_ci2012-03-10 Olaf Bergmann <bergmann@tzi.org> 368c87c5fbaSopenharmony_ci 369c87c5fbaSopenharmony_ci * block.c: support for block transfer. 370c87c5fbaSopenharmony_ci 371c87c5fbaSopenharmony_ci2012-03-07 Olaf Bergmann <bergmann@tzi.org> 372c87c5fbaSopenharmony_ci 373c87c5fbaSopenharmony_ci * examples/client.c (usage): new command line options 374c87c5fbaSopenharmony_ci -B to set timeout after which the main loop is left. 375c87c5fbaSopenharmony_ci -e to specify a payload (incompatible with -f) 376c87c5fbaSopenharmony_ci (message_handler): bugfixes 377c87c5fbaSopenharmony_ci 378c87c5fbaSopenharmony_ci * resource.h: (coap_method_handler_t): new API for method handlers. 379c87c5fbaSopenharmony_ci 380c87c5fbaSopenharmony_ci 381c87c5fbaSopenharmony_ciCopyright 2012 Olaf Bergmann, TZI 382c87c5fbaSopenharmony_ciCopying and distribution of this file, with or without modification, are 383c87c5fbaSopenharmony_cipermitted provided the copyright notice and this notice are preserved. 384