Closed shobhitaggarwal92 closed 4 years ago
GatewayLoraPhy
class, and we represent the rf chains through objects called ReceptionPath
. The LoraPhyHelper
class is typically used to configure this behavior.EndDeviceLorawanMac
objects to employ confirmed traffic, and you can set this up through the MType
attribute. Remember that in order to have the gateways deliver acknowledgments you should also set the NetworkServer
up, this is shown in the examples anyway.PacketTracker
. This is an object that keeps track of all packets in the network, so your device's packets will be there too.EndDeviceLorawanMac
class does not include trnasmission power as an attribute. If you are interested in contributing to the module, this could be a relatively easy first step to take!Thanks for responding. I am still confused regarding the simultaneous reception. Lets say we have a single reception path say 868.1MHz and there are 3 packets arriving all on the same channel 868.1 MHz but with different spreading factors say 7, 10 and 12. Will the gateway be able to receive all 3 packets (based on quasi-orthogonality of spreading factors) or will it just receive one of the packet and drop others? if dropped will those dropped packets be considered as "Interfered" or "No receivers"?
Each reception path can only lock on a single packet, so in your example it would lock onto the first one and drop the others. The dropped packets will be considered as lost because no more receivers are available. If you wanted them all to be received, you would need three reception paths listening at 868.1 MHz!
So when will the packets be considered as Interfered? When they are on the same channel and same SF?
If the GW can lock onto them, they will be either correctly received, interfered, or lost due to GW transmission if the reception needs to be interrupted by a DL communication. If they arrive under sensitivity, they are lost even if the GW has some available reception paths, and marked as lost because under sensitivity. If they arrive with a power that is above the required sensitivity, and the GW cannot lock onto them, they will be considered lost because no more reception paths are available.
Note that overlapping packets using the same SF are not necessarily lost - if one is 6dB above the others, the interference matrix allows the more powerful one to be correctly received. If this does not happen, however, yes, they will be considered as interfered, provided both were locked-on by a reception path.
Perfect. That answers my question. Thanks for your help and I will definitely try to add the transmit power as attribute. I have forked the repository and will let you know once I make some contribution.
Great, thank you! I'm closing this for now then.
I have a few questions regarding the simulator:
The documentation says the gateway can receive simultaneously on all channels. Does that mean if we configure the gateway with 8 channels, then will it be able to receive 8 (channels) X 6 (SFs)= 48 packets simultaneously?
I saw some people asking questions about the downlink communication. Is it available in the module? or in other terms how can we turn on the acknowledgments or downlink traffic?
I am trying to put a test node in the network is there a way by which I can just print the performance matrice for that test node?
Is the module upgraded to use US configurations?
Also, is it possible to change the transmit power of the end devices?
I am a student trying my hands on this technology. I would also love to contribute to this module.
Thanks.