Commit Graph
237 Commits
Author SHA1 Message Date
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
Olaf Bergmann 476b7cbac5 added missing symbols 2012-01-20 19:24:57 +01:00
Olaf Bergmann a335f87847 bugfix 2012-01-20 18:04:08 +01:00
Olaf Bergmann 29ce30fa32 store local address to check if message was received via multicast 2012-01-20 16:12:29 +01:00
Olaf Bergmann 68167b10d0 response handlers must acknowledge confirmable messages themselves
This way, the application can decide for a separate response whether it
should be acknowledged or reset.
2012-01-20 15:04:48 +01:00
Olaf Bergmann 0b2713d4d4 subscriptions are identified by observers' transport addresses and tokens 2012-01-19 14:18:22 +01:00
Olaf Bergmann f8f3f64af0 less debug output 2012-01-18 17:27:55 +01:00
Olaf Bergmann 23cb4549d2 sample observer 2012-01-18 16:13:30 +01:00
Olaf Bergmann 10c2ce6bbd support for confirmable responses to check if observers are alive 2012-01-18 13:29:50 +01:00
Olaf Bergmann a8591a103a bugfix: do not include Token in hash for transaction id 2012-01-17 16:31:24 +01:00
Olaf Bergmann 00912b24d7 initialize Contiki address 2012-01-17 16:29:27 +01:00
Olaf Bergmann 5f4209e04b observe 2012-01-13 18:43:38 +01:00
Olaf Bergmann f300bf4d48 compare coap addresses (currently only uip) 2012-01-13 18:43:25 +01:00
Olaf Bergmann cc116c3b5f API change to allow for post-processing of responses in handle_request().
A pre-defined response is passed as parameter to registered method handlers.
This change was required specifically to use method handlers to generate
observer-notifications.
2012-01-06 16:55:49 +01:00
Olaf Bergmann ec1d50f7c3 support for target --with-contiki in configure
This target is to avoid accidential overwriting of hard-coded Makefile and
config.h by configure. When called with --with-contiki, the files
Makefile.contiki and config.h.contiki are copied to Makefile and config.h,
respectively.
2012-01-06 16:52:28 +01:00
Olaf Bergmann d1e394bec8 functions required for coap-observe 2012-01-06 15:28:49 +01:00
Olaf Bergmann 36f2720c9d nits 2012-01-06 15:28:15 +01:00
Olaf Bergmann 7503262aa9 some fixes for platform minimal-net 2012-01-06 15:27:48 +01:00
Olaf Bergmann 263e149ffd be more verbose 2012-01-02 21:41:45 +01:00
Olaf Bergmann 4afb4f3c4a init static PDU buffers; bugfixes 2012-01-02 21:41:08 +01:00
Olaf Bergmann a9dc65315b use static buffers for CoAP PDUs 2012-01-02 21:39:52 +01:00
Olaf Bergmann f7c41a85f5 bugfix 2012-01-02 21:37:39 +01:00
Olaf Bergmann e996a100b5 bugfix, again 2011-12-27 18:49:48 +01:00
Olaf Bergmann 9ea2392c2a Revert "fixed bug reported by Kai Hillmann"
This reverts commit 27fbe80ae5.
2011-12-27 18:02:30 +01:00
Olaf Bergmann 27fbe80ae5 fixed bug reported by Kai Hillmann 2011-12-27 17:55:41 +01:00
Olaf Bergmann 08c59ab23f fixed bug reported by Kai Hillmann 2011-12-27 17:44:51 +01:00
Olaf Bergmann f94e2a3047 output Contiki time 2011-12-24 23:11:33 +01:00
Olaf Bergmann 13bd84d850 print_wellknown() needs access to resource_storage structure (Contiki-specific) 2011-12-24 23:09:23 +01:00
Olaf Bergmann 87dfe421d6 more Contiki handling 2011-12-23 17:19:11 +01:00
Olaf Bergmann b8c84ba0e4 make COAP_MAX_PDU_SIZE configurable 2011-12-23 17:17:12 +01:00
Olaf Bergmann 24f6fa3248 more platforms 2011-12-23 17:16:35 +01:00