Commit Graph
210 Commits
Author SHA1 Message Date
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 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
Olaf Bergmann 1078486518 get rid of uthash and use Contiki's static memory blocks 2011-12-11 20:11:11 +01:00
Olaf Bergmann d35be46e2d more special treatment for Contiki 2011-12-11 20:10:21 +01:00
Olaf Bergmann 9af40a95c5 quick hack to make hash tables from uthash compile on embedded systems 2011-12-11 16:11:31 +01:00
Olaf Bergmann bf2ef64850 use global uIP data buffer 2011-12-11 16:10:10 +01:00
Olaf Bergmann 830a4c7188 more debug stuff 2011-12-11 16:07:20 +01:00
Olaf Bergmann 5bb879c2ba bugfix 2011-12-11 16:05:44 +01:00
Olaf Bergmann fae51d1cc9 cleaned debug stuff 2011-12-11 15:57:24 +01:00
Olaf Bergmann dd04939e08 split Makefile
exclude debug output to save space
2011-12-11 15:46:27 +01:00
Olaf Bergmann 16f1aa8ddc added example resource handler 2011-12-11 15:46:00 +01:00
Olaf Bergmann 2746d0f814 Initial version for Contiki-Server (target minimal-net or mbxxx) 2011-12-07 15:49:43 +01:00
Olaf Bergmann b79670a0c0 assert() replacement if not available 2011-12-06 21:24:14 +01:00
Olaf Bergmann f9bb22fb2b externalized time handling 2011-12-06 21:22:38 +01:00
Olaf Bergmann 235dfa7e14 externalized prng 2011-12-06 20:08:21 +01:00
Olaf Bergmann aba1cb8461 structure cleanup 2011-12-06 19:47:09 +01:00
Olaf Bergmann 298ad4fffa Cleaned debug output (now use -v9 to get all of it) 2011-11-17 09:43:57 +01:00
Olaf Bergmann 1611c69222 draft-ietf-core-block-04 (client side, untested) 2011-11-04 22:01:27 +01:00
Olaf Bergmann f7ee04e790 bugfix (thanks to Philippe Valembois) 2011-11-02 17:29:08 +01:00
Olaf Bergmann 76271e1cbf fixed type conversions (thanks to Philippe Valembois for pointing this out) 2011-11-02 17:20:50 +01:00
Olaf Bergmann e91ed05d74 Update resource descriptions with PUT 2011-10-01 02:01:40 +02:00
Olaf Bergmann bb5a071aa8 tore etag 2011-10-01 00:20:36 +02:00
Olaf Bergmann 5041547e1c store resource descriptions from POST payload 2011-10-01 00:11:17 +02:00
Olaf Bergmann 8856592ec1 create resources on POST; stub handlers for GET, working DELETE 2011-09-30 18:42:49 +02:00
Olaf Bergmann e6ef4a0ddc CoRE Resource Directory
see http://tools.ietf.org/id/draft-shelby-core-resource-directory
2011-09-29 15:19:22 +02:00
Olaf Bergmann d6a193c57d Fixed transaction matching for IPv4 addresses. 2011-08-23 12:14:43 +02:00
Olaf Bergmann 9b48a28ab0 bugfix in bit count 2011-07-29 00:27:40 +02:00
Olaf Bergmann 74c150654f Fixed invalid access in coap_option_next() 2011-07-28 18:45:30 +02:00
Olaf Bergmann 6b9c59fc35 Option codes from draft-ietf-core-coap-07 2011-07-28 18:41:36 +02:00