Olaf Bergmann
f5f60f6edd
suppress responses for multicast requests (testing)
2012-01-23 00:42:15 +01:00
Olaf Bergmann
a335f87847
bugfix
2012-01-20 18:04:08 +01:00
Olaf Bergmann
29ce30fa32
store local address to check if message was received via multicast
2012-01-20 16:12:29 +01:00
Olaf Bergmann
68167b10d0
response handlers must acknowledge confirmable messages themselves
...
This way, the application can decide for a separate response whether it
should be acknowledged or reset.
2012-01-20 15:04:48 +01:00
Olaf Bergmann
f8f3f64af0
less debug output
2012-01-18 17:27:55 +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
5f4209e04b
observe
2012-01-13 18:43:38 +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
d1e394bec8
functions required for coap-observe
2012-01-06 15:28:49 +01:00
Olaf Bergmann
4afb4f3c4a
init static PDU buffers; bugfixes
2012-01-02 21:41:08 +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
1078486518
get rid of uthash and use Contiki's static memory blocks
2011-12-11 20:11:11 +01:00
Olaf Bergmann
bf2ef64850
use global uIP data buffer
2011-12-11 16:10:10 +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
298ad4fffa
Cleaned debug output (now use -v9 to get all of it)
2011-11-17 09:43:57 +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
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