View Source KNXex.IndividualAddress (knxex v0.1.0)
KNX individual address (also known as physical address).
Link to this section Summary
Functions
Parses the raw individual address (16bit integer) into a IndividualAddress struct.
Parses a individual address from a string into a IndividualAddress struct.
Creates a IndividualAddress struct from the given area, line and device individual addresses parts.
Returns the raw individual address (16bit integer).
Returns the individual address as a string.
Link to this section Types
@type t() :: %KNXex.IndividualAddress{ area: non_neg_integer(), device: non_neg_integer(), line: non_neg_integer() }
Represents a KNX individual address.
Link to this section Functions
@spec from_raw_address(non_neg_integer()) :: t()
Parses the raw individual address (16bit integer) into a IndividualAddress struct.
Parses a individual address from a string into a IndividualAddress struct.
@spec make(non_neg_integer(), non_neg_integer(), non_neg_integer()) :: t()
Creates a IndividualAddress struct from the given area, line and device individual addresses parts.
@spec to_raw_address(t()) :: non_neg_integer()
Returns the raw individual address (16bit integer).
Returns the individual address as a string.