Commit graph

3617 commits

Author SHA1 Message Date
adamdunkels 482de817e0 Renamed the Rime 'ping' command to 'rime-ping' to differentiate it from the IP ping command 2009-03-05 23:54:14 +00:00
adamdunkels a3daf1d3cc Refactored the power commands out from the sky-specific shell commands into its own module. Also added compower idle consumption in the energy and power reports. 2009-03-05 21:12:02 +00:00
adamdunkels dc7491f810 Bugfix and optimization: X-MAC did not properly switch the radio off after sending a packet, resulting in increased power consumption. For packets that require an ACK, we can let the radio be on in anticipation of the ACK (controlled with an WITH_ACK_OPTIMIZATION option) 2009-03-05 19:37:52 +00:00
zhitao 64badeb282 bugfix: use memcpy() to get attributes longer than a byte properly written to packet header 2009-03-05 13:51:28 +00:00
zhitao 08b2315f41 bugfix: put up busy forwarding flag only after next hop found 2009-03-04 08:59:32 +00:00
fros4943 659c7e7311 added webserver-nogui source and WITH_NULLMAC to example code (too large otherwise) 2009-03-03 17:25:33 +00:00
fros4943 04ab2abe62 explicit make clean no longer needed since temporary files are now removed by default 2009-03-03 16:31:13 +00:00
fros4943 710c96afc5 immediately aborting script execution when test reports success or failure 2009-03-03 15:55:39 +00:00
fros4943 ac5b2b1500 make sure test script is activated *after* script file has been loaded 2009-03-03 15:24:18 +00:00
fros4943 7a54a0b8eb better debugging output when compiling and cleaning for msp motes 2009-03-03 15:01:14 +00:00
fros4943 ba12b6ec00 minor fix: keep library files when cleaning temporary files 2009-03-03 14:57:42 +00:00
fros4943 7b763f0e75 automatically cleaning temporary files for every non-gui test: takes longer but allows for test-specific compiler flags 2009-03-03 13:52:35 +00:00
fros4943 e91cc0f1ef automatically activate test for new simulations + simplified exporting tests 2009-03-03 13:50:02 +00:00
fros4943 6367a73fa4 automatically cleaning temporary files for every non-gui test: takes longer but allows for test-specific compiler flags 2009-03-03 13:45:32 +00:00
fros4943 4fdb0c2f03 added clean temporary files method 2009-03-03 13:43:48 +00:00
fros4943 547eadceb3 minor author name fix: strange names causes compiler warnings on some systems 2009-03-03 13:42:45 +00:00
fros4943 6c1207c5d5 updated runicast example: added sender history to detect duplicate callbacks 2009-03-03 12:28:39 +00:00
fros4943 70c0c0cd7e exclude duplicate received nodes in runicast test 2009-03-03 12:21:06 +00:00
fros4943 f701615afa bugfix: remember active transmissions (sender side) instead of last received packets (receiving side). allows several nodes sending to a single receiver.
+ added function for checking if runicast is currently transmitting (non-acked) data
2009-03-03 12:19:46 +00:00
fros4943 35e3efa0a6 minor bugfix: check that simulation exists before reloading 2009-03-03 12:09:34 +00:00
adamdunkels 8afff893f1 Removed old \mainpage documentation to avoid confusion with the main \mainpage 2009-03-02 22:04:14 +00:00
adamdunkels 62ef4002a5 Always prod the watchdog on output to avoid spurious resets during long serial outputs 2009-03-02 22:01:26 +00:00
adamdunkels 9816f49fe6 Changed listen and transmit energy attributes so that they are named _TIME rather than _ENERGY, to indicate that they contain the time during which the radio was switched on and not the energy 2009-03-02 22:00:41 +00:00
adamdunkels 57b9cab27e Set RSSI, correlation, and timestamp as packet attributes for incoming packets 2009-03-02 21:59:01 +00:00
adamdunkels d52a527752 Added support for sniffing for packet attributes for both incoming and outgoing packets 2009-03-02 21:58:16 +00:00
adamdunkels 78591a003f Minor documentation update 2009-03-02 21:56:16 +00:00
adamdunkels da591f484f Added documentation for the shell functions 2009-03-02 20:44:15 +00:00
adamdunkels 45e32894a0 Bugfix: backwards definition of MIN macro (quite embarassing) 2009-03-02 11:22:09 +00:00
fros4943 b98c18e616 changed default simulation delay to 0 2009-03-02 09:46:19 +00:00
fros4943 3774395c82 cfs example updated 2009-03-02 09:44:07 +00:00
fros4943 a472adbe69 added missing sources to makefile: ringbuf.c compower.c 2009-03-02 09:39:37 +00:00
fros4943 286065b584 cfs updated 2009-03-02 09:34:47 +00:00
oliverschmidt b4d6dd6893 Added webserver and irc. 2009-03-01 23:37:49 +00:00
oliverschmidt 62662ee79b Override source file sets of included apps to exclude source files that would cause symbols to be defined twice in the Contiki library. 2009-03-01 23:36:47 +00:00
oliverschmidt eab1ea8c95 Added missing include. 2009-03-01 23:33:46 +00:00
adamdunkels e3043b1be2 Enable communication power accounting for xmac by default 2009-03-01 20:43:37 +00:00
adamdunkels ac9ab9c582 #include lib/random.h 2009-03-01 20:42:10 +00:00
adamdunkels 3519dcfd8e A little cleanup of the mainpage text 2009-03-01 20:40:53 +00:00
adamdunkels 6ab7ac0598 Added optional interrupt-based transmission, based on the ringbuf library 2009-03-01 20:40:30 +00:00
adamdunkels d813d343c5 Cleaned up old left-over code 2009-03-01 20:38:57 +00:00
adamdunkels 7010eb84b8 Added support for communication power accounting. Energy is attributed to idle listening when the radio is switched off. Enegrgy is attributed to an incoming packet when it is received. Energy is attributed to an outgoing packet when it is transmitted. 2009-03-01 20:37:16 +00:00
adamdunkels 94c2c0ce85 Communication power accounting: this module keeps track of the energy expenditure of individial communication activities, such as transmission or reception of individual packets or idle listening. 2009-03-01 20:32:03 +00:00
adamdunkels b8860727ac A ring buffer library. The ring buffer library is useful in device drivers, where bytes can be safely written to the buffer from an interrupt handler, and read from non-interrupt code. 2009-03-01 20:23:56 +00:00
nvt-se b91b2c1b2d moved debug macros from header to source. 2009-03-01 12:49:43 +00:00
oliverschmidt 545c0c506e Switched cfs offset type to signed int to allow backward movements with cfs_seek. 2009-03-01 12:28:39 +00:00
oliverschmidt 1585077da7 Adjusted cfs_seek() offset type configuration macro name. 2009-03-01 12:26:53 +00:00
oliverschmidt a1b7bf6952 Minor change. 2009-03-01 12:11:17 +00:00
nvt-se 47d70f2ae3 Switched name to CFS_CONF_OFFSET_TYPE to emphasize that it is a configurable option. 2009-03-01 12:00:00 +00:00
adamdunkels aa2f7a3399 Made polite announcement times configurable, added missing right-brace 2009-03-01 10:43:57 +00:00
adamdunkels 3adf8e5807 Call output packet sniffers after the MAC has sent the packet 2009-03-01 10:29:50 +00:00