Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: connexion entre mon produit Adeunis et la multitech

$
0
0

In Node-RED use lora-in to receive packets from the end-device, use lora-out to send back to end-device.

Add lora-in and lora-out nodes to flow with function node between them.

Put this code in the function node to disable ack for the downlink packet:

msg.ack=false;
return msg;

If you want to change the payload.

msg.ack=false;
msg.payload = "new data";
return msg;

A buffer could also be used.
msg.payload = new Buffer([0x01, 0x02, 0x03]);


Viewing all articles
Browse latest Browse all 7111

Trending Articles