class KNX::IndividualAddress

Defined in:

knx/address.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [KNX::IndividualAddress]
PARTS = [{type: "bitfield", name: 4, cls: KNX::IndividualAddress, onlyif: nil, verify: nil}, {type: "basic", name: device_address, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
REMAINING = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class KNX::Address

__format__ : IO::ByteFormat __format__, group? group?, to_i to_i, to_s : String to_s

Constructor methods inherited from class KNX::Address

parse(address : String) : Address parse

Class methods inherited from class KNX::Address

bit_fields bit_fields, parse(input : Int)
parse(bytes : Bytes)
parse(io : IO)
parse

Macros inherited from class KNX::Address

knx_address(name, onlyif = nil, verify = nil, value = nil) knx_address, knx_header(name, onlyif = nil, verify = nil, value = nil) knx_header, knx_header_timer(name, onlyif = nil, verify = nil, value = nil) knx_header_timer, knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil) knx_header_wrapper

Constructor Detail

def self.parse(address : String) : self #

[View source]

Class Method Detail

def self.bit_fields #

[View source]
def self.parse_friendly(string) #

[View source]

Macro Detail

macro knx_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_group_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_group_address2_level(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header_timer(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_individual_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def area_address : UInt8 #

def area_address=(area_address : UInt8) #

def device_address : UInt8 #

def device_address=(device_address : UInt8) #

def group? #

[View source]
def line_address : UInt8 #

def line_address=(line_address : UInt8) #

def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]