I am having some problems with the downlink data from node-red(inject block) so I added a block function at node-red between inject block and MQTT block
(inject block)>(function block)>(MQTT block)
(Function from ChipStack > Scheduling downlink data) like this
//////////////////////////////////////////////
x = msg.payload;
msg.payload=
{
“devEUI”:“xxxxxxxxxxxxxxxxx”,
“reference”:“GPS”,
“confirmed”: true,
“fPort”: 1,
“data”: msg.payload
}
return msg;
//////////////////////////////////////////////
But when I send the data from node-red(inject block) It doesn’t show DOWNLINK messages in page ‘LoraWAN Frames’ and ‘Device Data’ but It show a UPLINK message when I send a data from node device
Thanks for any clarity around this.
regards