Skip to main content

What is an Analyzer?

An Analyzer is the translation layer used by the Direct Device architecture when device-native data does not already match the AirNgin logical model.

Why is an Analyzer useful?

Manufacturers often have an existing device protocol. Instead of forcing every device protocol to be rewritten, the Direct Device Analyzer can translate between manufacturer-specific payloads and the AirNgin operation/command model.

For Gateway-mediated Child Devices, the architecture is different: downlink protocol translation belongs to the Gateway Driver, while an optional Gateway Analyzer is uplink-only. Do not copy Direct Device Analyzer behavior into a Gateway integration.

How is it defined?

For the current Direct Device flow, Analyzer logic is provided as JavaScript and executed by the AirNgin Backend. See Writing the Analyzer JavaScript for the existing Direct Device format.