From 7dc66f658e7525406998914888e01d3e8227cb77 Mon Sep 17 00:00:00 2001 From: kkrentz Date: Tue, 14 Mar 2023 21:21:16 +0100 Subject: [PATCH] UDGM.java: Inform transmitting motes of interfering transmissions --- java/org/contikios/cooja/radiomediums/UDGM.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/org/contikios/cooja/radiomediums/UDGM.java b/java/org/contikios/cooja/radiomediums/UDGM.java index 682d7aa87..b2c453617 100644 --- a/java/org/contikios/cooja/radiomediums/UDGM.java +++ b/java/org/contikios/cooja/radiomediums/UDGM.java @@ -220,6 +220,7 @@ protected RadioConnection createConnections(Radio sender) { newConnection.addInterfered(recv); } else if (recv.isTransmitting()) { newConnection.addInterfered(recv); + recv.interfereAnyReception(); } else if (recv.isReceiving() || (random.nextDouble() > getRxSuccessProbability(sender, recv))) { /* Was receiving, or reception failed: start interfering */