Inject hex to lora device
- This topic has 1 reply, 2 voices, and was last updated 7 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: AEP Model › Inject hex to lora device
I am trying to send a message downlink to a lora module from an abp station. I am using ndoe-red. I just can send a string but not an hex array. Is it possible? I also wanted to receive the hex array from mqtt and inject to a lora device (a precise one, not broadcast).
I have seen the lora module (blue one) but I don’t know how to configure all the parameters in advance with my hex array and device in code, not hardcoded.
Any idea here?
// This should do the tick
// In function node
var downlinkMsg = new Buffer(‘04000105′,’hex’);
var msg = {
“payload”: downlinkMsg,
“eui”: “00:11:22:33:44:55:66:88”,
“ack”: false,
“port”: 1
};
return msg;