Commit Graph

452 Commits

Author SHA1 Message Date
adamdunkels 1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
adamdunkels d9eebf7e17 Fixed compiler warnings 2007-11-17 10:46:25 +00:00
adamdunkels 8d79ef2219 Include rtimer.h instead of rtimer-arch.h 2007-11-17 10:46:02 +00:00
adamdunkels 7fd1eca954 Added debug output 2007-11-17 10:34:17 +00:00
adamdunkels 9bd3c0c07c Re-added hop count to header, fixes related to ETX computation: adv packets do not add a good etx, timedout packets do not restore the neighbor age, removed unused code 2007-11-17 10:32:54 +00:00
adamdunkels e1affe5e72 Changed watchdog API by adding a start function, and renaming the restart function to periodic to make it clear that this should be called periodically 2007-11-17 10:15:50 +00:00
adamdunkels 5e7cbff22a Fixed compiler warnings 2007-11-17 10:12:19 +00:00
adamdunkels a7102829e3 Updated ruc callback types to fix compiler warnings 2007-11-17 09:59:48 +00:00
adamdunkels 0a8b1cbd76 Updated ruc callback types to fix compiler warnings 2007-11-17 09:47:55 +00:00
fros4943 532d9814c2 configurable rudolph datasize 2007-11-16 09:17:22 +00:00
fros4943 12338bee6d changed R_AVR_CALL relocation (but unsure why the old didn't work)
+ defined debug output
2007-11-16 09:16:31 +00:00
nifi c989d425dc fixed compiler warning 2007-11-15 13:33:09 +00:00
nifi a6d827fa1f moved initialization of ctimer to allow MAC layer to use ctimers 2007-11-15 13:07:42 +00:00
fros4943 c645cad175 fixed conflicting types: nbh.c vs nbh.h 2007-11-15 08:10:42 +00:00
adamdunkels 0a7f35d62c Added neighborhood discovery module 2007-11-13 21:01:54 +00:00
adamdunkels 1386b8ae8f Added API to retrieve address of current receiver 2007-11-13 21:00:10 +00:00
adamdunkels c40dde1209 Updated ruc to send ACKs before notifying applications, and API support for the etx-based tree code 2007-11-13 20:58:46 +00:00
adamdunkels 6845d2a1aa Updated tree to use expected transmissions (etx) as routing metric 2007-11-13 20:39:29 +00:00
adamdunkels 670f65b55e Added battery sensor to the core interfaces 2007-11-13 20:36:40 +00:00
nifi 44480fc7b7 added fix to enable start of ctimers before etimer process has started 2007-11-13 15:13:03 +00:00
fros4943 2c1af74f37 declaration outside loop 2007-11-13 06:45:29 +00:00
adamdunkels 1cb3bad088 Multiple bugfixes and updates to xmac code by Niclas 2007-11-12 22:29:37 +00:00
adamdunkels 88de583f94 Removed nonexistant neighbors rimestat 2007-11-12 22:27:44 +00:00
adamdunkels 812b86f162 Initialization of energest_current_time to fix problems with energy attribution on LEDs during Tmote Sky bootup 2007-11-12 22:27:21 +00:00
adamdunkels c5d79e8aea Added contentiondrop rimestats when a packet couldn't be sent because of failing CCA check 2007-11-12 22:26:03 +00:00
nvt-se 6b7173809d anonymous -> identified. 2007-11-12 12:34:29 +00:00
adamdunkels 127503e2a6 waiting for valid RSSI bugfix, minor cleanup 2007-10-25 13:29:21 +00:00
adamdunkels feed6cf679 const parameter to rimbuef_copyfrom() 2007-10-25 12:48:46 +00:00
adamdunkels 349274cb81 Turn off listen energy accounting when transmitting 2007-10-25 09:38:15 +00:00
adamdunkels a9e4287cbe Changed the energy estimation type ENERGEST_TYPE_RECEIVE to ENERGEST_TYPE_LISTEN to highlight that energy is spent on idle listening, not just the actual reception of packets 2007-10-25 09:30:39 +00:00
adamdunkels 67aa9e8589 Made initialization function return a pointer to the MAC driver structure, to make initialization nicer 2007-10-23 21:27:57 +00:00
adamdunkels f638c628d7 Made initialization function return a pointer to the MAC driver structure, to make initialization nicer 2007-10-23 20:57:37 +00:00
adamdunkels 0fdb3e3ddc Initial implementation of a profiling system for Contiki 2007-10-23 20:39:07 +00:00
adamdunkels d3319f71b3 Made rtimer callback a typedefed type to make function prototypes nicer 2007-10-23 20:33:19 +00:00
nifi 9a11bc1543 only update rimestats rexmit for retransmissions + added debug output when retransmitting 2007-10-23 14:00:36 +00:00
nvt-se 045225fa05 Made driver less platform-dependent and added support for msb-430. 2007-10-22 12:19:58 +00:00
nifi 0bf47de9ba fixed compiler warning 2007-10-19 13:50:01 +00:00
joxe 35bff8238d renamed variable, rewrote comment to make easier to read 2007-10-07 19:59:27 +00:00
nifi d5580ae7ee corrected debug print 2007-10-02 13:41:12 +00:00
matsutsuka a6527b34d9 When UIP_UDP is off, turn off udp functions more accurately. 2007-09-29 03:54:18 +00:00
adamdunkels a03ff4d7ac Convenience function for printing out system statistics 2007-09-27 22:22:40 +00:00
nifi 1abf2c4c16 fixed compiler warning 2007-09-26 11:34:49 +00:00
matsutsuka 7dec361a80 #include <conio.h>
doesn't work on z80 version, because this is not a standard library.
2007-09-19 12:50:23 +00:00
fros4943 aa99049af0 simple tdma rtimer implemetation 2007-09-18 10:37:17 +00:00
fros4943 19b3035e36 simple tdma ctimer implementation 2007-09-18 10:36:36 +00:00
nifi ccf6bc4d9d moved ENERGEST_ON to actual transmission 2007-09-18 10:36:31 +00:00
fros4943 25d2514541 xmac ctimer implementation 2007-09-18 10:35:39 +00:00
nifi c12af56ad0 Turn off ENERGEST_TYPE_TRANSMIT if send error 2007-09-18 10:32:00 +00:00
nvt-se 33687d8e6f A function declared in lib/random.h is used, so this file should be included
instead of lib/rand.h.
2007-09-14 20:26:52 +00:00
nvt-se d60f3449ea static before const. 2007-09-14 20:12:55 +00:00