LoRaWAN Collar Downlink Delay: Why Fence Updates Wait
Why a LoRaWAN GPS Collar Reports Its Location While a Fence Update Is Pending
A ranch manager draws a new grazing boundary, saves it in the platform, and opens the herd map. Several collars have just reported their positions, yet the new fence still shows as pending. The location reports confirm that data reached the platform from those collars. The fence update needs to travel in the opposite direction and be applied by each collar.
This distinction matters when a virtual fence is stored on the device. If the platform simply uses incoming GPS points to check whether cattle have crossed a boundary, it can update that boundary on the server. If the collar uses an onboard boundary to make decisions in the field, the updated configuration has to reach the collar itself.
A Position Report Gives a Class A Collar a Chance to Receive
After a LoRaWAN Class A device transmits an uplink, it opens a short receive window called RX1. If it does not receive a frame addressed to it in RX1, it opens a second window called RX2. A command queued after both windows have closed generally has to wait for another uplink. LoRaWAN® L2 1.0.4 Specification
Imagine a collar sends a GPS position at 10:00 a.m. The ranch manager saves a new boundary at 10:01 a.m. If the collar’s next uplink is scheduled for 10:15 a.m., that may be the next opportunity to send the update, assuming the command is queued and the gateway can transmit it. An earlier event-triggered uplink could provide an earlier opportunity.
Find Where the Fence Update Stalled
When a fence update stays pending after another position report, compare the command and network-server logs for the same collar.
| What you see | What to check next |
|---|---|
| The command is still queued after an uplink | Check when it entered the queue, whether another command was ahead of it, and whether the server scheduled a downlink. |
| The server reports a scheduled transmission, but the collar sends no confirmation | Check the gateway’s transmit logs, the collar’s receive-window settings, and field coverage at the collar’s last reported location. |
| The collar confirms receipt, but the old fence version remains active | Check whether the firmware accepted the configuration and whether it requires a separate step to activate it. |
| Most collars update, but a few remain pending | Compare the affected collars’ latest uplinks and last reported positions. Look for a pattern around distant paddocks or terrain that blocks the gateway path. |
For projects that need to verify activation, give each boundary update a version number and have the collar report the active fence version after applying it. That lets the platform distinguish a command waiting to be sent from a boundary the collar is already using.
Test a Boundary Change Before the Herd Moves
Start with a few collars in different parts of the pasture. Queue a small test boundary while the animals are away from the affected area. Record when you submit the command, when each collar next reports, and when each collar confirms the active fence version. Include a collar near the edge of gateway coverage.
If the update contains multiple messages, check what the firmware does when one part is missing. A practical acceptance test is to interrupt delivery and verify that the collar keeps using the previous complete boundary until the replacement is ready. Then test the same workflow with a small group of collars to see how long a group update takes under normal reporting settings.
For a JSC-805L livestock tracking project, share the planned herd size, GPS reporting interval, gateway layout, and how quickly fence changes need to take effect. Those details help define what to test with the selected collar firmware and LoRaWAN network. Contact JSC at lora8.net.