Commit graph

365 commits

Author SHA1 Message Date
adamdunkels 6794154aa5 Set a default value for 'send' commands without arguments 2010-09-13 19:15:21 +00:00
adamdunkels 3be23eb3fc Fixed alignment issue 2010-09-13 13:29:47 +00:00
adamdunkels f1769a3622 Added the number of hop-by-hop retransmissions to the 'send' command 2010-09-13 13:29:29 +00:00
oliverschmidt a5dff5e08a Up to now the root of the webserver filesystem was always the current directory. Now an optional file 'wwwroot.cfg' is read. If present its content is used as prefix in the conversion of http paths to local paths. This prefix may be a relative path as well as an absolute path.
This is especially useful for the cc65-based targets as it ain't possible there to "just change into the wwwroot directory and start the webserver using its pathname".
2010-08-30 19:44:38 +00:00
oliverschmidt 05f938e7c1 Converting the last screen line from ASCII to PETSCII as it was done up to now almost never makes sense. Either the conent to be converted is not the last screen line or the last screen line was already converted (and is incorrectly converted back). Therefore now only a partial line not already converted before gets converted. 2010-07-21 21:03:06 +00:00
adamdunkels 11e25499a5 Servreg-hack makefile 2010-06-15 20:01:10 +00:00
adamdunkels f8437ad545 Periodically increase sequence number to avoid active registrations being garbage collected in neighbors 2010-06-15 19:32:29 +00:00
adamdunkels 5dc55f0a1b A quick and dirty service registry daemon hack. The servreg-hack
allows a program to register an 8-bit service ID that gets
disseminated to the entire network, as long as a servreg-hack daemon
is running on all neighbors. Other nodes can look up the service ID to
figure out what nodes in the network offer this service.

This is officially labeled as a "hack" so that we don't get too comfy
with it; this hack is not the future of service discovery and
advertisement in Contiki.
2010-06-15 19:00:28 +00:00
adamdunkels 951fd78f6c ctimer moved from net/rime to sys/ 2010-06-14 18:58:45 +00:00
nifi f537fac5f0 Made arguments const to allow constant strings as arguments 2010-06-14 14:08:17 +00:00
nifi a453acd325 Added support for IPv6 URLs 2010-06-09 08:36:43 +00:00
nifi b54c6e673b Updated API for uiplib and resolv to use uip_ipaddr_t instead of uint16_t for compability with IPv6 2010-05-31 15:22:08 +00:00
adamdunkels e53b93384a Print out rdc instead of mac 2010-04-30 07:17:50 +00:00
adamdunkels bac84c314c Don't include sniffer code when using IPv6 - this saves significant code space because Rime won't be pulled in 2010-04-30 07:17:21 +00:00
nifi a5264324b5 Added missing urlconv.c for optional URL filtering. 2010-04-19 21:25:49 +00:00
nvt-se 75690c3399 Improved configuration for low-power wireless networks. Removed legacy code regarding netsim and energest. Fixed bug with state transitions, in which timers were stopped incorrectly. 2010-04-12 14:39:52 +00:00
nvt-se 40f7541f88 Report an error if cfs_write failed. 2010-04-12 13:21:58 +00:00
oliverschmidt eebbd2694c Set the maximum number of concurrent web server connections by default to the maximum number of concurrent TCP connections. 2010-04-11 20:54:39 +00:00
oliverschmidt 85082693c5 Added final newline to make GCC happy. 2010-04-11 20:16:56 +00:00
oliverschmidt f22b0dffb3 Made CFS web server pathname length configurable via WEBSERVER_CONF_CFS_PATHLEN and increased default pathname length from 20 to 80 chars in order to allow to actually make use of subdirs. 2010-04-11 20:10:12 +00:00
oliverschmidt eae42d02d5 Added optional URL filtering code to the CFS web server contributed by Kajtar Zsolt (and activated it by default). 2010-04-11 19:18:47 +00:00
oliverschmidt 62e6882946 Include slash in CFS web server state field 'filename' (like in the non-CFS web server). 2010-04-11 15:19:34 +00:00
oliverschmidt 157a95ef19 Reduced code size by removing one PT_WAIT_THREAD call site. 2010-04-11 12:29:07 +00:00
nvt-se fec9171d5d Print the node ID instead of the first byte in the Rime address. That byte often has the value 0 when using powertrace with IPv6. 2010-04-09 15:47:45 +00:00
oliverschmidt 48f7992a48 Minor syntax simplification. 2010-04-06 20:41:42 +00:00
oliverschmidt 5a3eb98937 Log requests in PETSCII on CBMs in the non-CFS web server (as was already done in the CFS web server). 2010-04-06 20:35:40 +00:00
oliverschmidt 186ab03dd2 Search for last '.' just like in send_headers(). 2010-04-06 20:16:25 +00:00
oliverschmidt 37d5c753c0 Copy '/404.html' to filename in order to allow send_headers() to send the proper content type. 2010-04-06 20:10:45 +00:00
oliverschmidt d1c4b4968c Added GIF support to the CFS web server (which was already present in the non-CFS web server). 2010-04-06 12:11:41 +00:00
oliverschmidt 69b0727a6d There are no query strings or alike in the CFS web server so the file extensions have to be the actual end of the requested filename. 2010-04-06 12:03:18 +00:00
oliverschmidt 5c75b89ef7 Reduced code size by reducing the SEND_STRING call sites. 2010-04-06 11:49:47 +00:00
adamdunkels 1fa81eac59 Print out the name of the radio duty cycling mechanism instead of the MAC 2010-04-04 12:27:31 +00:00
adamdunkels 1241aa34d0 Added a function powertrace_print() that prints out the current power trace 2010-03-29 21:49:07 +00:00
adamdunkels 2617274989 Updated to new announcement API 2010-03-25 08:55:20 +00:00
adamdunkels 79ba20ddcc Updated to new collect router API 2010-03-25 08:52:23 +00:00
adamdunkels aeec1769dc Added functions for turning powertracing off 2010-03-19 13:23:31 +00:00
adamdunkels f2c9b3e813 Remove old neighbor.h inclusion 2010-03-19 13:20:40 +00:00
nvt-se cfcb6c6b71 Updated for the changed Rime API 2010-03-18 14:25:54 +00:00
joxe fc738a5809 fixed for new uip6 APIs 2010-03-17 13:19:34 +00:00
joxe da36724ac8 updated for new uip APIs 2010-03-17 12:27:52 +00:00
fros4943 3769a28516 updated to new sensors API 2010-03-14 19:54:00 +00:00
adamdunkels 331f93b439 Removed the 'nodes' command from the shell: it never really worked 2010-02-28 14:16:19 +00:00
adamdunkels c4c4e8164d Enabled compilation without timesynch enabled 2010-02-23 18:22:44 +00:00
adamdunkels 2186d70c59 Added per-packet power profile tracing 2010-02-23 18:22:16 +00:00
adamdunkels 5e6fd67213 Powertrace: a program that periodically prints out the power consumption; suitable for experiments or simulations that want to measure power consumption 2010-02-20 14:15:45 +00:00
adamdunkels 6b523f2446 Fixed compilation without timesynch compiled in 2010-02-18 20:56:12 +00:00
oliverschmidt 340de209c7 Allow to build the webbrowser without history support - by setting WWW_CONF_HISTORY_SIZE to 0. 2010-02-13 10:39:57 +00:00
adamdunkels ba56b22c03 Potential alignment problem fix 2010-02-04 16:21:15 +00:00
nifi 8cf4821a73 added check for too long server name 2010-02-04 15:23:15 +00:00
adamdunkels 4ea2312f23 Rewrote NULL-termination code to avoid writing to a const array 2010-02-04 14:59:08 +00:00