Back to Serial Studio

URL-Encoded Data

app/rcc/scripts/native/url_encoded.md

4.0.1712 B
Original Source

URL-Encoded Data

Decodes key=value&key=value form data into a fixed channel order. Percent-encoding (%20) and + for spaces are resolved. Values latch between frames.

Wire Format

temperature=25.5&humidity=60&pressure=1013

Parameters

ParameterTypeDefaultDescription
Keys (in channel order)texttemperature,humidity,pressure,voltage,current,powerComma-separated parameter names. The position of each key sets its channel index.

Output Channels

One channel per configured key, in the configured order. Missing keys keep their previous values between frames.

Pipeline Notes

Works with the Plain Text decoder.