Commit graph

139 commits

Author SHA1 Message Date
adamdunkels 5585d72c86 A simple but substantial change: uIP used the htons()/HTONS() macro
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.

This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
joxe 71d5c5f3c1 removed servreg_hack from the rpl-udp example 2010-10-18 13:43:41 +00:00
nvt-se 072f208a29 Removed unused variable. 2010-09-15 15:55:08 +00:00
joxe a36ea1f506 fixed compilation bug 2010-08-31 20:05:44 +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
joxe a72252cbd8 removed forced configuration of number of routes and neigbors 2010-08-24 17:54:56 +00:00
adamdunkels 12a1ad2e7d Add the servreg-hack app to the Makefile 2010-06-15 19:02:40 +00:00
adamdunkels 237398a74b Rewrote the code to use the servreg-hack module, so that clients can look up the IP address of the collector node. 2010-06-15 19:02:00 +00:00
adamdunkels 951fd78f6c ctimer moved from net/rime to sys/ 2010-06-14 18:58:45 +00:00
nvt-se 6eadf2522f ctimer.h moved 2010-06-14 16:19:45 +00:00
nifi f8078ae277 Renamed wget() to wget_get() and added server port as argument 2010-06-14 14:12:43 +00:00
adamdunkels 59f5284248 Increase the size of the route and neighbor tables 2010-06-14 07:03:53 +00:00
nifi b21d2494bc Added example using HTTP to control and be controlled. 2010-06-08 22:39:30 +00:00
nifi 53d637a2bc added missing include 2010-06-08 19:53:49 +00:00
nifi f51e3a4f1e minor cleanup 2010-06-08 13:27:06 +00:00
nifi 3c3f3a532d Added web pages "/1" and "/0" to turn leds on or off 2010-06-08 12:34:43 +00:00
nvt-se a9498df8f5 rpl_get_dag is no longer needed since rpl_set_root returns the dag pointer. 2010-06-03 15:24:13 +00:00
joxe df104b77a3 updated with support for getting prefix from tunslip6 and for setting RPL prefix 2010-05-25 20:34:51 +00:00
joxe 293f08e9c7 added support for experimental RPL prefix based autoconf 2010-05-25 20:19:16 +00:00
nvt-se e4bcc8a35e reduced the width of the Log Listener window 2010-05-25 15:29:04 +00:00
nvt-se 07a2179953 simplified 2010-05-24 15:43:18 +00:00
nvt-se dbd710626a Added optional server replies. 2010-05-21 13:45:50 +00:00
nvt-se 64d703a67e Use the new Mote Attributes interface. 2010-05-21 13:45:04 +00:00
nifi a9aacac63a Fixed to set address on interface 2010-05-20 11:27:14 +00:00
nifi 86879f66ac removed internal make targets 2010-05-18 17:05:45 +00:00
nifi e268b094d4 Fixed to only show used address entries at startup and removed hack to make address 'final' 2010-05-10 15:15:17 +00:00
nifi 2104fd595f added nexthop to the route table listing 2010-05-10 14:25:02 +00:00
nifi 27160b91a7 Added rules to connect to slip bridge connected via serial or running in COOJA using tunslip6 2010-05-10 14:19:16 +00:00
nifi 1696e9f70f Added documentation 2010-05-09 15:57:34 +00:00
nifi 09424f02cb Added example COOJA simulation 2010-05-09 14:31:33 +00:00
nifi 7b4f099a7f Added rules to connect to slip bridge connected via serial or running in COOJA using tunslip6 2010-05-09 14:31:09 +00:00
nifi d2f5923dbc corrected comment 2010-05-09 13:29:33 +00:00
nifi 9bb168040c Web server example showing light and temperature sensor data 2010-05-09 12:56:48 +00:00
nifi 8c49cf26e5 Added simple web server listing the neighbors and routes 2010-05-09 12:52:05 +00:00
nifi 52f27ea1cb reduced the buffers to save memory 2010-05-05 21:54:41 +00:00
nifi ad450e18a7 added project configuration 2010-05-05 21:12:56 +00:00
joxe efc8ef760d added very basic rpl-border router example 2010-05-05 19:44:30 +00:00
joxe b54f410bc8 minor cleanup 2010-05-04 14:40:52 +00:00
nvt-se d751238747 Added an example of using UDP over an RPL-enabled IPv6 network 2010-04-30 15:52:48 +00:00