How to Decode Uplink Messages with Qubitro Decoder Functions
By following this guide, you can customize Qubitro decoder functions to decode various sensor payloads and extract valuable network metrics from any LNS integration.
Key Concepts
Input Properties
How It Works
Accessing Input Properties
function decoder(input) {
var bytes = input.bytes; // Retrieve the raw data payload
var fPort = input.fPort; // Retrieve the fPort number
var metadata = input.metadata; // Retrieve LNS metadata
return {}; // Customize and return a JSON object as needed
}Decoding a Temperature Sensor Message
Decoding Temperature and Humidity Data
Accessing Metadata for Network Metrics
Last updated