LoRa Latency Test

Hello, probably might a dumb question but is there a way to test the latency of LoRa by programming into it? I am using an esp32 microcontroller, and a LoRa Ra02 module. So basically just a simple latency test between a transmitter and receiver using LoRa P2P. Or if you have any suggestions that could test its latency but not by programming, then feel free it to share! It would be a huge help. Thank you!

Without programming the LoRa devices, the latency is forever, however long you make it. Same as without powering the devices.

Not a simple operation. However, you can estimate how long a packet of data will take to be received, from the bit rate and the size of the packet (plus overhead for preamble and CRC checking). To do that you need to understand the details of packet transmission, so do your reading.

There are air time calculators, check the Semtech website, which will tell you how long a packet takes to transmit.

Beyond that how you measure 'latency' would depend on exactly what you mean by 'latency'

hello, sorry for the confusion. What I meant to say is that if there are ways that I could test how long will it take for the packet to receive in the receiver side. Of course the devices will be programmed accordingly to their function, I just want to know methods to test their "latency."

hi thanks for the answer, I will look into that.

I visited the website, i will look more to it further. But to add an information, I just want to test my devices using LoRa on how long the packet will receive to the other end. I don't know if that falls into the definition of latency, but that is what I want to achieve.

Why do you want to know, whats the application ?

The method I used with wired data communications testing was to put the time sent in the message and have the message returned by the sender unit. Then 1/2 the time difference between the sent message time and the current time is quite representative of the time for the message to get sent and received. Multiple tests message will show if the time is relatively constant or is varying a lot and something needs to be examined.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.