LoRaNow icon indicating copy to clipboard operation
LoRaNow copied to clipboard

LoraNow Nodes downlink?

Open xiskoct opened this issue 4 years ago • 1 comments

Hello,

Would it be possible to send a message to the node taking advantage of the ack message that the gateway returns?

I wish I could establish downlink messages from the cloud. The idea would be to glue the messages on the gateway and be able to send them to the correct node id when it queries the gateway. Is this viable?

xiskoct avatar Nov 06 '19 08:11 xiskoct

This is no problem. When the node sends the information to the gateway, after sending the data it can listen for messages during a certain time (can be set by LoRaNow.setRxWindow(..)). When the gateway receives the message of the node, it can look if there is information to send to this node, if yes it has to be send immediate. This data to be send to a sensor has to be processed earlier by the gateway; this can be done via a previous node receive action, when saving this data to the server (by means of a php-script), it can look if there would be data to send to the sensor, this data is stored at the gateway => the next time the gateway receives a message from this node it will send the data to it. This way of working is the same as when you use The Things Network. You have to store the data locally on the gateway, to make it more realtime, and the sensor has to listen as short as possible for messages to save the batteries.

TRudolphi avatar May 06 '21 15:05 TRudolphi