Commit Graph
267 Commits
Author SHA1 Message Date
Olaf Bergmann 254f22cba7 POST handler for TD_COAP_CORE_02, TD_COAP_CORE_06 2012-03-21 12:45:24 +01:00
Olaf Bergmann c25ed5f7ac more for block transfer 2012-03-20 18:48:25 +01:00
Olaf Bergmann 9bbe764d26 update 2012-03-20 18:48:05 +01:00
Olaf Bergmann 582e59f107 handling of long option lists 2012-03-20 18:47:46 +01:00
Olaf Bergmann 6f0a4550c7 Testscripts for ETSI CoAP Plugtest, March 2012
Copyright (C) 2012 Stefanie Gerdes <gerdes@tzi.org>
2012-03-19 13:23:37 +01:00
Olaf Bergmann d716f33953 flush output file after writing received payload 2012-03-16 17:28:44 +01:00
Olaf Bergmann 89548f023d reset timeout when retrieving subsequent blocks 2012-03-15 16:05:52 +01:00
Olaf Bergmann 7daf193b53 modified block handling 2012-03-15 14:57:25 +01:00
Olaf Bergmann 19287baa92 fixed Uri-Path and Uri-Query for block transfer 2012-03-15 13:02:40 +01:00
Olaf Bergmann f02e459cb2 Revert "bugfix: copy Uri-options, token and host/port from initial request"
sent is empty for subsequent requests, so this approach does not work.
This reverts commit de465025c8.
2012-03-14 18:39:45 +01:00
Olaf Bergmann de465025c8 bugfix: copy Uri-options, token and host/port from initial request 2012-03-14 17:13:06 +01:00
Olaf Bergmann c6473cacf4 improved encoding of zero-length options 2012-03-14 17:09:59 +01:00
Olaf Bergmann de41dd7c44 removed some debug output 2012-03-14 15:29:18 +01:00
Olaf Bergmann e6178d3586 TD_COAP_CORE_02, TD_COAP_CORE_03, TD_COAP_CORE_04, TD_COAP_CORE_06, TD_COAP_CORE_07, TD_COAP_CORE_08
added handlers for POST, PUT and DELETE
2012-03-14 14:50:44 +01:00
Olaf Bergmann db52a01c52 more info on current status 2012-03-11 17:48:13 +01:00
Olaf Bergmann e3dc452502 need sys/socket.h on Solaris for AF_INET, AF_INET6 2012-03-11 14:43:22 +01:00
Olaf Bergmann 8f39c75386 TD_COAP_CORE_09, TD_COAP_CORE_16 2012-03-11 14:07:36 +01:00
Olaf Bergmann a2ab12295e TD_COAP_CORE_13 2012-03-10 17:34:00 +01:00
Olaf Bergmann 7235e1effc generate ordered message ids 2012-03-10 16:02:24 +01:00
Olaf Bergmann 1806d9cefa example server for ETSI CoAP plugtest on March 24/25, 2012 2012-03-10 02:33:37 +01:00
Olaf Bergmann 9403e5bbeb improved block support 2012-03-10 02:30:01 +01:00
Olaf Bergmann f2522c605d include block.h 2012-03-10 01:00:31 +01:00
Olaf Bergmann 6f5d2524a5 support for block transfer 2012-03-10 01:00:03 +01:00
Olaf Bergmann 45e53607e2 added missing header include 2012-03-10 00:58:55 +01:00
Olaf Bergmann d00ab6af4f added option -e that takes payload as command-line argument 2012-03-09 15:09:21 +01:00
Olaf Bergmann ceb3ff90e2 more fixes for Contiki 2012-03-08 18:15:33 +01:00
Olaf Bergmann 809eb94cba bugfix for contiki-version of _coap_is_mcast_impl 2012-03-08 15:31:48 +01:00
Olaf Bergmann b870cf9c92 added missing files 2012-03-08 13:31:10 +01:00
Olaf Bergmann 2a749707e3 weaker search for strnlen() as it is not standard-C99 2012-03-08 13:23:37 +01:00
Olaf Bergmann 3712bcf30a handler for /async (generates separate responses) 2012-03-08 01:38:46 +01:00
Olaf Bergmann db2d6e8731 do not acknowledge request as this is done automatically by coap_dispatch() 2012-03-08 01:37:03 +01:00
Olaf Bergmann 63bfbfaf89 acknowledge confirmable separate responses 2012-03-08 01:35:03 +01:00
Olaf Bergmann 783aca9c91 resolved naming issue reported by Silke Schaefer 2012-03-08 00:25:10 +01:00
Olaf Bergmann 5a7e5711c5 added -A to usage output 2012-03-07 23:32:09 +01:00
Olaf Bergmann 40de2a0c6b split query into Uri-Query options 2012-03-07 23:28:30 +01:00
Olaf Bergmann 9c33dde944 handling of options -A and -t improved
The options -A and -t take a list of media types as argument (though only the
first is used for -t). Each member of this list now can be the symbolic identifier
listed in section 11.3 of draft-ietf-core-coap-08, an abbreviated token, or
an arbitrary numeric value from 0 to 254.
2012-03-07 23:03:56 +01:00
Olaf Bergmann d5cccebf06 added default timeout and option -B
The main loop is left after a given timeout which defaults to 90 seconds. The new
option -B can be used to modify the timeout value.
2012-03-07 22:31:01 +01:00
Olaf Bergmann fbdfa9e4b5 bugfix
Do not acknowledge responses to NON-confirmable requests, instead response
is NON-confirmable as well.
2012-03-07 21:47:38 +01:00
Olaf Bergmann b530c25eb9 DELETE 2012-03-07 21:46:12 +01:00
Olaf Bergmann cc291dbf03 option -N to send NON-confirmable requests 2012-03-07 21:45:19 +01:00
Olaf Bergmann 5ac8e435dc bugfix 2012-03-07 21:00:22 +01:00
Olaf Bergmann 8543ef7c4f fixes for new API
Caution: this code is not yet tested thoroughly
2012-03-07 20:16:22 +01:00
Olaf Bergmann f9e733f65d missing definitions for non-contiki platforms 2012-03-07 20:15:48 +01:00
Olaf Bergmann 12f4b37322 network address functions for non-contiki platforms 2012-03-07 20:15:00 +01:00
Olaf Bergmann 7bce03134c Merge remote-tracking branch 'origin/contiki' 2012-03-06 14:20:33 +01:00
Olaf Bergmann ab5a611723 bugfix in uip-version of address comparison function 2012-03-06 14:10:17 +01:00
Olaf Bergmann e440853cf7 removed Max-OFE 2012-03-06 14:09:18 +01:00
Olaf Bergmann a8114040cd bugfix 2012-02-16 13:44:16 +01:00
Olaf Bergmann f5f60f6edd suppress responses for multicast requests (testing) 2012-01-23 00:42:15 +01:00
Olaf Bergmann 273bbd6082 set virtual addresses for platform minimal-net 2012-01-20 19:27:44 +01:00