View Source KNXex.DIB.IPConfig (knxex v0.1.0)
KNXnet/IP Data Information Block "IP Config" (and "Current IP Config").
Link to this section Summary
Functions
Converts a four item tuple IP address to a integer IP address (integer 32bit).
Converts a integer IP address (integer 32bit) to a four item tuple.
Link to this section Types
@type t() :: %KNXex.DIB.IPConfig{ gateway: :inet.ip4_address(), ip_address: :inet.ip4_address(), ip_assignment_method: KNXex.PID.IPAssignmentMethod.method(), ip_capabilities: non_neg_integer(), netmask: {byte(), byte(), byte(), byte()} }
Link to this section Functions
@spec inet_to_integer(:inet.ip4_address()) :: integer()
Converts a four item tuple IP address to a integer IP address (integer 32bit).
@spec integer_to_inet(integer()) :: :inet.ip4_address()
Converts a integer IP address (integer 32bit) to a four item tuple.