signetlabdei / lorawan

An ns-3 module for simulation of LoRaWAN networks
GNU General Public License v2.0
190 stars 132 forks source link

Capturing Downlink packets #45

Closed kaustubhshrotri closed 4 years ago

kaustubhshrotri commented 5 years ago

Hello All,

I want to capture downlink packets during a simulation. Is there a way to do so?

I am using Complete-network-example.cc for my simulation with modifications.

Thanks

DvdMgr commented 5 years ago

This sounds similar to #40 - can you elaborate on what you need, more precisely? Maybe we can coordinate with @Fundoprajakta to make it happen.

kaustubhshrotri commented 4 years ago

Hello,

My issue is to detect in which receive window the downlink packets are received. is there a way?

DvdMgr commented 4 years ago

As of now, we do not save this information. However, you can easily customize the LoraPacketTag class to memorize the number of the receive window that was used in the reception of the ACK, modify the packet's tag upon reception and retrieve the information later, for instance from within the LoraPacketTracker