Method: OpenC3::InterfaceTopic.connect_interface

Defined in:
lib/openc3/topics/interface_topic.rb

.connect_interface(interface_name, scope:) ⇒ Object



51
52
53
# File 'lib/openc3/topics/interface_topic.rb', line 51

def self.connect_interface(interface_name, scope:)
  Topic.write_topic("{#{scope}__CMD}INTERFACE__#{interface_name}", { 'connect' => 'true' }, '*', 100)
end