Class: MovingsignApi::SoftwareResetCommand

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

Overview

Note:

The sign will restart after receiving this command.

Performs a soft reset of 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/software_reset_command.rb', line 8

def subcommand_code
  'B'
end

#subcommand_payload_bytesObject



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

def subcommand_payload_bytes
  []
end