Commit graph

3438 commits

Author SHA1 Message Date
adamdunkels 4ec5167276 Rewrote the tcpip_output() and tcpip_set_outputfunc() so that the latter is a proper function (which simplifies debugging) and so that tcpip_output() checks if the output callback function is NULL before calling it 2009-02-20 21:21:56 +00:00
fros4943 7c86f70573 test template used by configuration wizard 2009-02-20 16:59:52 +00:00
fros4943 d95c26b49e deleting build output before recompiling 2009-02-20 16:51:00 +00:00
fros4943 660167b39b added configuration wizard to replace the jni_tests 2009-02-20 16:50:16 +00:00
fros4943 7a216dc837 made two static methods public 2009-02-20 16:49:43 +00:00
julienabeille 10deaa6fc6 Removed CLOCK_SECOND from stimers in uIPv6, stimers are already in seconds 2009-02-20 07:59:35 +00:00
adamdunkels 47a6eb5210 Fixes by Luca Mottola: don't call write with zero-length data; added parameter to specify block size to read command 2009-02-19 22:56:56 +00:00
nvt-se 957ae56b13 broke out the essence of the search algorithm to a separate function. 2009-02-19 21:35:38 +00:00
julienabeille 710e5c621c changed timer to stimer for neighbor, prefix, default router, address list 2009-02-19 16:42:41 +00:00
fros4943 264529708e sorting plugin menu according to plugin type 2009-02-18 17:25:14 +00:00
fros4943 11734b3c3b minor fixes + added script line numbers 2009-02-18 16:43:42 +00:00
fros4943 91a68128d3 added error info at incorrect contiki path 2009-02-18 16:11:14 +00:00
fros4943 0e9add68ce remove new motes without stopping simulation: from timevent invoked by simulation loop
enables test scripts to remove new motes
2009-02-18 16:01:31 +00:00
fros4943 d458fe79b5 add new motes without stopping simulation: from timevent invoked by simulation loop
enables test scripts to add new motes
2009-02-18 15:57:47 +00:00
fros4943 472ecf2120 added progress bar while scanning contiki (may take several seconds) 2009-02-18 15:02:32 +00:00
fros4943 e3264d2e00 added manual positioner to default config 2009-02-18 13:59:08 +00:00
fros4943 a9701e0b62 added manual positioner: allows user to manually enter every mote position 2009-02-18 13:55:51 +00:00
fros4943 dc48615e51 do not dispose add mote dialog if positioner fails, simply abort 2009-02-18 13:55:24 +00:00
fros4943 8ddaf79361 added debugging output when positioner fails 2009-02-18 13:55:01 +00:00
fros4943 9e9b712e5d removed example mote type implementation from default configuration 2009-02-18 12:12:53 +00:00
fros4943 00273dce75 minor changes and documentation regarding using random generators in Cooja 2009-02-18 12:07:19 +00:00
fros4943 cc56325300 main random generator must not be used for setup tasks such as node positioning 2009-02-18 11:49:54 +00:00
fros4943 fbb09061c8 example mote implementation uses main random generator 2009-02-18 10:41:50 +00:00
fros4943 00c88ca2d3 removed creating unnecessary random generator 2009-02-18 10:40:25 +00:00
fros4943 e907e4dace quickstart uses main random generator 2009-02-18 10:35:31 +00:00
fros4943 d530b44e5a using main random generator 2009-02-18 10:11:32 +00:00
fros4943 3c83d14059 clearing test log when reactivated 2009-02-18 10:11:11 +00:00
fros4943 8e9686e01d added option to make random seed automatically generated at simulation load
+ a single random generator instance is used instead of sharing seed between different parts of the simulator
2009-02-18 10:09:32 +00:00
nvt-se 07c50cc200 corrected file cache status checks in previous commit. 2009-02-17 18:50:29 +00:00
nvt-se d029dd8240 cleaned up mostly the GC code.
made EOF hints optional.

default build is now ~500 bytes smaller.
2009-02-17 16:56:32 +00:00
nvt-se a2d651af72 seek test (-25) failed sometimes because it assumed a default file size of 8kb. reserve the file instead so the default doesn't matter. 2009-02-17 15:08:01 +00:00
fros4943 ffcf7fc43b added some commonly used mote actions in right-click menu: show leds and serial port.
+ dragndrop stub methods
2009-02-17 14:09:51 +00:00
fros4943 411d92a297 minor fix: only reporting test ok if test did not already fail 2009-02-17 12:58:13 +00:00
fros4943 663a0b2c9b increased test timeout and also comparing number of received notifications vs sent notifications 2009-02-17 12:53:59 +00:00
fros4943 97f76126e6 remembering last received packet id to avoid multiple recv callbacks for the same retransmitted packet (but still sending back acks of course) 2009-02-17 12:40:18 +00:00
fros4943 0ae2ac378e explicit "bash -c" no longer needed 2009-02-17 11:54:18 +00:00
fros4943 43d21e6e31 forcing all commands to be parsed/executed by bash to simplify multiple make commands 2009-02-17 11:47:12 +00:00
fros4943 ab61e8b8b5 bugfix: including random.h to avoid random_rand() assumed signed, and timer intervals becoming very very small 2009-02-17 08:44:44 +00:00
c_oflynn 8516626703 Fixed documentation error (thanks to David Kopf) 2009-02-17 01:28:28 +00:00
fros4943 4bf96fba26 updated test to transfer files over a multihop link, to use NULLMAC, and to clean before and after building the sources
NULLMAC is used mainly to reserve ROM
2009-02-16 12:40:28 +00:00
fros4943 71836a0f8e split command into arguments is unnecessary 2009-02-16 12:37:18 +00:00
adamdunkels 36bb3ece64 If no neighbor is found, we listen for announcements. Cleaned up debug output. 2009-02-16 01:18:53 +00:00
adamdunkels aaa8c9d2c9 Construct the X-MAC header on the stack instead of directly in the packet header, because the packet header may be misaligned. A bit of cleanup in the code too. 2009-02-15 22:05:06 +00:00
adamdunkels bed1b4cc4f Changed to use sky-checkpoint.c instead of sky-shell.c since checkpointing was disabled in sky-shell.c 2009-02-15 08:45:30 +00:00
adamdunkels 0d699abe79 Disabled checkpointing for the default sky-shell build to reduce object code size, instead added a separate sky-checkpoint build with checkpointing but without the 'sky-alldata' command 2009-02-14 22:53:00 +00:00
adamdunkels 7781bbea58 Enabled X-MAC announcements by default, disabled polite broadcast announcements by default 2009-02-14 22:52:24 +00:00
adamdunkels e4b1ff461e Added MAC-layer announcement beacons to X-MAC. Configuratble through XMAC_CONF_ANNOUNCEMENTS 2009-02-14 20:35:03 +00:00
nvt-se 883d10e136 GC fix: isolated pages must always be allocated.
page allocation: increased utilization because the algorithm failed to
count all space before.

style: renamed and simplified some code and names.
2009-02-14 19:09:17 +00:00
nvt-se b8f3dca765 fixed merge_log bug and space allocation error with isolated pages. 2009-02-12 11:24:22 +00:00
adamdunkels 13a3029435 Rewrote the random_rand() pseudo random number generator to use the libc rand() function instead 2009-02-11 11:09:59 +00:00