KnxGroupAddress

open class KnxGroupAddress: Hashable

Class representing a KNX group address.

  • initializer for the group address object.

    Declaration

    Swift

    public init(fromString: String)

    Parameters

    fromString

    A string representation of the group address, in the form of a/b/c.

  • initializer for the group address object.

    Declaration

    Swift

    public init(fromUInt16: UInt16)

    Parameters

    fromUInt16

    An UInt16 integer representing the group address.

  • A read-only property returning a string representing the group address object.

    Declaration

    Swift

    open var string: String
  • A read-only property returning the 16bit representation of the group address.

    Declaration

    Swift

    fileprivate(set) open var addressAsUInt16: UInt16
  • A read-only property returning the hash value of the object.

    Declaration

    Swift

    open var hashValue: Int