Commit graph

5278 commits

Author SHA1 Message Date
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
oliverschmidt dec19626e8 Adjusted UIP_CONF_EXTERNAL_BUFFER to apply to actual buffer only. 2010-05-07 20:45:16 +00:00
fros4943 bc0ea1f81d bug fix: dag pointer may be NULL 2010-05-07 13:51:34 +00:00
nifi 99b2dd8ef7 Added option to connect to server instead of serial port 2010-05-07 12:22:41 +00:00
nifi 4aba60ad25 acc-sensor and ext-sensor moved to the jcreate platform 2010-05-06 13:55:21 +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 cd5dfa9692 added const for the uip_buf pointer for more efficient and smaller uip code and fixed same construct for the sicslowpan code 2010-05-05 13:07:45 +00:00
nvt-se e4187b2fc8 Made pointers constant and thereby reduced the code size slightly. 2010-05-05 12:35:39 +00:00
nvt-se 361e210751 Improvements to style and commentary. 2010-05-04 22:55:32 +00:00
joxe 01881f92a8 added missing include 2010-05-04 14:41:55 +00:00
joxe b54f410bc8 minor cleanup 2010-05-04 14:40:52 +00:00
dak664 972e2f5d4f Add MCU to avr-size command; Remove fuse and signature from .hex; Give bootloader more memory 2010-05-04 14:14:49 +00:00
dak664 e78984aa25 Bugfixes and additional testing contributed by Mauro Greco. Still a probabe bug when coffee page size is a multiple of physical page size and FLASH_COMPLEMENT_DATA=0 2010-05-04 14:08:01 +00:00