Commit graph

7287 commits

Author SHA1 Message Date
Nicolas Tsiftes a81cbbbd80 Do not return test execution status. The information is already available in the test object, and it becomes possible for test function to easily clean up state allocated during the test by putting such code after UNIT_TEST_END. 2011-12-01 14:40:54 +01:00
Oliver Schmidt e38f008b9b The dependency on the ucontext functions has the potential to keep others from successfully using cpu/native for other platforms. As the Contiki multithreading library typically isn't used at all it's not worth the trouble. So we just limit it to Windows and Linux - where it is known to not only build but actually work. If someone needs the Contiki cpu/native multithreading library on another platform he's certainly welcome to add that platform - hopefully by just activating the codepath that we now made exclusive for Linux for his platform. 2011-11-30 23:41:39 +01:00
Adam Dunkels 8edd86da5e Bugfix: PROCESS_PAUSE() must explicitly check the event type, otherwise we may cause the process event queue to fill up if we repeatedly call PROCESS_PAUSE() while other (broadcast) events are posted as well, such as timer events. 2011-11-22 09:36:27 +01:00
David Kopf fb977cb9ef Better fix for hardware FCS error on JTAG reset
Correct silly error introduced by trying to save two bytes.
2011-11-15 13:24:58 -05:00
Niclas Finne 63e40d195e Restore packetbuf before mac callback (earlier commit was accidental reverted) 2011-11-15 16:59:12 +01:00
Niclas Finne c273969400 Added missing include 2011-11-15 15:14:43 +01:00
David Kopf 8e47694597 Add RDC_CONF_HARDWARE_CSMA, RDC_CONF_HARDWARE_ACK, RDC_CONF_MCU_SLEEP, CONTIKIMAC_CONF_SHORTEST_PACKET_SIZE for use with hardware having those modes.
Default behaviour should be unchanged.
2011-11-14 12:02:47 -05:00
David Kopf 3612fdff5b Add params.c to Raven and sync with 128rfa1 contiki-conf.h
Contikimac works with mcu sleep on both platforms.
2011-11-14 11:56:34 -05:00
David Kopf 65032c4d35 Get better random seed on startup 2011-11-14 11:51:54 -05:00
David Kopf 31ba84eb75 Improve rf23x cca procesing
Fix delay_loop timing bug by using long long calculation.
128rfa1 and rf230 both working with contikimac RDC
2011-11-14 11:49:58 -05:00
David Kopf 062b85123e Add Raven battery display to status page 2011-11-14 11:38:44 -05:00
David Kopf d1cd3f213c Add general unsupported interrupt vector suggested by Daniel Willmann 2011-11-14 11:36:18 -05:00
David Kopf 567815cc56 Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-11-14 11:33:16 -05:00
David Kopf 6eba721af1 Add rtimer_arch_sleep function, enabled with RDC_CONF_MCU_SLEEP 2011-11-14 11:10:35 -05:00
Niclas Finne e6673bd3f6 Renamed context menu item: 'Focus' -> 'Show in' 2011-11-09 23:10:05 +01:00
David Kopf bdd164e003 Reverse node_id bytes, patch from Geog von Zengen 2011-11-08 12:23:29 -05:00
David Kopf c2364897f8 atmega128rfa1 cca fixes, energest and rimestat macros.
Add option to return ACK to RDC layer when in extended mode, based on Georg von Zengen code.
2011-11-08 12:20:22 -05:00
David Kopf 9587b39707 atmega128rfa1 ajax power and sensor reporting, longint calculation bugfixes. 2011-11-08 12:14:31 -05:00
Joakim Eriksson 5281e7c59c made linkable with IAR linker - avoiding multiple defs of rime_sniffer, etc 2011-11-08 11:57:17 +01:00
David Kopf 91cf1cc92e Condense js file and hopefully convert to unix line endings. Move r.abort to stop button so IE9 can stop ajax streaming. 2011-11-05 14:34:04 -04:00
David Kopf 404895ec04 Add streaming ajax page with csv text buffer 2011-11-03 14:58:33 -04:00
Fredrik Osterlind 76d7238c77 updated doc 2011-11-03 15:41:37 +01:00
Fredrik Osterlind ffa4482799 improved capture effect support in mrm: capture effect is effective if the latter transmission is stronger and no later than half the preamble 2011-11-03 11:23:51 +01:00
Fredrik Osterlind 5cde978549 try to restore edges loaded from old simulation configuration 2011-11-01 11:52:34 +01:00
Fredrik Osterlind ff42490e7b example directional antenna 2011-11-01 11:39:31 +01:00
Fredrik Osterlind eb84fbeb79 * bugfixed and rewrote MRM to improve configurability
* improved MRM GUI, including MRM visualizer skin that shows prr and rss
* added experimental support for directional antennas
2011-11-01 11:37:19 +01:00
Fredrik Osterlind 77057ede8a help class that simplifies implementing serial forwarders 2011-11-01 09:55:08 +01:00
Fredrik Osterlind 370ad52620 quick hack for reloading script from disk when script is activated 2011-11-01 09:50:15 +01:00
Fredrik Osterlind d84cf2acb5 added writeFile method to be used from scripts 2011-11-01 09:46:59 +01:00
Fredrik Osterlind 7c20758662 example code for manually configuring sky motes MAC addresses 2011-11-01 09:38:46 +01:00
Fredrik Osterlind 3154d73e24 read .gz files 2011-11-01 09:35:09 +01:00
Fredrik Osterlind ac39443f9c improved api 2011-11-01 09:30:30 +01:00
Fredrik Osterlind c96eb826d7 minor fix on locating config file 2011-11-01 09:20:49 +01:00
David Kopf a547b2259e Avoid infinite loop when printing garbled packets 2011-10-27 11:13:26 -04:00
David Kopf 899123a634 Use fixed font for neighbors and routes 2011-10-27 09:25:56 -04:00
David Kopf 659d30c6c2 Fix sd6 typo 2011-10-27 09:24:05 -04:00
Joakim Eriksson 2a94b3ce82 added debug callbacks 2011-10-27 12:32:16 +02:00
Mariano Alvira af4ef9531c Add node_id to econotag 2011-10-25 10:09:28 -04:00
Niclas Finne ed1780f9af Removed quickstart rule for target 'clean' to avoid make warnings 2011-10-24 17:04:45 +02:00
Niclas Finne cde6453818 Assume the connection is open after the command is started instead of waiting for first input 2011-10-24 16:51:58 +02:00
Niclas Finne b01cbb996d Fixed to restore packetbuf before mac callback 2011-10-21 17:52:31 +02:00
Joakim Eriksson 1b0af2a21d fixed powertrace attribution for 6lowpan traffic 2011-10-20 12:37:56 +02:00
Joakim Eriksson 2399689bbd Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-10-17 14:16:57 +02:00
Joakim Eriksson 17bbb1f1c1 fixed so that rpl avoids sending no-path DAOs when changing parent when in NO_DOWNWARD mode of operation 2011-10-17 14:16:19 +02:00
David Kopf 8ebd7a65a4 Add missing includes, remove unimplemented function declaration. 2011-10-13 11:23:53 -04:00
David Kopf ccd866cdd4 Better formatting of webserver-nano status page 2011-10-13 11:18:14 -04:00
Joakim Eriksson cf61e522a8 added powertrace to IPv6 including an example 2011-10-13 15:09:40 +02:00
nvt d711887a1b Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki 2011-10-10 22:11:52 +02:00
nvt 4f3528f7ed Move compower configuration out of the non-IPv6 conditional clause. 2011-10-10 22:11:29 +02:00
nvt 6611291dd0 Ensure that packet metric is always set. 2011-10-10 22:10:21 +02:00