Hello,
I am trying to get RAK10701 node working on ChirpStack server following this Quickstart.
I ran into few small problems in the guide itself:
-
In the decoder JS which goes into the Codec on Chirpstack side, there is last “]” missing in the end
-
There is alternative decode script on github where “,” is missing in the function parameter (between bytes and variables)
-
While declaring the fields on DataCake, it is also needed to add NUM_GW (integer), otherwise downlink decoder JS not working
-
chirpstack v4 expects decodeUplink now instead of decode, so I have added below part on top of main Decode function
function decodeUplink(input) {
return {
data: Decode(input.fPort, input.bytes, input.variables)
};
}
Finally I managed to get the downlink scheduled and sent from DataCake. (Guide says that node expects it to be on fport 2, I have tried the same on port 1 as well)
I can see that payload is correct
However I am not getting anything on the RAK10701 side, no data (f.eg No.of Gateways shows “–”)
I am sure I have followed the guide precisely.
What can be next step of troubleshooting?
thanks
Sergi