Class: SDN::Message::ILT2::SetIRConfig
- Inherits:
-
PostIRConfig
- Object
- SDN::Message
- PostIRConfig
- SDN::Message::ILT2::SetIRConfig
- Defined in:
- lib/sdn/message/ilt2/set.rb
Overview
Command that writes the ILT2 IR channel bitmask.
Constant Summary collapse
- MSG =
Protocol message number
0x59
Constants inherited from PostIRConfig
Instance Attribute Summary
Attributes inherited from PostIRConfig
Attributes inherited from SDN::Message
#ack_requested, #dest, #node_type, #src
Instance Method Summary collapse
-
#initialize(dest = nil, channels = nil, **kwargs) ⇒ SetIRConfig
constructor
Creates an ILT2 IR configuration write command.
Methods inherited from PostIRConfig
#class_inspect, #params, #parse
Methods inherited from SDN::Message
#==, expected_response?, #inspect, parse, #parse, #serialize
Methods included from Helpers
#checksum, #from_number, #from_string, #group_address?, #node_type_from_number, #node_type_to_number, #node_type_to_string, #parse_address, #print_address, #to_number, #to_string, #transform_param
Constructor Details
#initialize(dest = nil, channels = nil, **kwargs) ⇒ SetIRConfig
Creates an ILT2 IR configuration write command.
16 17 18 19 |
# File 'lib/sdn/message/ilt2/set.rb', line 16 def initialize(dest = nil, channels = nil, **kwargs) kwargs[:dest] ||= dest super(channels, **kwargs) end |