Commit graph

5736 commits

Author SHA1 Message Date
adamdunkels 79ba20ddcc Updated to new collect router API 2010-03-25 08:52:23 +00:00
adamdunkels a4f9e62295 Added a parameter to collect_open() that specifies whether or not the node should be a router for packets, or only an originator of packets. Updated the collect module to the new annoucement API. 2010-03-25 08:51:07 +00:00
adamdunkels 2559e27414 API change to the announcement module: an annoucement can now be registered without a value. Such announcements are never transmitted to neighbors, until the announcement's value is set. 2010-03-25 08:49:56 +00:00
fros4943 20d9f70b09 plugin is updated to support non-visualized simulations 2010-03-25 08:00:15 +00:00
nifi 1daee93f63 fixed for new uip6 APIs 2010-03-24 22:09:13 +00:00
adamdunkels 4d68bdf74b Bugfix and addition by Dogan Yazar: psock_readbuf() shouldn't wait for a full buffer (which might never happen); a new function for sending strings that batches data and sends full buffers instead of individual strings. 2010-03-24 21:03:32 +00:00
nifi c623616afd Neighbor state notification also when adding new neighbors 2010-03-24 16:29:45 +00:00
nifi 052c8db9f9 Added option for neighbor state changed notifications 2010-03-24 16:16:33 +00:00
nifi 81dbcf1654 Added option to move motes in Visualizer without confirm dialog by dragging motes with ALT button pressed 2010-03-24 14:22:56 +00:00
fros4943 78069e8853 minor fix: section size was printed in hex, not decimal 2010-03-24 12:29:33 +00:00
nifi 6609c84abb Updated API for neighbor (renamed to collect-neighbor) and changed to only use timesynch when configured 2010-03-23 23:04:21 +00:00
adamdunkels 2a3d0dc042 Bugfix: data that has been prepared with the prepare() method must be possible to send multiple times 2010-03-23 15:19:55 +00:00
adamdunkels 432a3fd12e Bugfix: the return values from the cca method were switched 2010-03-23 15:10:27 +00:00
joxe 4a6c6b0534 added route_rm_by_nexthop and small code cleanup 2010-03-23 14:21:04 +00:00
fros4943 6197ac9c54 dependa on powertrace application 2010-03-23 14:06:16 +00:00
fros4943 4833c6555e moved inclusion of rtimer-arch.h to top of rtimer.h, to avoid circular rtimer_clock_t dependencies 2010-03-23 13:35:00 +00:00
fros4943 1322195921 defining rtimer_clock_t to the same as clock_time_t 2010-03-23 13:34:00 +00:00
fros4943 5eb391dbe1 allows rtimer_clock_t to be defined from contiki-conf.h 2010-03-23 13:24:38 +00:00
fros4943 c66dd0b1bf implemented rtimer library for simulated contiki motes 2010-03-23 13:13:17 +00:00
fros4943 49526e100f added simulated interrupt thread, currently only used to implement rtimer functionality 2010-03-23 13:12:41 +00:00
fros4943 bee0ea4834 temporarily turning on radio for sending a packet 2010-03-23 12:13:43 +00:00
adamdunkels 03d1388c0d Print out MAC and RDC when booting cooja nodes 2010-03-23 12:08:05 +00:00
adamdunkels cd3a7c7a73 Dummy watchdog implementation for cooja nodes 2010-03-23 12:07:03 +00:00
nifi 75481f6460 Removed debug output 2010-03-23 12:05:36 +00:00
fros4943 95e870cc46 bugfix: structs should be declared static 2010-03-22 11:32:29 +00:00
fros4943 3394a3ef23 make sure not to add an already existing list element, as it breaks the list iteration functions 2010-03-22 11:29:58 +00:00
nifi 7e022b42df removed unnecessary includes to fix comilation error (neighbor.h has been renamed) 2010-03-22 10:21:57 +00:00
nifi 58e47d1d97 activated workaround for memcpy/memset bug in mspgcc 2010-03-21 10:44:58 +00:00
nifi ebfa6c5ef1 only include memcpy/set workaround when needed 2010-03-21 10:40:15 +00:00
adamdunkels 8f7e96b06f Tools for parsing and plotting a power trace from Contiki 2010-03-19 22:01:34 +00:00
nvt-se 0eae63b29a Set a higher start ETX. Avoiding adding a neighbor after a failed packet transmission. 2010-03-19 16:55:29 +00:00
fros4943 f2a1604b63 make portable paths method public 2010-03-19 15:04:51 +00:00
fros4943 54db259c32 using EXPORT attribute to automatically copy firmware files in executable JARs 2010-03-19 15:04:05 +00:00
fros4943 4498c39e9e removed debugging output 2010-03-19 15:03:14 +00:00
fros4943 e83635832a added simconfig attribute EXPORT that determines how files should be handled when a simulation is exported as an executable JAR 2010-03-19 15:02:26 +00:00
joxe e99c906caf activated the new workaround... 2010-03-19 14:50:07 +00:00
joxe 7e6919cc8c fixed workaround for memcpy/set to be memory efficient but slower 2010-03-19 14:39:45 +00:00
joxe 29335f2f7d added possibility to hard-code 7 bytes of the MAC address - last byte picked from nodeid 2010-03-19 14:08:15 +00:00
adamdunkels fc61ee5dbb Bugfix: turn on watchdog before starting processes to avoid a process hanging in its startup phase 2010-03-19 13:28:27 +00:00
adamdunkels 91afe5b0f4 Turned on broadcast announcements by default, turn on announcements for collect 2010-03-19 13:27:46 +00:00
adamdunkels 71bc4b81fc Renamed collect's neighbor module to collect_neighbor; added powertracing 2010-03-19 13:26:54 +00:00
adamdunkels 04cdae05c3 Increased the rtimer granularity: needed to make contikimac work 2010-03-19 13:25:52 +00:00
adamdunkels 9d06d84255 Renamed the neighbor module to collect-neighbor, as it is only used by the collect module and is not a generic neighbor module 2010-03-19 13:25:15 +00:00
adamdunkels 49009e9cbd Extend the length of announcement packets if they are too short 2010-03-19 13:24:58 +00:00
adamdunkels aeec1769dc Added functions for turning powertracing off 2010-03-19 13:23:31 +00:00
adamdunkels 2e8bfa5d9a Include new broadcast-announcement and renamed collect-neighbor in compilation 2010-03-19 13:21:24 +00:00
adamdunkels f2c9b3e813 Remove old neighbor.h inclusion 2010-03-19 13:20:40 +00:00
adamdunkels a3a8c0e179 Safety check: only try to read a packet if it was preceeded by an interrupt (which sets the pending flag) 2010-03-19 13:18:53 +00:00
adamdunkels 3a5be4a7e4 Added broadcast announcement module and collect-neighbor module 2010-03-19 13:17:55 +00:00
adamdunkels 14453e9fb7 Slight API change to support bump functionality 2010-03-19 13:17:31 +00:00