Commit Graph

76 Commits

Author SHA1 Message Date
Fredrik Österlind
150cb33b94 Merge pull request #16 from cmorty/COOJA_DGRM
DGRM-Related Patches
2012-11-21 02:44:13 -08:00
Moritz 'Morty' Strübe
80e7a6fd8c Cooja: Add LQI-Support to DGRM 2012-10-31 16:36:06 +01:00
Moritz 'Morty' Strübe
610f6cba14 Cooja, DRGM: Reordered interference checks: e.g. do not interfere if on different channel 2012-10-31 16:36:00 +01:00
Moritz 'Morty' Strübe
3c9e3e1b95 Cooja: Refactored AbstractRadioMedium:update(): if -> switch 2012-10-31 16:35:45 +01:00
Moritz 'Morty' Strübe
f34826f3f1 Cooja: Change indention of AbstractRadioMedium to tabs 2012-10-31 16:35:39 +01:00
Moritz 'Morty' Strübe
9b1fb12a3f Cooja, DGRM: Change DirectedGraphMedium over to DGRMDestinationRadio and fix RSSI 2012-10-31 16:35:31 +01:00
Moritz 'Morty' Strübe
bed3877984 Cooja: Add LQI to DGRM 2012-10-31 16:34:19 +01:00
Adam Dunkels
944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Fredrik Osterlind
86f1c34692 renamed radio method isReceiverOn() to isRadioOn()
fixed bug in Msp802154Radio causing all packets from non-802154-radios to be dropped
2012-06-04 12:39:46 +02:00
Adam Dunkels
34c2cef205 General cleanup and fixes of texts and labels 2012-05-31 18:04:40 +02:00
Fredrik Osterlind
2c486aacd7 radio medium bugfix: a combination of changing channels while radio is off and with a nearby ongoing transmission, and
then immediately turning on the radio caused it to incorrectly detect the ongoing transmission (bug reported by Beshr Al Nahas)
2012-03-09 15:23:16 +01:00
Fredrik Osterlind
5cde978549 try to restore edges loaded from old simulation configuration 2011-11-01 11:52:34 +01:00
Fredrik Osterlind
b34e92dfba removed incorrect visualizer skin registration 2011-04-20 14:44:56 +02:00
Fredrik Osterlind
85a4265f8c unregistering visualizer skin 2011-04-20 14:44:54 +02:00
Fredrik Osterlind
7fd71eabcb towards importing testbed profiles into dgrm 2011-03-01 13:19:39 +01:00
fros4943
9a3c7ae650 removed use of temporary (simulation-specific) plugins, instead plugins should be unregistered when no longer needed + added method called when radio medium is removed from simulation 2010-12-02 15:25:49 +00:00
fros4943
d6070a0c94 interfere with ongoing transfer even if transmission fails 2010-11-10 13:09:01 +00:00
fros4943
3238302326 + channel support in dgrm, signal strength bug fix 2010-10-12 10:29:43 +00:00
fros4943
83adbeee55 register visualizer skin 2010-09-24 12:49:37 +00:00
fros4943
1b87be975a changed default udgm to calculate success probabilities by distance. the previous behavior of udgm was renamed to "UDGM: Constant Loss" 2010-09-06 12:00:46 +00:00
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