Commit graph

516 commits

Author SHA1 Message Date
Nicolas Tsiftes 0ba83a10df Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-06-27 15:42:51 +02:00
Joakim Eriksson 51b73127e9 * Simple JSON parser and generator.
* Simple HTTP webservice with support for both receiving and sending HTTP requests.
* json-ws example that optionally push sensor data to COSM over IPv6.
2012-06-12 16:42:16 +02:00
Nicolas Tsiftes 4f6fb987c3 The keyword structure can be constant. 2012-06-07 10:20:27 +02:00
Nicolas Tsiftes 23cfc77218 Removed previous language grammar. Added a parameter for the bytecode size. 2012-06-04 19:44:08 +02:00
Fredrik Osterlind 10064dbdd9 bugfix: control messages were lost due to lack of buffers; wait for buffer before sending 2012-05-30 18:01:04 +02:00
Niclas Finne 0d6dabe6f5 lookup content type only when needed 2012-05-29 19:28:14 +02:00
Fredrik Osterlind a95c2cf6c1 bugfix: ptr must be preserved until psock has finished 2012-05-29 17:40:33 +02:00
Niclas Finne ec1d598148 Precision (printf("%.Ns", text1)) not supported by all compilers, for example some versions of avrgcc and mspgcc. 2012-05-16 11:23:17 +02:00
Matthias Kovatsch c1b318356e Renamed static functions for clearer memory profiles. 2012-05-13 17:29:21 +02:00
Niclas Finne 28c62208cb Added check for illegal attributes in packet attribute serialization 2012-04-20 22:40:24 +02:00
David Kopf 0612f771c6 Restart ajax on changed update time, remove unused variable. 2012-04-09 10:04:41 -04:00
Matthias Kovatsch ed92994784 Clean-up and fix for rest-server-example. 2012-03-29 18:56:46 +02:00
Matthias Kovatsch 3b2fe65c66 Added rt filtering for Link Format. 2012-03-29 18:16:28 +02:00
Matthias Kovatsch c023faead2 Added Content-Type to observe notifications. 2012-03-29 18:16:25 +02:00
Matthias Kovatsch 949ba03bda Changed notify API to passing a notification message. 2012-03-29 18:16:24 +02:00
Matthias Kovatsch d102d8c607 Changed separate API and fixed token bug. 2012-03-29 18:16:23 +02:00
Niclas Finne 7bf4fa4bff Removed obsolete mac pointer 2012-03-28 21:51:19 +02:00
Matthias Kovatsch e794088d19 Made Block1 support dependent on resource handlers.\nAdded flags and target for minimal-net. 2012-03-17 15:32:51 +01:00
Joakim Eriksson 3852585c26 added sub resource macro 2012-03-12 16:27:26 -07:00
David Kopf ca273e28e9 Add variable update time for Ajax display. Update status.shtml with <pre> tag now used by cgi. 2012-03-10 10:43:23 -05:00
Matthias Kovatsch cd802979da Fixed token bug in separate response and extended API (thanks to Klaus Hartke for the bug report). 2012-02-06 06:22:55 +01:00
Matthias Kovatsch 2ef46ac47a Bugfix for separate NON requests and updated separate resonse API.\nEnabled multiple BLOCKING_REQUESTs in the same scope. 2012-02-05 06:21:35 +01:00
David Kopf 709822042c Redo html output, more options, httpd state variables to allow neighbors and routes to span tcp segments. 2012-03-02 15:51:42 -05:00
Matthias Kovatsch 860de0dd01 Bugfixes for observing. Many thanks to Klaus Hartke. 2012-02-01 05:16:16 +01:00
Matthias Kovatsch c1aa211dc7 Added RST-MID matching for observing. 2012-02-01 03:58:35 +01:00
Matthias Kovatsch dc6142fa0b Revised Erbium observing. 2012-02-01 03:24:49 +01:00
Matthias Kovatsch 4a02790c76 Simplified Erbium support for separate responses. 2012-01-31 04:38:07 +01:00
Matthias Kovatsch b44d125d80 Observe handler now checks if GET request. 2012-01-30 22:01:31 +01:00
Matthias Kovatsch de82815186 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki
Conflicts:
	apps/er-coap-06/er-coap-06-engine.c
	apps/er-coap-06/er-coap-06-observing.c
	apps/er-coap-06/er-coap-06-separate.c
	apps/er-coap-06/er-coap-06-transactions.c
	apps/er-coap-06/er-coap-06.c

Removed er-coap-06.
2012-01-30 01:30:49 +01:00
David Kopf ea3d427c33 Add PAGETITLE option to webserver-nano, compress status page white space. 2012-02-21 11:19:25 -05:00
Nicholas J Humfrey efab964451 Converted u8_t to uint8_t and u16_t to uint16_t in the apps directory. 2012-02-21 08:33:25 -05:00
David Kopf 38267bfd5a Webserver-nano: Add page load times, remove workaround code for bug in arm strformat.c, correct the double count of leading zeros there. 2012-02-11 14:58:35 -05:00
Matthias Kovatsch f23e86f589 Moved status code API from REST engine to main coap implementation. 2012-01-30 01:28:43 +01:00
Matthias Kovatsch a4589ee9da Renamed CoAP transaction ID (tid) to message ID (mid). 2012-01-28 19:21:13 +01:00
Matthias Kovatsch bca4d56eec Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-01-28 18:52:45 +01:00
Matthias Kovatsch 2240289d1f Erbium code cleanup. 2012-01-28 18:52:14 +01:00
Niclas Finne c8c5ddd99d Updated API to avoid compiler warnings (added const) 2012-01-22 22:27:23 +01:00
Matthias Kovatsch 4c3e858df5 Made Erbium function parameters const where applicable.\nMinor clean-up. 2012-01-20 18:30:12 +01:00
Matthias Kovatsch 0a4c77dbff Fixed snprintf() return value handling. 2012-01-20 16:11:45 +01:00
Matthias Kovatsch 690e03a8a7 Removed Erbium CoAP draft-06. 2012-01-20 16:08:24 +01:00
Maxim Osipov 37faa8ce59 Fix alignment issue on ARM
Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
2012-01-13 19:38:46 -05:00
Matthias Kovatsch c861ce0197 Fixed Erbium bugs (ext. header, client request path) and added server resource config defines. 2012-01-12 20:19:54 +01:00
Nicolas Tsiftes 510f20dc42 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-01-10 11:38:57 +01:00
Nicolas Tsiftes 343b2376c0 Use variable-length arrays instead of alloca. 2012-01-10 11:38:33 +01:00
Niclas Finne 1a761ec3eb fixed compiler warning 2012-01-09 14:54:53 +01:00
Niclas Finne 8b83ffec67 Added native-border-router and slip-radio 2012-01-01 09:29:33 +01:00
Nicolas Tsiftes 3f31fb9514 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2012-01-04 09:15:44 +01:00
Fredrik Osterlind abc4cee94d hex conversion and crc shell commands 2011-12-21 10:54:39 +01:00
Fredrik Osterlind e743039261 no newline added by echo command 2011-12-21 10:51:23 +01:00
Nicolas Tsiftes c6fb738f98 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-12-08 15:57:30 +01:00