Commit Graph
18 Commits
Author SHA1 Message Date
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