function
Decoder
(bytes, port) {
var
decoded = {};
if
(port ===
8
) {
decoded.temp = bytes[
0
] <<
8
| bytes[
1
];
decoded.humi = bytes[
2
] <<
8
| bytes[
3
];
}
return
decoded;
}
•
Step 4
: Add Grove - LoRa-E5 device to the TTN Console
•
Run the downloaded program module, view the DEVEUI and APP
EUI of the LoRa-E5 module through the serial port.
1.
Add these two EUIs to the application.