Class: Meshtastic::Util::Acknowledgement
- Inherits:
-
Object
- Object
- Meshtastic::Util::Acknowledgement
- Defined in:
- lib/meshtastic/util.rb
Instance Attribute Summary collapse
-
#received_ack ⇒ Object
Returns the value of attribute received_ack.
-
#received_impl_ack ⇒ Object
Returns the value of attribute received_impl_ack.
-
#received_nak ⇒ Object
Returns the value of attribute received_nak.
-
#received_position ⇒ Object
Returns the value of attribute received_position.
-
#received_telemetry ⇒ Object
Returns the value of attribute received_telemetry.
-
#received_trace_route ⇒ Object
Returns the value of attribute received_trace_route.
-
#received_waypoint ⇒ Object
Returns the value of attribute received_waypoint.
Instance Method Summary collapse
-
#initialize ⇒ Acknowledgement
constructor
A new instance of Acknowledgement.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ Acknowledgement
Returns a new instance of Acknowledgement.
17 18 19 20 21 22 23 24 25 |
# File 'lib/meshtastic/util.rb', line 17 def initialize @received_ack = false @received_nak = false @received_impl_ack = false @received_trace_route = false @received_telemetry = false @received_position = false @received_waypoint = false end |
Instance Attribute Details
#received_ack ⇒ Object
Returns the value of attribute received_ack.
9 10 11 |
# File 'lib/meshtastic/util.rb', line 9 def received_ack @received_ack end |
#received_impl_ack ⇒ Object
Returns the value of attribute received_impl_ack.
9 10 11 |
# File 'lib/meshtastic/util.rb', line 9 def received_impl_ack @received_impl_ack end |
#received_nak ⇒ Object
Returns the value of attribute received_nak.
9 10 11 |
# File 'lib/meshtastic/util.rb', line 9 def received_nak @received_nak end |
#received_position ⇒ Object
Returns the value of attribute received_position.
9 10 11 |
# File 'lib/meshtastic/util.rb', line 9 def received_position @received_position end |
#received_telemetry ⇒ Object
Returns the value of attribute received_telemetry.
9 10 11 |
# File 'lib/meshtastic/util.rb', line 9 def received_telemetry @received_telemetry end |
#received_trace_route ⇒ Object
Returns the value of attribute received_trace_route.
9 10 11 |
# File 'lib/meshtastic/util.rb', line 9 def received_trace_route @received_trace_route end |
#received_waypoint ⇒ Object
Returns the value of attribute received_waypoint.
9 10 11 |
# File 'lib/meshtastic/util.rb', line 9 def received_waypoint @received_waypoint end |
Instance Method Details
#reset ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/meshtastic/util.rb', line 27 def reset @received_ack = false @received_nak = false @received_impl_ack = false @received_trace_route = false @received_telemetry = false @received_position = false @received_waypoint = false end |