Decoder Function
Decoder Functions in Qubitro allow you to decode incoming payloads.
Overview
Decoder Functions in Qubitro allow you to decode incoming payloads before storing data.
Depending on your device type and data format, you can choose from different decoder options to ensure data is structured correctly.
Once a decoder function is created, it runs automatically for incoming data without requiring manual activation.

Choosing the Right Decoder
Qubitro provides three types of decoders, each suited for different integration needs:
LoRaWAN Device Template Decoder
Use this option if your LoRaWAN device has a predefined template in Qubitro. It allows you to automatically decode incoming payloads without writing custom logic.
LoRaWAN Custom Device Decoder
Use this option if your LoRaWAN device does not have a predefined template. You can write custom JavaScript to decode payloads manually.
HEX Payload Decoder
Use this option if your device sends data in hex-encoded format instead of JSON. It converts hex-encoded strings into structured JSON.
Last updated