Commit Graph
30 Commits
Author SHA1 Message Date
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
Olaf Bergmann 0f2d5b3c34 command line options for block size and content types 2010-07-12 18:40:57 +02:00
Olaf Bergmann 7ea5a04d46 block option 2010-07-12 04:10:14 +02:00
Olaf Bergmann 58d37f4575 client 2010-07-11 19:59:58 +02:00
Olaf Bergmann 6b25bd6c1c set server port 2010-07-08 22:53:08 +02:00
Olaf Bergmann 4b8fe05413 explicitly set transaction id 2010-07-08 21:25:05 +02:00
Olaf Bergmann f5b5fd6fc6 bugfix 2010-07-08 21:24:21 +02:00
Olaf Bergmann d82a7dca77 bugfix: wrong protocol level for hop count change 2010-07-06 13:58:27 +02:00
Olaf Bergmann feabb53c6c added string representation of encoded value to payload of sent pdu 2010-07-06 13:43:02 +02:00
Olaf Bergmann f98eeb45cb multicast example: main process joins group ff02:2001::1 2010-07-06 04:42:51 +02:00
Olaf Bergmann 0b755142fe added examples subdir with tiny fake sensor 2010-07-06 03:18:43 +02:00