Comments (10)
Currently this is not implemented, but shouldn't be too hard to do. Right now I don't have much time I can allocate to this, but I can definitely guide you if you want to tackle this!
In case you want to look into this, all packets are tracked in the lora-packet-tracker.cc/.h
files. I recommend using the adr
branch, as it features the latest version of the packet tracker.
from lorawan.
I don't think that already have such a thing. But you could add a counter in form of a vector, for example, to identify each gw.
from lorawan.
Thanks for your Reply. I will try do it in this way.
from lorawan.
Is it possible to get number of packet received and number of packet lost at each gateway in case of multiple gateways?
Yes, it is! If you are interested in GW-level statistics, we have methods to compute those in the adr branch, both at the MAC and at the PHY level. Check out the PrintPhyPacketsPerGw
method in the lora-packet-tracker.h
and lora-packet-tracker.cc
files on the adr branch! The adr-example.cc
file on that branch, towards the end, has an example of how you can get the packet tracker that was used during simulation and that can be used to print various kinds of statistics.
from lorawan.
Hello ,
Thank you for the response.
I would like to confirm about one parameter in the method PrintPhyPacketsPerGw (Time startTime, Time stopTime, int systemId) .
Is systemId here the address of the gateway?
What is the best way to return system id ?
from lorawan.
systemId is the System Id of the gateway you are interested in - if you have the Node where the Gateway is installed, you can simply call the GetSystemId method to get it!
from lorawan.
Hello,
I would like to know if there is a method to track number of packets sent and received from each enddevices so as to calculate packet error rate at end device level.
Thanks In Advance
from lorawan.
Hi,
Thanks for answering.
I am working on calculation of packet error rate at end device level using this module.
Should I open of new issue or I can post my quetions in this thread?
from lorawan.
Best to open another issue to track further developments, so that I can close this one!
from lorawan.
Small Information for other users who will be reading this thread in future:
You can access id with GetId() method on desired nodes.
For me SystemId() would always give 0 for every node.
GetId() worked for me
from lorawan.
Related Issues (20)
- Hi, @DvdMgr thanks for your response. Could you give me a suggestion?
- Unrelated comment in code
- Useless comments
- bash: ./waf: No such file or directory HOT 5
- Are the max packet sizes correct? HOT 1
- How does lorawan-energy-model-example.cc suppose to work ?
- Simulation with LoRa (without LoRaWAN stack)
- LoRa Mesh module contribution?
- Lack of maintenance + alternatives
- lorawan: Ongoing changes to the module
- Issue with LoraFrameHeader while Handling the address part in LoRaWAN MAC Layer for Multiple End Devices
- test.py failing with "Packet changed contents when going through the channel" HOT 3
- m_receiveCallback in Receive function in lora-net-device HOT 4
- Performance metrics HOT 2
- Questions about complete network example HOT 3
- lorawan module paccket indicated as lost and received successfully at the same time HOT 2
- Unable to read LoraFrameHeader for uplink messages (using gw mac) HOT 2
- Broken documentation HOT 2
- How to run a simple scenario in aloha , slotted aloha and tdma? HOT 1
- How to integrate a new model HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lorawan.