Olaf Bergmann
6fd54aacf7
Changed resource definition to support hash tables.
...
Use byte-array as hash key.
Added method handlers for GET,PUT,POST,DELETE to resource definition.
2011-06-10 17:56:14 +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
1c6bb84ada
turned on JAVADOC_AUTOBRIEF
2011-06-02 02:41:48 +02:00
Olaf Bergmann
852055628f
Improved options processing with coap_opt_iterator_t
2011-06-02 02:40:42 +02:00
Olaf Bergmann
37f9058c4d
Helper functions for bit-vector manipulation. These functions are supposed to work on 8-bit machines.
2011-06-01 18:10:34 +02:00
Olaf Bergmann
301200967f
The new licensing option you can use from now on. Other files will be updated subsequently.
2011-06-01 18:09:42 +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
2489a02a31
Bugfix in coap_split_uri()
...
(Path was not recognized when no port given.)
2011-05-27 12:46:47 +02:00
Olaf Bergmann
24dc7a2d7f
added support for IPv6 address references
2011-05-26 12:43:06 +02:00
Olaf Bergmann
5ce5055b91
Changed coap_uri_t to meet needs of draft-ietf-core-coap-06, new split method.
...
Include new license info.
2011-05-25 18:46:42 +02:00
Olaf Bergmann
c27ddc8e0d
Deleted former single LICENSE file.
2011-05-24 21:59:29 +02:00
Olaf Bergmann
c9c76a7f35
Include BSD as additional licensing option (see README).
2011-05-24 21:57:34 +02:00
Olaf Bergmann
3dabbf8dc7
fixed doxygen configuration to show more output
2011-05-24 21:55:04 +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
c7ce034ec0
Renamed delete to delete_func to avoid nameclash when imported into C++
...
(thanks to Kai Hillmann for pointing this out)
2010-12-03 14:11:28 +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
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
f5a0e1dd3a
increased version number
2010-10-23 23:26:02 +02:00
Olaf Bergmann
aa7eaad6d7
dynamic creation of link set for .well-known/core
2010-10-23 23:19:27 +02:00
Olaf Bergmann
efb6414291
support for resource descriptions
2010-10-23 23:18:44 +02:00
Olaf Bergmann
ea052d4a1a
bugfix: set .s to beginning of string
2010-10-23 23:18:10 +02:00
Olaf Bergmann
5d46b03f09
add content-type only if valid
2010-10-23 23:14:59 +02:00
Olaf Bergmann
5f544a99de
check for assert.h
2010-10-23 21:59:02 +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
8ec51186dc
test for strnlen in configure
2010-10-23 18:57:25 +02:00
Olaf Bergmann
e516317b16
coap_delete_resource(): fixed double freed storage
2010-10-23 12:47: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
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
34336bf2d7
fixed typo in target clean
2010-10-19 17:13:55 +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
ea90973530
added config.h.in
2010-10-18 15:56:25 +02:00
Olaf Bergmann
94cc2c4f42
added license information and general project information
2010-10-18 14:53:04 +02:00
Olaf Bergmann
f59c185317
added configure.in and Doxyfile template
2010-10-18 14:15:12 +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
68ae536657
free resources
2010-08-02 18:38:34 +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
aab0046101
handle SIGINT to enable profiling
2010-08-02 18:36:25 +02:00
Olaf Bergmann
5d59673871
fixed Pseudo-FP datatype bug found during plugfest
2010-07-29 18:31:22 +02:00
Olaf Bergmann
ec3714b3c7
bugfix
2010-07-28 08:35:10 +02:00
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