Exmbus.Parser.CI (Exmbus v0.3.0)
View SourceMBus CI codes found in table 2 of EN-13757-7:2018
Note: If APL then TPL is also implied because EN 13757-7:2018 section 5.2:
The Transport Layer and the Application Layer uses a shared CI-field.
For that reason, a Transport Layer shall be present whenever the Application Layer is used in a message.
Summary
Functions
@spec lookup(non_neg_integer() | binary()) :: {:ok, {atom(), atom()}} | {:error, {:ci, {atom(), {non_neg_integer(), non_neg_integer()}}}} | {:error, {:ci, {:unknown, non_neg_integer()}}}
Lookup a CI number against the CI table. returns corresponding layer and layer extension, or an error.