Commit graph

8205 commits

Author SHA1 Message Date
nvt-se 6e28b1d3fb Reduced ETX_LIMIT in order to avoid overflows. Removed ETX_LOSS_PENALTY and set packet_etx to ETX_LIMIT instead upon packet loss. 2010-10-21 19:46:21 +00:00
joxe a1e7d9c256 fixed some config params to avoid re-defining if already defined 2010-10-21 18:25:39 +00:00
joxe aefd88c110 moved config file 2010-10-21 18:23:44 +00:00
adamdunkels 9cb830ed37 Timing bugfix in the waiting period between channel samples to check if the coast is clear before sending a packet. 2010-10-20 22:25:24 +00:00
adamdunkels 06123fefe2 Defensive programming: make sure that a process is actually running before we try to kill it. 2010-10-20 22:24:46 +00:00
adamdunkels 37a4200f40 Made a lot of things configurable via the (optional) project-conf.h 2010-10-20 22:21:16 +00:00
dak664 774474b7aa Fix compiler warning 2010-10-20 18:57:33 +00:00
adamdunkels 3ffcff0656 Added mechanisms for explicit de-synchronization of synchronized neighbors. Added link-layer ACKs. Fixed bugs with MAC-layer interaction. Now seems to work somewhat (didn't work at all before, in some cases), but there are still problems with packet loss. 2010-10-20 15:23:43 +00:00
adamdunkels 3d51e065c1 Made use of new collect-view shell command 2010-10-20 15:22:11 +00:00
adamdunkels d6cb77a1d0 Broke out shell code from the collect-view app to make it useful for non-shell apps too. Added a shell app for interacting with collect-view. Broke out handling of parent, rtmetric, etx, and num_neighbors to make collect-view independent of rime collect. 2010-10-20 15:21:43 +00:00
adamdunkels ce53d7b748 Rewrote part of the repeat command to make the repeat cycle deterministic 2010-10-20 15:18:49 +00:00
oliverschmidt da7c9700cb Added support for the FTP standalone client to the c128 target. 2010-10-19 22:41:24 +00:00
oliverschmidt bcc2120570 Added support for the FTP standalone client to the c64 target. 2010-10-19 22:31:59 +00:00
oliverschmidt fd18646d12 Added PETSCII support to the FTP client. It seems reasonable to do this in ftpc.c (instead of ftp.c) as all command connection strings are given in PETSCII in the C source. 2010-10-19 22:30:13 +00:00
fros4943 105fe0b5df added right-click menu option to remove all motes but selected 2010-10-19 20:31:02 +00:00
oliverschmidt 842c6a018a The recent global change regarding htons allowed to remove this hack :-) 2010-10-19 20:30:47 +00:00
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
kasunch 5a46c629de Added missing slip.c file to CONTIKI_TARGET_SOURCEFILES 2010-10-19 17:05:45 +00:00
adamdunkels 34cba78ca8 Bugfix: bump advertisements only when a parent changes, not because of an upstream parent change 2010-10-19 07:34:29 +00:00
adamdunkels 665eaba2df Added function for creating a message in a separate buffer 2010-10-19 07:33:47 +00:00
adamdunkels d55079e7ba Arch-specific code template that works on all platforms 2010-10-19 07:33:09 +00:00
joxe 71d5c5f3c1 removed servreg_hack from the rpl-udp example 2010-10-18 13:43:41 +00:00
Mariano Alvira 581e2b10d9 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-10-16 13:28:59 -04:00
Jim Paris d5118ba63d Always make directories before building files in OBJDIR
This lets us put things like fatfs/ff.o in COBJS
2010-10-16 13:28:20 -04:00
Jim Paris 1b4de5d8e7 Add gpio_set and gpio_reset
Use them like gpio_set(GPIO_xx) and gpio_reset(GPIO_xx).
These macros efficiently set the DATA_SET and DATA_RESET bits without
reading the registers first, as a direct GPIO->DATA_SET.GPIO_xx would do
2010-10-16 13:28:20 -04:00
Jim Paris e6bd2a1318 Name the GPIO structure so we can set multiple bits at once 2010-10-16 13:28:20 -04:00
Mariano Alvira 0bdcac3457 add a memory section for RAM so that the linker will warn when you've
made your program too big.
2010-10-16 13:28:20 -04:00
Jim Paris b2c64dc233 Provide a function to change timer interrrupt handlers
Function irq_register_timer_handler(int timer, void (*isr)(void))
lets you change the handler at runtime.  This lets us set handlers
without necessarily knowing the name at link-time.  The old way of
having weakly-linked tmr0_isr functions should still work.
2010-10-16 13:28:20 -04:00
Jim Paris 76563958fe Add the disable_int({}) macro
This is similar to safe_irq_enable and disable
2010-10-16 13:27:20 -04:00
oliverschmidt f4e2c41c76 Added support for the FTP standalone client to the atari target. 2010-10-16 11:42:40 +00:00
oliverschmidt abe360e9fb Added support for the FTP standalone client to the apple2enh target. 2010-10-16 10:41:46 +00:00
oliverschmidt 3c655eed6f Added CTK standalone FTP client example. 2010-10-16 10:36:20 +00:00
oliverschmidt b91bc69653 - Allow to configure window dimensions.
- Added usage text in fullscreen windowless scenario.
2010-10-16 09:55:06 +00:00
oliverschmidt 3eadd924ea - Activated toggle between download/upload and upload dialog. However removed actual upload button. This seems reasonable as otherwiese the whole UI concept with remote and local directory listing doesn't make sense to the user.
- Made sure that the "low level" keystroke events are only handled if no dialog is displayed.
- Changed anonymous to 'anonymous'.
- Added option to run in fullscreen windowless mode by replacing in that scenario the dialogs with windows.
2010-10-16 08:15:40 +00:00
oliverschmidt b943e73b9b Made default IP config identical to minimal-net and log the IP config similar to minimal-net. 2010-10-15 21:14:18 +00:00
nifi e2b4956a7f Bug fix: release the packet and notify the sender if RDC returned an error 2010-10-14 19:08:39 +00:00
nifi 5a94145f7e Bug fix: corrected sort with average numbers 2010-10-14 18:53:08 +00:00
nifi b49db633f3 Added button to connect to serial in the node control panel 2010-10-14 18:13:09 +00:00
nifi 0322b4ed22 Bug fix (typo) 2010-10-14 17:00:56 +00:00
nifi 603a475584 Added beacon interval to node info panel 2010-10-14 16:49:34 +00:00
nifi c522b9333c Marked the row with avereage values with bold font 2010-10-14 06:45:45 +00:00
nifi a5fe4ae1c3 Changed average values to always be floating-point 2010-10-14 06:31:38 +00:00
nifi 0d7f895744 Added configuration of max item count in time charts 2010-10-13 22:55:47 +00:00
nifi 1ca83eb314 Added average values 2010-10-13 22:55:14 +00:00
fros4943 131d0b5853 minor bugfix: reverse search (ctrl+f, shift+enter) 2010-10-13 11:31:10 +00:00
fros4943 8c3f4859b4 removed log data string caches (reduces memory usage), added mote highlighting by clicking on Mote column 2010-10-13 08:33:22 +00:00
nifi 9a4d17fe7c Bug fix: put device in standby mode at startup in case it has previously been put in deep power-down mode; patch by Martin Bor 2010-10-12 22:55:11 +00:00
nifi a292ff9fe6 Added legend 2010-10-12 22:26:56 +00:00
oliverschmidt a5df3e8d00 Removed unnecessary include. 2010-10-12 19:57:44 +00:00
oliverschmidt 2f89e69ff7 Fixed build for platforms which use the default value for QUEUEBUF_NUM. 2010-10-12 19:51:28 +00:00