Using the built-in NS and ClassA modes of the LoRaWAN gateway, the effect of the time window on sending and receiving data

When using the built-in NS (Network Server) of the LoRaWAN gateway , and the node works in classA mode, because the receiving window will only be opened after the uplink, there is a certain time window. The time window is 200ms after the uplink data is sent, that is, when the uplink data is sent, the time window is within 200ms after the uplink data is sent.

1. The effect of time window on the data delivered by LoRaWAN gateway

If the downlink topic release message is delivered within the time window, it will be sent immediately.

If the time point when the downlink topic publishes a message misses the time window, the message will be cached.

Specifically, the node has a buffer queue (FIFO) for downstream packets, and the message that missed the time window will be buffered in the buffer queue (FIFO).

Second, the impact of the time window on the data received by the node

If the application server delivers the downlink data within 200 ms of receiving the uplink message through the downlink message, and the node's downlink message buffer queue is empty, then the node can receive the downlink data in this downlink window. If the downstream packet buffer queue of the node is not empty, the data at the front of the queue will be sent first, and the current downstream packets will continue to be buffered.

If the application server sends downstream data 200ms after receiving the upstream message, the receiving window will be missed. At this time, the background message will be buffered in the background, waiting for the next upload by the node.

The above is the specific content of the impact of the time window on sending and receiving data using the built-in NS and ClassA modes of the LoRa gateway.

For more information, please visit the official website of Shenzhen RAKwireless Technology Co., Ltd. RAKwireless.com, or you can send an email to info@rakwireless.com for consultation.

Post a Comment

0 Comments