abstract class KNX::Address
- KNX::Address
- BinData
- Reference
- Object
Overview
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
Direct Known Subclasses
Defined in:
knx/address.crConstant Summary
-
ENDIAN =
["big"]
-
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
-
KLASS_NAME =
[KNX::Address]
-
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
-
PARTS =
[] of Nil
-
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
-
REMAINING =
[] of Nil
-
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
Class Method Summary
-
.bit_fields
+-----------------------------------------------+ 16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
- .parse(input)
Instance Method Summary
- #__format__ : IO::ByteFormat
- #group?
- #to_i
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Macro Summary
-
knx_address(name, onlyif = nil, verify = nil, value = nil)
+-----------------------------------------------+ 16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
-
knx_cemi(name, onlyif = nil, verify = nil, value = nil)
+-----------------------------------------------+ 16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
-
knx_header(name, onlyif = nil, verify = nil, value = nil)
+-----------------------------------------------+ 16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
-
knx_header_timer(name, onlyif = nil, verify = nil, value = nil)
+-----------------------------------------------+ 16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
-
knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil)
+-----------------------------------------------+ 16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
Class Method Detail
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
Instance Method Detail
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
.
Macro Detail
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+
+-----------------------------------------------+
16 bits | GROUP ADDRESS (2 level) | +-----------------------+-----------------------+ | OCTET 0 (high byte) | OCTET 1 (low byte) | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ bits | 7| 6| 5| 4| 3| 2| 1| 0| 7| 6| 5| 4| 3| 2| 1| 0| +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | Main Grp | Sub Group | +--+--------------------+-----------------------+