Exmbus.Parser.Apl.DataRecord (Exmbus v0.3.0)
View SourceParser for a DataRecord.
Summary
Functions
Decodes a single DataRecord from a binary.
decodes a value associated with a given header.
Returns the unit for a DataRecord as a string. This string will have any relevant extensions added it to, so it might differ from the raw unit in the header's Value Information Block.
Retrieve the simplified value of the DataRecord. The value is calculated from the decoded data, modified with added extensions found in the header.
Types
@type t() :: %Exmbus.Parser.Apl.DataRecord{ data: term(), header: Exmbus.Parser.Apl.DataRecord.Header.t() }
Functions
See Exmbus.Parser.Apl.DataRecord.CompactProfile.compact_profile?/1
.
See Exmbus.Parser.Apl.DataRecord.CompactProfile.compact_profile_records/2
.
See Exmbus.Parser.Apl.DataRecord.CompactProfile.expand_compact_profile/2
.
Decodes a single DataRecord from a binary.
decodes a value associated with a given header.
Returns the unit for a DataRecord as a string. This string will have any relevant extensions added it to, so it might differ from the raw unit in the header's Value Information Block.
Retrieve the simplified value of the DataRecord. The value is calculated from the decoded data, modified with added extensions found in the header.