Inject hex to lora device

Home Forums Conduit: AEP Model Inject hex to lora device

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20912
    mdot_dev aa
    Participant

    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?

    #20915
    Lawrence Griffiths
    Participant

    // 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;

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.