Closed kaustubhshrotri closed 4 years ago
I am working on the similar topic. On the adr branch you can look for lora-helper files. There is a method called GetPacketTracker(), which returns pointer to m_packettracker. The packet tracker also has sender id. which can help to identify sending end nodes. I started off with this.
Hello,
My code is below to access m_packetracker
LoraHelper helper = LoraHelper ();
LoraPacketTracker& packettracker = helper.GetPacketTracker();
for (auto itPhy = packettracker.begin ();
itPhy != packettracker.end ();
++itPhy)
{
NS_LOG_INFO("Packet: " << itPhy);
}
I want to access the packet in m_packetracker to get information of the packet.
I receive the error shown in picture
@DvdMgr
It looks like you are trying to access the packet tracker as it were a vector: instead, you should treat it as an object, which exposes the methods defined in the lora-packet-tracker.h
file!
This Issue has been resolved. You can close the issue.
The issue is resolved
Hello Group,
I am new to this LoRaWAN simulator tool/Module. Please guide me on how can I approach to create a method for calculation of packet error rate at end device level.