Commit graph

56 commits

Author SHA1 Message Date
fros4943 778c14e9e3 javadoc update 2010-02-03 15:49:24 +00:00
fros4943 38e0b7918a set radio interfered even when it is turned off -> cca is set immediately when radio is turned on 2009-12-07 11:03:19 +00:00
fros4943 ac424ca88a bugfix: interfered nondestination radio 2009-11-25 18:13:05 +00:00
fros4943 451be82efd radio connection update: radio should not be removed from destinations, but instead flagged as interfered.
(and the radio medium will keep delivering data also to interfered destinations to avoid the half-filled RXFIFO problem)

+ minor fix: the received signal strength is the maximum of all sending radio
2009-11-25 15:49:58 +00:00
fros4943 24d0330d2d radio connection update: radio should not be removed from destinations, but instead flagged as interfered 2009-11-25 15:43:03 +00:00
fros4943 01e9498dd9 radio medium update: receiving nodes that become interfered still receive connection data, but may (should) choose to ignore or corrupt it.
this solves a problem with half-filled FIFO buffers on CC2420 radio platforms

+ minor fixes: the received signal strength is the maximum of all active connection, and a transmitting radio may still be interfered
2009-11-25 10:36:08 +00:00
fros4943 62c8535678 bugfix: radio medium should reset last connection data before notifying observers that a new connection has begun 2009-10-29 10:31:55 +00:00
fros4943 c5dd2726f3 removed debug output 2009-10-27 10:36:01 +00:00
fros4943 a81f216acb radio medium patch: udgm uses hash table for efficient lookup in large networks + minor patches to dgrm 2009-10-27 10:10:03 +00:00
fros4943 24f00bce76 reload simulation bug fix (lost edges) + removed some debugging output 2009-06-08 12:42:10 +00:00
fros4943 633f9bb5ef radio medium updates: removed obsolete tick observer + notifying observers for each finished radio connection separately 2009-05-26 14:17:29 +00:00
fros4943 eccadb44f1 bugfix: must lock active connections before copying 2009-04-20 16:26:02 +00:00
fros4943 5af34f6800 + method for checking if radio can receive data. does not change simulation output, but allows the radio medium to better keep track of how many packets were received etc 2009-04-16 14:26:35 +00:00
fros4943 13b6fe2cd5 added experimental packet counters 2009-03-26 16:24:31 +00:00
fros4943 ce32a5b0b0 register radio medium skin 2009-03-24 15:46:46 +00:00
fros4943 ab01f2b901 added new radio medium: directed graph radio medium (short: dgrm).
this radio medium will likely later be used to implement other more complex radio mediums such as udgm and mrm.

currently the user interface (dgrm config plugin) for defining radio links is very limited.

experimental: the new radio medium supports propagation delays, configurable via the plugin.
2009-02-24 15:29:52 +00:00
fros4943 e87d94439e added experimental per destination propagation delay in radio connections. uses cooja time events to delay radio events.
currently only delaying the four main events: reception started, packet delivery, byte delivery, and reception ended

note that propagation delay is not yet implemented for all radio events - interfered radios will for example still be interfered immediately
2009-02-24 15:12:22 +00:00
fros4943 c2f7780b68 radio signalling moved to abstract radio medium 2009-02-24 15:05:36 +00:00
fros4943 0905ef7134 separated udgm visualizer class from the udgm 2009-02-21 09:49:40 +00:00
fros4943 00c88ca2d3 removed creating unnecessary random generator 2009-02-18 10:40:25 +00:00
fros4943 d530b44e5a using main random generator 2009-02-18 10:11:32 +00:00
fros4943 f0fbbaa379 negative channels can talk to any other channel (both rx and tx) 2008-03-18 16:37:35 +00:00
fros4943 6e6857c6a6 warn if forwarded data is null 2008-03-18 15:43:03 +00:00
fros4943 e765735bad using new radio packet format 2008-03-18 12:52:01 +00:00
fros4943 735390dd5d minor fix: power cast to double 2008-03-17 10:18:37 +00:00
fros4943 b96b3ae8c6 only using distance when calculating received signal strength for nodes closer than transmitting range 2008-03-17 10:10:17 +00:00
fros4943 7cf49fb57a added output power indicator max value + remade signal strength calculation per distance 2008-03-17 09:49:44 +00:00
fros4943 2c5e167b20 added method for checking if radio is on/off. the method is currently only used by contikradio:s.
changed UDGM coloring:
dead/non-existing radios are black.
turned off radios are gray.
2008-02-23 10:10:42 +00:00
fros4943 d42ed7d5da fixed some javadoc warnings 2008-02-12 15:31:22 +00:00
fros4943 829849dbc9 using two random success ratios 2007-12-13 07:59:35 +00:00
fros4943 79898a5096 random seed fix 2007-11-20 05:19:47 +00:00
fros4943 e38e6b7e8c removed old using 2007-10-31 13:58:21 +00:00
fros4943 4a14613529 now that success ratio is variable, it must also be stored with sim configs 2007-10-23 08:39:21 +00:00
fros4943 7f25afcfe4 fixed possible null pointer exception
+ some formatting
2007-08-21 13:28:52 +00:00
fros4943 fa6748f45a reset success ratio to 100&, and added configuration ability in plugin 2007-08-21 09:17:18 +00:00
fros4943 cc865f18bb handling radio when nodes die 2007-07-13 09:08:24 +00:00
fros4943 88c7e87e82 added udgm random transmission support.
random mode can currently only be activated via simulation configs (.csc)
udgm uses the same random seed as the simulation
2007-07-10 12:43:23 +00:00
fros4943 1937e663ad setting UDGM signal strength depending on distance 2007-05-18 15:17:11 +00:00
fros4943 438fa2a92d changed byte radio to supply delay meta data instead of timestamp 2007-04-23 11:33:07 +00:00
fros4943 1c818c039f added warning for null packets 2007-04-23 08:25:50 +00:00
fros4943 4f089d113e extending abstract radio medium 2007-03-23 21:06:23 +00:00
fros4943 9cbdd11623 moved functionality to abstract radio medium in order to simplift new implementations 2007-03-23 21:05:45 +00:00
fros4943 54002df73b radio-related changes:
radios can belong to different abstraction levels for example byte of packet radios.

=> lots of changes in surrounding files
2007-02-28 09:47:45 +00:00
fros4943 bf7ed8eb41 new name (ealier Standard Radio Medium) 2007-01-09 09:47:36 +00:00
fros4943 286dfe0e54 new method for getting observable object 2007-01-09 09:47:10 +00:00
fros4943 ab2373cfec name change to udgm 2007-01-09 09:45:59 +00:00
fros4943 30be98a575 bug fix:
radio logger generated null pointer exception
2006-12-11 12:20:06 +00:00
fros4943 37bbf515f2 *cleaned up some code
*updated signal strengths to those stated in cooja core interface
2006-12-07 14:28:54 +00:00
fros4943 d0ec0a48a4 added experimental radio channel support 2006-10-11 15:13:57 +00:00
fros4943 788b6c75c0 setting receiving signal strengths when transmission starts instead of at end of tick + updating signal strengths each tick 2006-10-09 14:15:29 +00:00