send packet to end device from gateway

Home Forums Conduit: AEP Model send packet to end device from gateway

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #16046
    Danny Lee
    Participant

    Hi,

    I have the mDot connected to gateway and able to see payload including RSSI, lsnr and etc on the nodeRed.

    Now, I would like to configure mDot to receive a packet which includes the RSSI from gateway to the mDot. (not the RSSI received at gateway from mDot)

    How could I achieve this? (using both AT commands or mbed lib)

    Thank you

    Regards,

    #16051

    Hi Danny,

    The AT commands AT+RSSI and AT+SNR will display RSSI and SNR of downlink packets. Call getRssiStats() and getSnrStats() from the library to get the same information.
    If you are interested, AT+PING or ping() get you the RSSI and SNR of uplink packets.

    Kind regards,
    Leon

    #16059
    Micheal Le
    Participant

    Hi Danny,

    You can create lora input and output nodes then insert a function node between them.

    • This reply was modified 7 years, 4 months ago by Micheal Le.
    • This reply was modified 7 years, 4 months ago by Micheal Le.
    • This reply was modified 7 years, 4 months ago by Micheal Le.
    • This reply was modified 7 years, 4 months ago by Micheal Le.
    • This reply was modified 7 years, 4 months ago by Micheal Le.
    #16065
    Danny Lee
    Participant

    Hi,

    Yes, I understand that I have to create lora input and output nodes and insert a function node between them on nodeRed but I am not sure about what code I need to insert inside of a function node to setup downlink packets

    Thanks
    Danny

    #16067

    Hi Danny,

    Take a look at this.
    http://nodered.org/docs/getting-started/second-flow.html
    You can modify it to trigger with a lora input node and send the output to a lora output node. Assuming you are using class A, sending down to an endpoint can only happen after an up link packet.

    Leon

    #16068
    Danny Lee
    Participant

    Hi Leon,

    If I just connect input node to output node without function node, would gateway be sending exact same data that was received from mDot?

    Thank you

    #16069

    yes

    #16070
    Danny Lee
    Participant

    Thank you so much

    Regards,

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