Class: MovingsignApi::HardResetCommand

Inherits:
WriteControlCommand show all
Defined in:
lib/movingsign_api/commands/hard_reset_command.rb

Overview

Note:

The sign will restart after receiving this command

Performs a hard reset, DELETING ALL DATA ON THE SIGN

Instance Attribute Summary

Attributes inherited from Command

#receiver, #sender

Instance Method Summary collapse

Methods inherited from WriteControlCommand

#command_code

Methods inherited from Command

#command_code, #to_bytes

Instance Method Details

#subcommand_codeObject



8
9
10
# File 'lib/movingsign_api/commands/hard_reset_command.rb', line 8

def subcommand_code
  'L'
end

#subcommand_payload_bytesObject



12
13
14
# File 'lib/movingsign_api/commands/hard_reset_command.rb', line 12

def subcommand_payload_bytes
  []
end