Sha256: 3cb971f7200fee7b590609ff0e125489f9c1c064c09e62a064472876a0684ea8

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

require 'movingsign_api/commands/write_control_command'

module MovingsignApi
  # Performs a soft reset of the sign
  #
  # @note The sign will restart after receiving this command.
  class SoftwareResetCommand < WriteControlCommand
    def subcommand_code
      'B'
    end

    def subcommand_payload_bytes
      []
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
movingsign_api-0.0.2 lib/movingsign_api/commands/software_reset_command.rb
movingsign_api-0.0.1 lib/movingsign_api/commands/software_reset_command.rb