radio signalling moved to abstract radio medium

This commit is contained in:
fros4943 2009-02-24 15:05:36 +00:00
parent bb1bd3a706
commit c2f7780b68
2 changed files with 2 additions and 4 deletions

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: MRM.java,v 1.8 2009/02/18 12:08:10 fros4943 Exp $ * $Id: MRM.java,v 1.9 2009/02/24 15:05:36 fros4943 Exp $
*/ */
package se.sics.mrm; package se.sics.mrm;
@ -147,7 +147,6 @@ public class MRM extends AbstractRadioMedium {
// Radio OK to receive // Radio OK to receive
//logger.info("OK, creating connection and starting to transmit"); //logger.info("OK, creating connection and starting to transmit");
newConnection.addDestination(listeningRadio, probData[1]); newConnection.addDestination(listeningRadio, probData[1]);
listeningRadio.signalReceptionStart();
} }
} else if (probData[1] > currentChannelModel.getParameterDoubleValue("bg_noise_mean")) { } else if (probData[1] > currentChannelModel.getParameterDoubleValue("bg_noise_mean")) {
// Interfere radio // Interfere radio

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: UDGM.java,v 1.21 2009/02/21 09:49:51 fros4943 Exp $ * $Id: UDGM.java,v 1.22 2009/02/24 15:05:54 fros4943 Exp $
*/ */
package se.sics.cooja.radiomediums; package se.sics.cooja.radiomediums;
@ -156,7 +156,6 @@ public class UDGM extends AbstractRadioMedium {
} else { } else {
// Radio OK to receive // Radio OK to receive
newConnection.addDestination(listeningRadio); newConnection.addDestination(listeningRadio);
listeningRadio.signalReceptionStart();
} }
} else if (distance <= moteInterferenceRange) { } else if (distance <= moteInterferenceRange) {
// Interfere radio // Interfere radio