Class: QuelinkMg::Gl30meu::Buff::Gtfri
- Inherits:
-
Buff::Base
- Object
- Resp::Base
- Buff::Base
- QuelinkMg::Gl30meu::Buff::Gtfri
- Defined in:
- lib/quelink-mg/gl30meu/buff/gtfri.rb
Constant Summary collapse
- GTFRI_RESP_KEYS =
%w[protocol_version unique_id device_name report_id report_type number gps_accuracy speed azimuth elevation longitude latitude gps_utc_time mcc mnc lac cell_id csq_rssi csq_ber battery_voltage battery_percentage current_mode_status movement_status reserved send_time count_number].freeze
Constants inherited from Buff::Base
Buff::Base::QUELINK_DATE_FORMAT
Constants inherited from Resp::Base
Resp::Base::QUELINK_DATE_FORMAT
Instance Method Summary collapse
Methods inherited from Resp::Base
Constructor Details
This class inherits a constructor from QuelinkMg::Resp::Base
Instance Method Details
#hash ⇒ Object
12 13 14 |
# File 'lib/quelink-mg/gl30meu/buff/gtfri.rb', line 12 def hash unify_keys(GTFRI_RESP_KEYS.zip(@response.split(',')).to_h) end |