Method: OpenC3::IgnorePacketProtocol#read_packet
- Defined in:
- lib/openc3/interfaces/protocols/ignore_packet_protocol.rb
#read_packet(packet) ⇒ Object
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/openc3/interfaces/protocols/ignore_packet_protocol.rb', line 37 def read_packet(packet) # Need to make sure packet is identified and defined target_names = nil target_names = @interface.target_names if @interface identified_packet = System.telemetry.identify_and_define_packet(packet, target_names) if identified_packet if identified_packet.target_name == @target_name && identified_packet.packet_name == @packet_name return :STOP end end return super(packet) end |