Olaf Bergmann
7457772ddc
bugfix: forgot to adjust size of transaction id
...
after fixing the tid==0 bug
2010-07-28 00:14:41 +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
72194aa8b9
fixed URI hash function
...
CoAP default URI scheme
prepare for API changes in option handling
2010-07-23 18:22:11 +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
eda3d5c696
added COAP_MEDIATYPE_ANY for internal use
...
(goal is to hae more flexibility with resource encoding)
2010-07-18 15:53:01 +02:00
Olaf Bergmann
621cb36f2a
removed leading / from well-known URI constant
2010-07-17 18:02:57 +02:00
Olaf Bergmann
779b860909
more resource handling
...
GET responses
2010-07-14 19:13:11 +02:00
Olaf Bergmann
72500fa297
added coap_get_data() to retrieve PDU payload
2010-07-12 23:49:33 +02:00
Olaf Bergmann
96498de78e
moved some stuff from client implementation to libcoap
2010-07-12 17:37:48 +02:00
Olaf Bergmann
aa409eff46
changes for coap-01
...
added coap_check_option()
2010-07-11 19:59:29 +02:00
Olaf Bergmann
3161470b71
fixed byte order
...
improved debug output
2010-07-08 17:04:42 +02:00
Olaf Bergmann
07ca868a95
code cleanup (removed some GCC extensions from pdu.h)
...
macros for improved handling of coap_opt_t objects
2010-07-05 19:25:57 +02:00
Olaf Bergmann
ca5cb93abf
transaction handling
...
added handling of incoming messages on "user layer"
some code cleanup
2010-07-04 20:48:57 +02:00
Olaf Bergmann
841ede849d
Updated header bits according to draft-ietf-core-coap-01pre5.
...
Basic support for sending, retransmissions.
2010-07-04 03:25:45 +02:00
Olaf Bergmann
f8a768f3ac
Basic CoAP header structure and option encoding
2010-07-02 15:54:18 +02:00