Commit graph

5292 commits

Author SHA1 Message Date
nvt-se 07a2179953 simplified 2010-05-24 15:43:18 +00:00
joxe 16c212798f cleanup of the code, removing dead core + adding local vars to save some space. 2010-05-24 14:28:56 +00:00
joxe 0d3c7edd6c fixed for new uip_buf 2010-05-24 11:10:51 +00:00
joxe 2d447502d4 changed uip_buf to a union for 32-bit alignment 2010-05-24 10:07:34 +00:00
joxe 9db7f06368 fixed compiler warnings 2010-05-24 09:57:20 +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
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
nifi a9aacac63a Fixed to set address on interface 2010-05-20 11:27:14 +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
joxe 56a3a71108 added include of string.h since memcpy are used 2010-05-19 16:16:57 +00:00
nifi 16a3f710a4 Minor optimization: only lookup data when needed 2010-05-19 12:58:15 +00:00
joxe 5c30aed814 removed nd llao option struct since not naturally aligned - replaced struct fields access with array based access 2010-05-19 12:21:45 +00:00
nifi 86879f66ac removed internal make targets 2010-05-18 17:05:45 +00:00
nvt-se 4411807b29 Fixed bug in DAO input. Made printfs more portable. 2010-05-18 16:43:56 +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
nvt-se 8c3ed291bb Preserve the file offset if a seek operation fails. 2010-05-13 18:24:55 +00:00
nifi ed4debe285 Changed neighbor notification to be default on when using RPL 2010-05-11 10:02:29 +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 7aeb206840 Added isinfinite to uip_ds6_defrt_t to handle infinite life time 2010-05-10 13:46:35 +00:00
nifi 808116ff56 Made SFD timestamps configurable via external definition 2010-05-10 11:32:44 +00:00
joxe 058ef029e4 replaced hardcoded value with constant for route lifetime 2010-05-10 11:16:35 +00:00
joxe c0c7cea3ce fixed bug that caused select_src to set a non legal address - now sets unspecified if no address found 2010-05-10 11:10:27 +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
joxe 6f66d36d67 avoid sending DAO when address is tentative 2010-05-09 19:12:47 +00:00
joxe 50cca91d93 made use of the new link-local address api in ds6 2010-05-09 17:53:31 +00:00
joxe adb00ed932 factored out function for getting link local address in ds6 and made use of it in rpl for checking state of lladdress as DIOs should not be sent when tentative 2010-05-09 17:52:37 +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
dak664 6909f291af Use siimple ethernet address translation for RF230BB by default.
That gets pings and webserver working again for Vista and W7.
Hopefully it won't break something that already works...
2010-05-08 17:17:17 +00:00
oliverschmidt bf3ec8c452 Reverting to the "old" plain uip_buf allows the Apple2 to revert to the previous memory layout. 2010-05-08 07:26:20 +00:00
oliverschmidt 2169932727 Have the cc65 based targets stay with the "old" plain uip_buf. 2010-05-08 07:25:10 +00:00
oliverschmidt e5665fb968 The recent change turning uip_buf from an array to a pointer seems a quite heavyweight way to have the uip_buf alligned to a 32-bit boundary. Contiki is - still - supposed to be portable across a wide range of toolchains - therefore it i.e. intentionally doesn't use C99 features. From that perspective it seems questionable if all toolchains are able to optimize away the overhead imposed by an "unnecessary" indirection to access uip_buf - and uIP consists mostly of accesses to uip_buf. Even if the future is supposed to bring support for multiple uip_bufs which would turn the uip_buf pointer from a mere workaround to an neceesary element on can still presume that there will be targets with resources limited in a way prohibiting the use of several uip_bufs. So at least for those targets will still be a usecase for a "plain", not indirected uip_buf.
Therefore it seems reasonable to allow to stay with the "plain" uip_buf at compile-time.
2010-05-08 07:23:55 +00:00
oliverschmidt 62ca797fad The recent change turning uip_buf from an array to a pointer increases the code generated by cc65 significantly :-(
This change modifies the set of modules placed in the Apple2 Language Card to again make maximum use of that memory without overflow.
2010-05-07 21:02:35 +00:00