lib/openc3/interfaces/protocols/protocol.rb in openc3-5.2.0 vs lib/openc3/interfaces/protocols/protocol.rb in openc3-5.3.0
- old
+ new
@@ -15,11 +15,11 @@
# Modified by OpenC3, Inc.
# All changes Copyright 2022, OpenC3, Inc.
# All Rights Reserved
#
-# This file may also be used under the terms of a commercial license
+# This file may also be used under the terms of a commercial license
# if purchased from OpenC3, Inc.
require 'openc3/config/config_parser'
require 'thread'
@@ -78,8 +78,13 @@
return data
end
def post_write_interface(packet, data)
return packet, data
+ end
+
+ def protocol_cmd(cmd_name, *cmd_args)
+ # Default do nothing - Implemented by subclasses
+ return false
end
end
end