Trace Firmware Payloads Through the Temperature Parser

Trace Firmware Payloads Through the Temperature Parser

Try Press Step to trace the version 1 temp field into the normalized record’s value_num slot.

How does each payload normalize?

Schema rollout

Mixed firmware fleet

Old firmware · version 1

Incoming payload
version 1 · temp reading

New firmware · version 2

Incoming payload
version 2 · temperature reading

unit may also be supplied.

Both feed one parser
The token reading stands for a symbolic temperature reading.

During a rollout, old and new devices can send temperature readings to the same parser.

Observe In the version 2 table with the unit omitted, the highlighted output changes from Predict to C. The adjacent version 2 table still shows Fahrenheit.
Explain The version 2 parser copies the unit when the payload supplies it and assigns C when the unit field is missing.

Technical boundaries. The tables use a symbolic reading and focus on field mapping for the two known versions plus handling of an unknown version. The Fahrenheit label passes through unchanged, and its reading remains symbolic. Downstream quality checks appear as a separate stage after parsing.

Back to the chapter