Commit Graph
31 Commits
Author SHA1 Message Date
Jon Shallow cb78d5fd85 release 4.3.2rc1: Release candidate for 4.3.2 2023-07-22 09:29:32 +01:00
Jon Shallow 5c498249e7 ChangeLog: Add summary for version update to 4.3.1 2022-08-22 14:54:31 +02:00
Jon Shallow 7cd5bfa638 configure.ac: Add in --enable-add-default-names option
If --enable-add-default-names is set (the default), then the installed default
libraries and installed default example executables will point to the
appropriate object that has the (D)TLS library type in the name.  E.g.

libcoap-3.so -> libcoap-3-openssl.so
coap-client -> coap-client-openssl

If --enable-add-default-names is not set, then this will not happen.

As well as the libraries, the example binaries are now created with the (D)TLS
library extension in all cases.
2021-05-20 16:33:28 +01:00
Jon Shallow c8d74584c0 ChangeLog: Add summary for version updates 2021-04-22 13:27:31 +01:00
Olaf Bergmann 8dbc02d525 ChangeLog: added summary of changes in version 4.2.0 2019-02-13 10:54:51 +01:00
Olaf Bergmann 81c0dec8dd ChangeLog: updated changelog 2017-07-10 16:37:21 +02:00
Olaf Bergmann 52b98489b5 Changelog: update 2016-02-16 16:43:04 +01:00
Olaf Bergmann 65620fde3e resource.[hc]: Replaced custom list structures by utlist macros.
The CoAP resource management is based on uthash and utlist for
platform POSIX but used a custom list implementation for Contiki.
This modification replaces the list handling by utlist macros
entirely. A set of convenience macros has been defined to access
the resources stored in a CoAP context with respect to the
preprocessor symbol COAP_RESOURCES_NOHASH.
2015-03-11 14:28:24 +01:00
Olaf Bergmann 0c53e63a3d Fixed URI parser bug and removed broken parser iterator
The parser iterator did not break up URIs correctly. As this
cannot be fixed easily, the parser iterator has been removed.
coap_split_path_impl() now operates directly on the message
buffer instead of the iterator abstraction.

This bug also caused t_parse_uri12() in the URI test suite
to fail.
2015-03-09 17:49:21 +01:00
Olaf Bergmann 4ca91190d6 Revised time-related functions to get rid of clock_offset for POSIX platform.
* Removed tne preprocessor defines for coap_tick() and coap_clock_init() --
  this made the code less readable and seemed to be of little use.

* Introduced the new type coap_time_t to represent wall clock time. On POSIX,
  this is the number of seconds since the epoch, while on embedded systems
  without a real time clock, this could be the number of seconds since the
  last reboot. The new function coap_ticks_to_rt() is used to convert
  coap_tick_t to coap_time.h. Currently, this is a division by COAP_TICKS_PER_SECOND
  on all platforms.

* POSIX: coap_tick_t is now defined as unsigned long to avoid overflows in
  coap_ticks().
2015-03-08 15:14:43 +01:00
Olaf Bergmann e3ed4c8529 updated change log
Changes have been logged in git so this file has been neglected for
so long.
2015-03-03 12:30:42 +01:00
Olaf Bergmann b6c92bb927 use fixpoint arithmetic for retransmission timeout calculation
It was noted on the mailing list that the changed retransmission
timeout calculation in commit 1a28b3 may yield to inefficient code
on embedded systems which have no fpu. This change now uses
fixed point arithmetic instead. By default, it represents ACK_TIMEOUT
and ACK_RANDOM_FACTOR as Q2.6 numbers and uses Q0.8 for the
randomness parameter. The resulting timeout value is represented in
system ticks (i.e. a multiple of COAP_TICKS_PER_SECOND) as an
unsigned integer.
2015-02-21 16:34:10 +01:00
Olaf Bergmann aa3a050641 Replaced custom list implementation with linked lists from utlist.h
coap_insert() now appends every item at the list's end, sorting must
be done explicitly using LL_SORT. As a side-effect, the new
implementation makes valgrind happy :-)
2015-02-20 13:30:32 +01:00
Olaf Bergmann 1a28b3b6d9 Fixed retransmission timeout calculation
The retransmission timeout is more accurate now by using floating point
arithmetic.

For better readability, the parameter names from RFC 7252 are used.
2015-02-19 14:18:10 +01:00
Olaf Bergmann 89186909da updated Changelog and Makefiles for new mem.c 2014-06-18 16:41:17 +02:00
Olaf Bergmann a3fae3ce3a Support cancellation of observe relationships using GET w/ Observe: 1.
Adding and removal of observes is now handled by libcoap. The application's
GET handler only needs to add the Observe option (see server.c:hnd_get_time()).
2014-03-09 02:27:52 +00:00
Olaf Bergmann 909cccd05d Support for response code 7.31 to cancel observation relationships.
This new behavior is described in Section 4.6 of draft-ietf-core-observe-12.
The idea is to send a response with code 7.31 and the token to identify
the subscription.
2014-02-25 19:00:10 +01:00
Olaf Bergmann 46a107dbcd update 2014-02-04 17:58:08 +01:00
Olaf Bergmann 591aa06783 Support for partial output of .well-known/core
This change provides basic support for block-wise transfer of resource
descriptions. print_wellknown() now takes an additional parameter that
specifies the offset in the resource description where output shall start.
coap_print_link() has been modified to truncate resource descriptions that
do not fit in the given buffer (instead of failing with an error code as
was the case before).
2014-01-07 17:33:49 +01:00
Olaf Bergmann b966a0c834 increased minor version number for LWIP port 2013-12-30 00:29:06 +01:00
Olaf Bergmann 968939c2db updated ChangeLog and increased patch level 2013-09-03 14:32:02 +02:00
Olaf Bergmann 5318781565 option codes updated according to coap-18 2013-07-04 18:45:45 +02:00
Olaf Bergmann b465bcc692 update 2013-02-01 14:14:22 +01:00
Olaf Bergmann 8b8c3d9ac9 more fixes for option iterator
Renamed option in struct coap_opt_iterator_t to next_option to detect
errors.
2013-01-21 17:25:36 +01:00
Olaf Bergmann 54ef9fd83c Klaus-encoding and option iterators 2013-01-18 16:44:19 +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 a2d6a17e4e clear observation relationship after duration specified with -s 2012-03-23 17:06:17 +01:00
Olaf Bergmann 44ea7c58ba attribute filters for /.well-known/core 2012-03-21 16:40:59 +01:00
Olaf Bergmann 582e59f107 handling of long option lists 2012-03-20 18:47:46 +01:00
Olaf Bergmann db52a01c52 more info on current status 2012-03-11 17:48:13 +01:00