Commit graph

1787 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
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 af3f4ae679 Added warning if the plugin fails to start the CollectView application 2010-10-12 16:48:43 +00:00
adamdunkels 3edd8ff316 Updated tests to match new collect-view-data command syntax 2010-10-12 12:05:43 +00:00
fros4943 ece7919f49 added removed()-method for mote objects 2010-10-12 10:58:31 +00:00
fros4943 d470c20029 print test script progress for long running tests 2010-10-12 10:57:22 +00:00
fros4943 e56dccb840 save time formatting to config 2010-10-12 10:56:25 +00:00
fros4943 375e6fb1b4 added simple search functionality (ctrl+f) 2010-10-12 10:31:22 +00:00
fros4943 3238302326 + channel support in dgrm, signal strength bug fix 2010-10-12 10:29:43 +00:00
fros4943 8782094b2f minor updated: more zoom levels, implemented mote highlighting, updated channel-specific colors, added move to top mote action 2010-10-12 10:27:26 +00:00
fros4943 f837678608 + simple time formatting hh:mm:ss.sss, currently accessed by mouse clicking column header 2010-10-12 10:04:35 +00:00
nifi 98702b2e85 Simple plugin to connect the CollectView demo to COOJA 2010-10-11 09:29:05 +00:00
nifi 5988b06bd1 Readded support for Sentilla platforms that was accidentally lost in previous version 2010-10-08 05:54:51 +00:00
joxe f78fd63fd7 fixed bug in serial printout related to TinyOS-mode 2010-10-07 13:09:28 +00:00
joxe a5aa083fa4 update version of mspsim - optimized flash read 2010-10-07 13:07:44 +00:00
adamdunkels 14940b65b8 Added the total power consumption to each powertrace printout; updated powertrace scripts to reflect this change 2010-10-06 18:40:21 +00:00
nifi db5667ac8d Ignore access control problems when looking up debug info 2010-10-04 22:33:58 +00:00
oliverschmidt 5feb646462 Call Makefiles to build binaries before creating the images. 2010-10-04 22:13:45 +00:00
joxe 67c76649d9 small optimizations and cleanups 2010-10-04 12:54:01 +00:00
nifi 63c685c852 bug fix 2010-10-04 10:52:26 +00:00
nifi 5172027bae minor optimization: avoids multiple checks and only check simulation thread when assertions are enabled 2010-10-04 10:11:55 +00:00
fros4943 e4e892bc49 added methods for saving radio connections to file from test scripts, as suggested on the develop mailing list 2010-10-04 08:14:55 +00:00
adamdunkels d70783528f Increased number of retransmissions from 15 to 31 2010-10-03 20:22:18 +00:00
adamdunkels 7fcad36c43 Updated scripts to new output 2010-10-03 20:21:46 +00:00
oliverschmidt 1e7cf9865e Added Breadbox64 to the Atari Makefile (now that I ported BB64 to that target). This made three disk images necessary. 2010-10-01 22:38:39 +00:00
oliverschmidt 3851548684 Added support for the Atari to the Contiki download page.
The Atari disk image tools don't allow to place contiki.cfg at a fixed location. Therefore the byte offset of the contiki.cfg content isn't constant :-( However using the tool adir with the option -r allows to learn the block number of the contiki.cfg content. So this block number is stored for each Atari disk image in the PHP code (in the array $blk) and translated into the correct byte offset.
2010-09-30 20:32:07 +00:00
oliverschmidt d59e65a8f2 Added (preliminary) Atari support to the disk image Makefile. 2010-09-29 22:41:37 +00:00
oliverschmidt c839eacbdf Added cc65 target 'atari' for Atari 8-bit machines. This addition was triggered by exsistence of http://www.atari8ethernet.com/. 2010-09-29 19:44:01 +00:00
oliverschmidt cd24e920b6 Made cfs-based webserver example compatible with 8.3 file systems. 2010-09-28 20:40:52 +00:00
oliverschmidt 8631ae8515 Made cfs-based webserver example compatible with 8.3 file systems. 2010-09-28 19:43:50 +00:00
joxe 867100a40c new version of mspsim - a rebuild of COOJA is needed. - several fixes + dwarf support + exception when writing to PxIN 2010-09-27 20:35:19 +00:00
fros4943 83adbeee55 register visualizer skin 2010-09-24 12:49:37 +00:00
fros4943 4fe2f4b8d9 visualizer skin showing mote-specific edges (for dgrm) 2010-09-24 12:49:14 +00:00
fros4943 7b31e571e2 minor fix: visualized plugins z-order was not correctly loaded 2010-09-24 12:48:04 +00:00
adamdunkels bc211db5fd A version of the Contiki shell collect test but with stocastic packet loss. This tests that the collect protocol correctly handles lossy networks. 2010-09-13 13:57:17 +00:00
nifi d7c1fffd51 Updated SkyFlash to be used with any M25P80 equipped mote 2010-09-09 19:56:59 +00:00
nifi 2835cdadff Updated to be used with any CC2420 equipped mote 2010-09-09 19:52:26 +00:00
nifi 5b62629afc Updated to use ArrayQueue instead of a linked list for faster random access 2010-09-09 19:52:08 +00:00
nifi a6c49f138e Queue implementation using a rotating, resizable array for fast random access 2010-09-09 19:51:53 +00:00
fros4943 1b87be975a changed default udgm to calculate success probabilities by distance. the previous behavior of udgm was renamed to "UDGM: Constant Loss" 2010-09-06 12:00:46 +00:00
fros4943 925759e72c added simple way for user to reconfigure application radio's channel 2010-08-31 07:35:22 +00:00
nifi 4ad3e9d04f Updated to allow MSPSim emulated nodes without debug information (the debug information generated by mspgcc4 is not yet supported). 2010-08-26 14:10:42 +00:00
joxe ef880ddf1f added Zolertia Z1 tools 2010-08-24 15:48:20 +00:00
fros4943 afbd65a68f clear menu option + time focus on double-click 2010-08-17 15:04:56 +00:00
fros4943 5a46c64e57 introduced global timeout function, not yet documented 2010-08-17 15:04:15 +00:00
fros4943 49353be13b do not write to external test script file 2010-08-17 15:03:52 +00:00
fros4943 bd81fb29fe minor bug fixes + support for panning with alt+mouse + two new experimental features: log execution details and active radio channels 2010-08-13 10:23:20 +00:00
fros4943 f45e5fbd6b notify observers when radio channel changes 2010-08-13 10:20:07 +00:00
fros4943 982415c506 minor bug fix: address may be null 2010-08-13 10:19:20 +00:00
fros4943 3deb4408df implementing getExecutionDetails() by returning a stack trace 2010-08-13 10:18:54 +00:00
fros4943 fb2966fe3f updated mspsim.jar with channel listener support 2010-08-13 10:17:57 +00:00
fros4943 494d61b166 time focus on space key 2010-08-13 10:03:58 +00:00
fros4943 733664e8c2 mote-specific coloring bug fix + time focus on all active plugins 2010-08-13 10:03:12 +00:00
fros4943 797896d152 new method getExecutionDetails() 2010-08-13 09:59:41 +00:00
fros4943 bcc62fbb65 no error dialog for mspsim breakpoints 2010-08-13 09:53:33 +00:00
oliverschmidt 46b83d6ba4 Included Breadbox64 into cc65 binary relaease tools.
This additional application results in three disks for the Apple2, two disks for the C64 and one disk for the C128. Therefore the download page can't get along anymore without some JavaScript adjusting the number of downloadable disks depending on the selected machine. With JavaScript turned off access to non-existent disks (i.e. disk 3 for the C64) results in a successfull download of a zero byte sized file - not exactly great but at least a defined behaviour.
2010-08-05 22:50:19 +00:00
dak664 52ff852aa8 Add optional time stamps, delays, and verbosity levels 2010-07-30 20:44:24 +00:00
fros4943 3fc00a8bed minor fix to allow adding mote interfaces from configuration 2010-07-05 16:48:55 +00:00
fros4943 7712b7e1ed fixed nogui-argument 2010-07-01 11:14:00 +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 3fa8ffda1a Moved the modules packetbuf, queuebuf, and packetqueue from net/rime to net/, since they are not Rime-specific 2010-06-14 19:19:16 +00:00
fros4943 53e150f240 bugfix: autofiltered data did not always trigger serial port event 2010-06-11 14:12:09 +00:00
fros4943 f3f6a0de24 minor fixes: using split pane, bugfix with canonical paths, added remove button 2010-06-11 09:12:21 +00:00
fros4943 b540408add added argument for disallowing config relative paths 2010-06-11 09:10:52 +00:00
nifi 351325b7f4 minor cleanup of example (changed to use uiplib to parse IPv6 address) 2010-06-01 13:31:23 +00:00
nvt-se ef16508613 Fixed problems with boot order and short timeouts in the UDP tests. 2010-06-01 12:23:24 +00:00
joxe 8e619e991d added support for sending link prefix to RPL border router 2010-05-25 19:05:31 +00:00
joxe 0d3c7edd6c fixed for new uip_buf 2010-05-24 11:10:51 +00:00
fros4943 2f64d4b3ab minor addition: sort motes by distance 2010-05-21 08:46:44 +00:00
adamdunkels 052c536db7 Remove the unicast mass-send test since the default number of queuebufs cannot handle 20 concurrent packets 2010-05-20 20:56:36 +00:00
fros4943 106bcc3c66 disable tree icons icon at errors 2010-05-19 17:52:23 +00:00
fros4943 83a1819992 fix: default icons are not always available 2010-05-19 17:38:46 +00:00
fros4943 b229e9aa59 rewrote project dialog, for easier import and management of cooja projects 2010-05-19 17:32:53 +00:00
nifi 16a3f710a4 Minor optimization: only lookup data when needed 2010-05-19 12:58:15 +00:00
fros4943 d6d84a1baa Added support for attribute colors, as introduced by the VisualHints Contiki project by Joris Borms.
Example usage in Contiki:
printf("#A myattr=123;RED\n"); // color myattr attribute
printf("#A color=RED\n"); // color mote

For more examples, see the MoteAttribute documentation.
2010-05-17 14:32:30 +00:00
fros4943 89c2c0c2c4 updated documentation examples 2010-05-17 14:21:51 +00:00
fros4943 5a3a938d1b added mote attribute visualizer skin: prints mote attributes below each mote 2010-05-17 11:44:16 +00:00
fros4943 e7b0902799 attribute summary method made public 2010-05-17 11:41:22 +00:00
fros4943 66657d9980 updated mspsim.jar that allows reading the current cpu speed 2010-05-17 09:57:31 +00:00
fros4943 8d7f9e2d72 plugin cleanup: removed list of mote interfaces, instead providing links to useful mote plugins 2010-05-17 09:30:27 +00:00
fros4943 f237e16d71 added stub for reading current cpu frequency of emulated motes 2010-05-17 09:29:28 +00:00
nifi 2bfeb01dcd Replaced borders with separator for a more compact view 2010-05-09 22:50:34 +00:00
joxe ffdda2259f made COOJA avoid guessing that the debug printouts are TinyOS if many SLIP chars in stream 2010-05-09 19:45:57 +00:00
nifi 99b2dd8ef7 Added option to connect to server instead of serial port 2010-05-07 12:22:41 +00:00
nifi d34f278256 jcreate now has its own platform 2010-05-04 10:38:55 +00:00
nvt-se 35282593c0 Updated the test information messages. 2010-05-03 14:56:13 +00:00
nvt-se c50e4ab4f3 Switched to examples/udp-ipv6 as the code for the test 2010-05-03 14:48:47 +00:00
fros4943 be5656ec2e set cooja mote random seed depending on simulation random seed 2010-05-02 09:42:52 +00:00
nvt-se 528614e89f Converted the test to examples/udp-ipv6 2010-04-30 22:16:51 +00:00
nvt-se 15f84a93fa Converted the test to use examples/udp-ipv6 2010-04-30 16:20:42 +00:00
nvt-se 66d99e00ec Removed obsolete test for the rimeroute module 2010-04-30 16:04:23 +00:00
fros4943 dc25860caa added option for mote-specific background coloring in log listener 2010-04-28 09:39:26 +00:00
fros4943 f4976f8800 test info minor fix 2010-04-27 07:15:33 +00:00
fros4943 dcc949e9ba set serial socket project to default cooja project 2010-04-26 08:21:01 +00:00
fros4943 87dd04fbd8 compiling serial socket project per default 2010-04-26 08:20:11 +00:00
fros4943 c2876b2d25 minor fix: save iconified plugins 2010-04-26 08:19:32 +00:00
fros4943 a430573688 restructured focus menu items, removed debugging output 2010-04-26 08:05:31 +00:00
fros4943 c7ef068f33 improved zoom 2010-04-26 08:00:19 +00:00
joxe 9f00170c59 made tunslip6 take an argument for TAP/TUN 2010-04-16 12:39:46 +00:00
nifi 6d9f904627 Minor cleanup of the radio logger output (packet description). 2010-04-06 23:38:18 +00:00
adamdunkels d9d3f7b6b5 Bugfix: don't send packets if they are shorter than the link layer header length 2010-04-05 21:05:56 +00:00
adamdunkels 5af47a2f0c Latest SVN version of MSPsim 2010-04-04 12:31:05 +00:00
joxe 3a286c4f93 improved tunslip6 with support for debug printouts and configuration of IPv6 address 2010-04-02 18:17:20 +00:00
joxe df4247f0c6 slightly improved timing on CCA/RSSI in the CC2420 emulation 2010-04-01 18:15:05 +00:00
fros4943 2595d31367 updated collect test: bigger network (50), more hops, bugfixed duplicate detection 2010-04-01 12:22:39 +00:00
joxe 02dc04cc6a improved CC2420 emulation 2010-03-31 20:11:03 +00:00
fros4943 70ab82761b test now also includes multi-hop pinging (uip_over_mesh), up to 4 hops 2010-03-31 09:35:01 +00:00
oliverschmidt 8dd2b75383 Explicitly set CBM filetypes (PRG, USR). 2010-03-31 06:05:37 +00:00
fros4943 bb7944a201 workaround to survive the bad characters that are sometimes printed by mspsim-based motes + make clean before compilation 2010-03-29 14:14:09 +00:00
fros4943 6460bc1214 old compilation flag WITH_NULLMAC=1 was replaced by netstack's nullmac_driver and nullrdc_Driver 2010-03-29 13:00:15 +00:00
fros4943 f228272cfc test update: contiki shell prompt was changed 2010-03-29 10:52:22 +00:00
fros4943 d84f84de52 bugfix: using MspMoteTimeEvent:s to ensure that MSPSim's internal clock is correct when button is clicked 2010-03-29 10:18:14 +00:00
fros4943 9316b31d9a shell command 'ps' was removed from sky-shell.c, instead using 'echo' in test 2010-03-29 09:20:47 +00:00
fros4943 90f174509b removed previous workaround for already fixed bug in CC2420 CRC 2010-03-26 13:33:40 +00:00
fros4943 ce5d19fefd moved elf loading and debugging info to the mote type, rather than keeping a separate refence in each mote. this patch reduces both the memory usage of MSPSim-based motes, and the processing time to load them 2010-03-26 12:29:11 +00:00
nifi e6a8ba41fd Added consumer thread timeout 2010-03-26 10:11:50 +00:00
fros4943 9a32ec8a31 using update aggregator to avoid event queue flooding in fast simulations, restructured copy to clipboard popup menu 2010-03-26 09:29:04 +00:00
fros4943 c6c0b1b486 help class that simplifies effective handling of high rate events, that otherwise might flood the event queue 2010-03-26 09:27:58 +00:00
fros4943 96979b5fbf lower simulation thread priority, added timeout on blocking stop simulation method 2010-03-26 09:26:22 +00:00
fros4943 e4c3ac8125 synchronizing access to log list 2010-03-26 09:12:20 +00:00
joxe 1f4ced16eb fixed ack with DSN CC2420 and improved timer capture 2010-03-25 16:32:00 +00:00
fros4943 20d9f70b09 plugin is updated to support non-visualized simulations 2010-03-25 08:00:15 +00:00
nifi 81dbcf1654 Added option to move motes in Visualizer without confirm dialog by dragging motes with ALT button pressed 2010-03-24 14:22:56 +00:00
fros4943 78069e8853 minor fix: section size was printed in hex, not decimal 2010-03-24 12:29:33 +00:00
nifi 75481f6460 Removed debug output 2010-03-23 12:05:36 +00:00
adamdunkels 8f7e96b06f Tools for parsing and plotting a power trace from Contiki 2010-03-19 22:01:34 +00:00
fros4943 f2a1604b63 make portable paths method public 2010-03-19 15:04:51 +00:00
fros4943 54db259c32 using EXPORT attribute to automatically copy firmware files in executable JARs 2010-03-19 15:04:05 +00:00
fros4943 4498c39e9e removed debugging output 2010-03-19 15:03:14 +00:00
fros4943 e83635832a added simconfig attribute EXPORT that determines how files should be handled when a simulation is exported as an executable JAR 2010-03-19 15:02:26 +00:00
nifi cba5256ca2 updated to use uip-ds6 2010-03-19 12:58:17 +00:00
fros4943 ae122627de export project config to allow project plugins to be run from executable jars 2010-03-19 12:34:37 +00:00
fros4943 c71b5b60d0 minor bugfix: cause may be null 2010-03-19 12:34:03 +00:00
fros4943 aa41f9218a loading user settings before generating executable jar, added debugging output 2010-03-19 11:32:59 +00:00
fros4943 c5c6c3b775 return success (0) after exporting jar, use portable firmware paths in exported config 2010-03-19 09:08:38 +00:00
fros4943 09446c0ee7 added export-jar target, updated help 2010-03-19 08:57:04 +00:00
nifi ef5a4a6ad7 only add separator if there is more data 2010-03-17 22:44:20 +00:00
nifi 0a579e0c6a Bug fix: only continue to analyze packet data when ANALYSIS_OK_CONTINUE is returned from previous analyzer. 2010-03-17 14:16:13 +00:00
nifi 60ea81297a Removed the IPHC flags from the brief packet description (the flags are shown in the verbose description) 2010-03-16 13:10:50 +00:00
fros4943 79f4dd467e added maximum log message size (1024 bytes) to avoid buffering up on binary serial output 2010-03-15 22:04:26 +00:00
fros4943 2f20d6b108 fixed cc2420's received signal strength indicator to be an average of the last 8 symbols (192us) 2010-03-15 19:22:03 +00:00
fros4943 573e772a32 removed contiki cooja template source, updated configurations 2010-03-15 11:04:37 +00:00
fros4943 ace6cff93f do not generate source + prepare environment method was updated 2010-03-15 11:04:06 +00:00
fros4943 99fe1faa0a updated mspsim.jar with improved sht11 support 2010-03-15 08:06:12 +00:00
fros4943 4fa88d2bfd added method for getting mote interfaces based on class names + getInterfaces() returns a collection instead of a vector 2010-03-14 19:50:34 +00:00
fros4943 4710441bb6 added temperature mote interface for sky motes 2010-03-14 19:45:04 +00:00
fros4943 5877528f3a added possibility to add radio logger analyzers from cooja projects 2010-03-12 16:02:47 +00:00
joxe efda8edcc5 fixed UDP uncompression 2010-03-12 14:23:40 +00:00
fros4943 ef35fe6e6e added experimental visualizer skin that shows the current source code of each mote in the simulation (for emulated mspmotes only) 2010-03-11 22:15:58 +00:00