Module: Meshtastic::ConnectionStatus
- Defined in:
- lib/meshtastic/connection_status.rb
Class Method Summary collapse
Class Method Details
.authors ⇒ Object
12 13 14 |
# File 'lib/meshtastic/connection_status.rb', line 12 public_class_method def self. "AUTHOR(S):\n 0day Inc. <[email protected]>\n " end |
.decode(opts = {}) ⇒ Object
7 8 9 10 |
# File 'lib/meshtastic/connection_status.rb', line 7 public_class_method def self.decode(opts = {}) bytes = opts[:bytes] Meshtastic::DeviceConnectionStatus.decode(bytes) end |
.help ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/meshtastic/connection_status.rb', line 16 public_class_method def self.help puts " USAGE: # Run the decode class method for this module. #{self}.decode( bytes: 'optional - value for bytes passed into decode' ) # Run the authors class method for this module. #{self}.authors " end |