florasim / flora

This is a set of modules to simulate LoRa networks
Other
53 stars 39 forks source link

timingCollison in none alohachannelModel #50

Closed fatemep closed 3 years ago

fatemep commented 3 years ago

Hello. I have a problem in the method "isPacketCollided" in LoRaReceiver.cc I think in "alohachannelmodel" timingCollison should be checked and it is not nesesory for conditions that "alohachannelMode=false". could you help me?

fatemep commented 3 years ago

Hello. I have a problem in the method "isPacketCollided" in LoRaReceiver.cc I think in "alohachannelmodel" timingCollison should be checked and it is not nesesory for conditions that "alohachannelMode=false". could you help me?

I have found the answer myself. In this cection the "alohachannelModel"has no relation with channel access protocol and it is a manner for increase accuracy in computation number of collisions. Sometimes you decide the packets have overlap be considered collision and sometimes you decide if their power are nearby.