payload_fieldsprovided by the TNT Integration.
payload_fields, as required by TTN network.
Application Iddropdown, and then navigate to the other plugin sections.
downlinkprocessors. It is also possible to test the code by providing a sample input data both for
Custompayload format but does not provide a
decoderfunction, this method will receive the raw payload encoded in base64. In this case, it will be necessary to write a function to transform this base64 data to a JSON object.
Cayene LPPpayload format, TTN will automatically convert the binary data to a JSON object that can be used directly by the platform. In this case, it is not necessary to define custom uplink method unless you want to do some extra processing like incorporate calculated fields.
Custompayload format and provides a
decoderfunction, this function will receive the output from TTN function. In this case, creating a custom uplink method will be redundant, so create the funtion in TTN, or in the plugin.
humidityparsed from the binary data.
downlinkproperty (that is automatically initialized if
Initialize Downlink Datais configured in the plugin), this method will receive the JSON content of this property. It usually consists on a user-friendly device configuration that should be later encoded to binary in base64.
converterfor your payloads, this method can return a JSON object that will be accesible in the
convertermethod. In this case, creating a custom downlink method will be redundant, so create the funtion in TTN, or in the plugin.
metadata, or the actual payload information sent by LoRa devices on
payload_rawfields, depending on the Payload formats configured in the TTN application.
device, It saves information like
metadatafield for further analysis.
payload_fieldsbefore its use in the platform.
decoder, that is a custom function that can be configured for each application. It can also parse data encoded by the Cayenne LPP binary format easily.