3439 Commits
Author SHA1 Message Date
Olaf Bergmann 0f2d5b3c34 command line options for block size and content types 2010-07-12 18:40:57 +02:00
Olaf Bergmann 96498de78e moved some stuff from client implementation to libcoap 2010-07-12 17:37:48 +02:00
Olaf Bergmann 28a14dbb11 use new malloc/free wrapper 2010-07-12 17:18:48 +02:00
Olaf Bergmann 0c2e226e9f bugfix 2010-07-12 17:18:07 +02:00
Olaf Bergmann b9672e7ca4 make internal implementation of fls() the default as it is missing on my Linux box 2010-07-12 17:17:25 +02:00
Olaf Bergmann 174a86f491 new implementation of ordered lists
wrapper macro for memory handling
new Makefile target .gitignore
2010-07-12 17:15:45 +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 aa409eff46 changes for coap-01
added coap_check_option()
2010-07-11 19:59:29 +02:00
Olaf Bergmann 42036cd10b remove client functionality (see examples/client.c) 2010-07-11 19:58:32 +02:00
Olaf Bergmann d91feeb790 Carsten\'s encode functions for pseudo-fp 2010-07-11 19:56:58 +02:00
Olaf Bergmann b325dfbdd4 added helper functions for URI handling 2010-07-11 19:56:19 +02:00
Olaf Bergmann 276473f990 set server port
join custom multicast group
handling of command line options
2010-07-08 22:53:51 +02:00
Olaf Bergmann 6b25bd6c1c set server port 2010-07-08 22:53:08 +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 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 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 14e626f9a4 use site-local multicast group 2010-07-06 13:58:53 +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 94620ce617 fixed dist target
increased version number
2010-07-06 04:41:43 +02:00
Olaf Bergmann 0b755142fe added examples subdir with tiny fake sensor 2010-07-06 03:18:43 +02:00
Olaf Bergmann 66a138491d helper functions for pseudo-FP encoding according to draft-bormann-coap-misc-04 2010-07-06 00:13:08 +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 b464c9e47c pass URI for get request on command line
added usage info
2010-07-05 01:37:58 +02:00
Olaf Bergmann 05e46fd1bd create library 2010-07-04 23:50:06 +02:00
Olaf Bergmann 559eae8ba8 fixed stack corruption in send_request() 2010-07-04 21:56:54 +02:00
Olaf Bergmann 2a6afa43b7 hint for Solaris builds added 2010-07-04 21:29:21 +02:00
Olaf Bergmann 9bd16f41d5 use -std=c99 (except main.c because of getaddrinfo())
new targets distclean, dist
2010-07-04 21:21:32 +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 5130b90f2b Added missing Makefile 2010-07-02 15:55:28 +02:00
Olaf Bergmann f8a768f3ac Basic CoAP header structure and option encoding 2010-07-02 15:54:18 +02:00