Commit Graph
37 Commits
Author SHA1 Message Date
Olaf Bergmann 76271e1cbf fixed type conversions (thanks to Philippe Valembois for pointing this out) 2011-11-02 17:20:50 +01:00
Olaf Bergmann d6a193c57d Fixed transaction matching for IPv4 addresses. 2011-08-23 12:14:43 +02:00
Olaf Bergmann 8dcaf0f917 More support for asynchronous transactions ('separate responses') 2011-06-23 18:49:09 +02:00
Olaf Bergmann 3f8ff29ecf bugfix: use correct id remove request from retransmission queue 2011-06-23 10:53:44 +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 56048956ed bugfix 2011-06-19 00:44:15 +02:00
Olaf Bergmann 29be26b536 Response handling 2011-06-16 18:23:09 +02:00
Olaf Bergmann 15fd4ec0de Started to replace subscribe by generic async support. 2011-06-13 19:01:52 +02:00
Olaf Bergmann 84909e125c Store resources in hash table (using uthash, http://uthash.sourceforge.net) 2011-06-10 17:59:45 +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 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 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 7d4b24cf57 bugfix: return unknown critical option in payload 2010-11-02 15:54:10 +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 7c8d7f97e2 * check for unknown critical options and reject them
* use .well-known/core instead of .well-known/r (see draft coap-02)
2010-10-22 13:06:04 +02:00
Olaf Bergmann 94cc2c4f42 added license information and general project information 2010-10-18 14:53:04 +02:00
Olaf Bergmann 32d95f3c9d print_readable(): added option to request hex-encoding w/o checking is_print() 2010-08-02 18:38:17 +02:00
Olaf Bergmann 28df8ea36e flush stdout after debug output generation 2010-07-26 17:10:29 +02:00
Olaf Bergmann 05d9ebcc4e flush stdout after debug output generation 2010-07-26 16:18:40 +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 a360c4633e added token option 2010-07-24 20:03:35 +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 6af0ad8906 bugfix: NULL pointer dereference in coap_remove_transaction 2010-07-17 18:02:17 +02:00
Olaf Bergmann 4ce4ae7fc6 added timestamp to debug output 2010-07-14 15:31:40 +02:00
Olaf Bergmann 4fe0a6459f coap_can_exit(): check if all data is dispatched
small fixes in ordering operators
2010-07-12 23:51:50 +02:00
Olaf Bergmann 28a14dbb11 use new malloc/free wrapper 2010-07-12 17:18:48 +02:00
Olaf Bergmann b42028a4ee bind server to configurable port
pick arbitrary port if none specified
2010-07-08 22:52:34 +02:00
Olaf Bergmann e39c388a54 byte order for transaction id
do not overwrite existing transaction id when sending PDU
2010-07-08 21:23:59 +02:00
Olaf Bergmann 18ef43790e fixed off-by-one bug in show_data 2010-07-08 17:08:50 +02:00
Olaf Bergmann 3161470b71 fixed byte order
improved debug output
2010-07-08 17:04:42 +02:00
Olaf Bergmann f98eeb45cb multicast example: main process joins group ff02:2001::1 2010-07-06 04:42:51 +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 cd38e27298 even more code cleanup 2010-07-04 21:03:11 +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 c10c8aef69 fixed bug in name resolution 2010-07-04 15:03:42 +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