Sha256: de0343e534a87fd8bbe7513dacc340bb85a061c86b761368d071ea4853b1616f

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

require 'movingsign_api/commands/write_control_command'

module MovingsignApi
  # Performs a hard reset, <b>DELETING ALL DATA ON THE SIGN</b>
  #
  # @note The sign will restart after receiving this command
  class HardResetCommand < WriteControlCommand
    def subcommand_code
      'L'
    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/hard_reset_command.rb
movingsign_api-0.0.1 lib/movingsign_api/commands/hard_reset_command.rb