Commit Graph
60 Commits
Author SHA1 Message Date
Olaf Bergmann cc291dbf03 option -N to send NON-confirmable requests 2012-03-07 21:45:19 +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 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 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 f9283b55d5 Send message to port given in URI address (thanks to Jörg Wolf who reported this bug). 2011-07-03 22:36:31 +02:00
Olaf Bergmann 8dcaf0f917 More support for asynchronous transactions ('separate responses') 2011-06-23 18:49:09 +02:00
Olaf Bergmann 1f6dc64ff5 added option -v to modify log level 2011-06-23 01:00:55 +02:00
Olaf Bergmann 60d68d7d62 fixed data pointer in coap_read()
some minor bugfixes
example for separate responses (server side only)
2011-06-22 18:07:50 +02:00
Olaf Bergmann 7876566085 removed flags that are not supported on some platforms and seem not to be required here 2011-06-17 11:20:35 +02:00
Olaf Bergmann c00eceb8d7 bugfix 2011-06-16 18:29:01 +02:00
Olaf Bergmann 8a0c7a8c76 Aligned server and client to new API, stripped down server
tiny.c is out of date, though
2011-06-16 18:25:46 +02:00
Olaf Bergmann 15fd4ec0de Started to replace subscribe by generic async support. 2011-06-13 19:01:52 +02:00
Olaf Bergmann 3358f2901d Fixed license info.
Options iterator.
Address abstraction to allow IPv4 addresses.
more changes for draft-ietf-core-coap-06.
2011-06-02 02:43:59 +02:00
Olaf Bergmann 96ee8f6e67 Cleanup and fixed license 2011-06-02 02:42:54 +02:00
Olaf Bergmann 540ae6ae99 Added support for split URI paths and queries, percent-encoding. 2011-05-27 17:55:59 +02:00
Olaf Bergmann 38429f7541 API change: Pass local interface address to coap_new_context.
Changed library numbering to better reflect API changes.
2011-01-10 16:59:45 +01:00
Olaf Bergmann d9f8b5dbb8 fixed wrong usage message 2010-11-24 14:42:01 +01:00
Olaf Bergmann 758b7f775e Applied patches from Markus Becker (thanks!)
* 0001-Trailing-whitespace-cleanup.patch
* 0001-Went-back-to-2.65-of-autoconf.patch
* 0002-Fix-compiler-warning-for-str.patch
* added several files to Makefile target .gitignore
2010-11-22 13:01:00 +01:00
Olaf Bergmann 23fc3b0246 added command line option -P (proxy) 2010-11-05 15:31:22 +01:00
Olaf Bergmann 56c3f7868c better token handling
return 200 if data-sink is empty
2010-11-05 13:56:12 +01:00
Olaf Bergmann 2d25b6f262 changes from draft-ietf-core-coap-03
* removed option Uri-Scheme
* added support for Uri-Query
* version number increment (0.07)
2010-10-26 14:40:55 +02:00
Olaf Bergmann aa7eaad6d7 dynamic creation of link set for .well-known/core 2010-10-23 23:19:27 +02:00
Olaf Bergmann 5d46b03f09 add content-type only if valid 2010-10-23 23:14:59 +02:00
Olaf Bergmann 193934b6f8 added support for Etag and Max-age
improved resource handling in example server
2010-10-23 18:59:20 +02:00
Olaf Bergmann 756cefee23 improved server salutation 2010-10-22 18:29:40 +02:00
Olaf Bergmann 334ee8ec32 * fixed handling of PUT and POST
* POST now returns Location header
* check critical options
* added option Accept from draft-bormann-coap-misc-06.txt
  coap-client now has option -A to take list of accepted types
2010-10-22 18:17:29 +02:00
Olaf Bergmann 24c164bce8 added dependency for libcoap.a to program targets 2010-10-22 13:07:44 +02:00
Olaf Bergmann c24f0d2436 fixed target dist 2010-10-18 17:20:05 +02:00
Olaf Bergmann 23b58c3d1d fixed include path 2010-10-18 15:59:22 +02:00
Olaf Bergmann 94cc2c4f42 added license information and general project information 2010-10-18 14:53:04 +02:00
Olaf Bergmann 1a403845ca Made libcoap configurable
* moved Makefiles to Makefile.in
* test for tools, headers, libs and compiler features
* generate config.h which is included by coap.h
2010-10-18 12:09:51 +02:00
Olaf Bergmann 9ff8221ffd fixed broken bit mask 2010-10-15 10:44:32 +02:00
Olaf Bergmann f8e4df0d52 moved coap-server to subdirectory examples 2010-10-15 10:43:59 +02:00
Olaf Bergmann f20d5f8eaf bugfix for transaction id == 0
coap_tid_t now is of type int, COAP_INVALID_HASHKEY now is outside the unsigned short scope
coap_send() and coap_send_confirmed() now DO NOT generate transaction ids any more
2010-07-26 16:07:48 +02:00
Olaf Bergmann 97749a13d8 added option -f for sending payload 2010-07-26 11:20:43 +02:00
Olaf Bergmann a360c4633e added token option 2010-07-24 20:03:35 +02:00
Olaf Bergmann ec72893af8 do not include authority in request
include scheme only if not default
2010-07-23 18:20:03 +02:00
Olaf Bergmann 70322a312b net.c: remove subscriptions when RST was received
use length/value encoded strings in coap_uri_t
2010-07-22 18:07:15 +02:00
Olaf Bergmann f78099ee41 added option Subscription-Lifetime 2010-07-18 17:24:27 +02:00
Olaf Bergmann 9f1b087420 changed command-line option for content-type to 't'
added command-line option 'm' to provide method to send
2010-07-18 15:54:37 +02:00
Olaf Bergmann 87817cac1c played around with block offsets 2010-07-17 18:05:03 +02:00
Olaf Bergmann 779b860909 more resource handling
GET responses
2010-07-14 19:13:11 +02:00
Olaf Bergmann 0569c6f4a8 also write payload to file when no block option is present 2010-07-13 15:01:28 +02:00
Olaf Bergmann d2295414c3 exit when data is complete
bugfix in handling of block option
write retrieved data to file (currently named "coap.out"
2010-07-12 23:54:01 +02:00