Exmbus.Parser.Apl (Exmbus v0.3.0)

View Source

Parser for the APL layer. Dispatches to the correct parser based on the frame type of the TPL layer.

If you don't have a TPL layer, you most likely want call the FullFrame.parse/1 instead.

Summary

Functions

Decode the Application Layer and return one of the Apl frame structs.

Functions

parse(ctx)

Decode the Application Layer and return one of the Apl frame structs.

The Application Layer consists of N number of records where N >= 0, and some optional manufacturer specific data.

The function assumes that the entire input is the APL layer data.