I try downlink order from Cayenne dashboard to lorawan node (arduino nano + rfm95 ) but I don’t really anderstand the steps to follow.
(yes I’ve read Cayenne docs
(uplink is ok: by exemple i receive temperature in Cayenne dasboard)
1- With lpp.addDigitalOutput in my sketch I can see a “digital output” widget in Cayenne dashboard.
lpp.addDigitalOutput(4, 1); // channel 4, set digital output high
2- When i click on this widget I can observe a payload in my TTN console (04 00 64 FF or 04 00 00 FF ) with th information : port 99 scheduled confirmed.
(and after “downlink scheduled” I can see “downlink sent” by the gateway )
So it’s ok : 04 <=> channel 4 and 64 <=> my digital output is “ON” but …
3- Question : how to retrieve and use this information in my sketch.ino to flash a led or operate a relay by example ?
the beginner I am failing to find tutorial
( https://mydevices.com/cayenne/docs/lora/#lora-cayenne-low-power-payload-examples-downlink-message is not clear enough for me )
Really thanks for your help