Commit Graph

7460 Commits

Author SHA1 Message Date
David Kopf
81af871db9 Bugfix: use 16 bit tick count to adjust clock after sleep 2011-12-01 09:58:55 -05:00
Nicolas Tsiftes
6177187954 Check the return value of udp_new. 2011-12-01 14:40:55 +01:00
Nicolas Tsiftes
220e6f7b88 Minor documentation improvements. 2011-12-01 14:40:54 +01:00
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
Nicolas Tsiftes
7c808081d6 Coding style 2011-11-23 14:36:50 +01:00
nvt
e11b7d4fb6 Removed redundant code 2011-11-22 14:18:32 +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
Nicolas Tsiftes
cef95ebf9b Inverted DAG ID check 2011-11-21 15:50:19 +01:00
Nicolas Tsiftes
2b1549bfe8 Continued merge with sf master 2011-11-21 15:25:13 +01:00
Nicolas Tsiftes
0e32956a63 Merge remote-tracking branch 'sf/master' into rpl-patch 2011-11-21 14:59:31 +01:00
Nicolas Tsiftes
ea73f1d767 Do not force DIO reset on certain events where it is not needed. 2011-11-16 09:49:22 +01:00
Nicolas Tsiftes
b405571e32 Update next-hop address for existing routes. 2011-11-16 09:05:34 +01:00
Nicolas Tsiftes
ef0ce944e5 Split management of extension headers into a separate file and fixed coding style. 2011-11-16 09:00:19 +01:00
Nicolas Tsiftes
63afff5436 Removed debug output and fixed coding style. 2011-11-16 08:56:56 +01:00
Nicolas Tsiftes
e716ce25a1 DEBUG off. 2011-11-16 08:50:01 +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