Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg17

Inherits:
VDMMsg
  • Object
show all
Defined in:
lib/nmea_plus/message/ais/vdm_payload/vdm_msg17.rb

Overview

AIS Type 17: DGNSS Broadcast Binary Message

Instance Attribute Summary collapse

Attributes inherited from VDMMsg

#message_type, #repeat_indicator, #source_mmsi, #source_mmsi_info

Attributes inherited from Payload

#fill_bits, #payload_bitstring

Method Summary

Methods inherited from VDMMsg

#auxiliary_craft?, #get_navigational_status_description, #get_ship_cargo_type_description

Methods inherited from Payload

#_2b_data_string, #_6b_ascii, #_6b_boolean, #_6b_integer, #_6b_integer_scaled, #_6b_integer_scaled_shifted, #_6b_negated_boolean, #_6b_string, #_6b_string_nullterminated, #_6b_unsigned_integer, #_6b_unsigned_integer_scaled, #_6b_unsigned_integer_scaled_shifted, #_8b_data_string, #_access, #_bit_slices, #_get_date_mdhm, #_object_by_name, #initialize, payload_reader

Constructor Details

This class inherits a constructor from NMEAPlus::Message::AIS::VDMPayload::Payload

Instance Attribute Details

#latitudeObject (readonly)

Returns The field defined by the 17 bits starting at payload bit 58, formatted with the function Payload#_I(60 * 10, 91, ).

Returns:

  • The field defined by the 17 bits starting at payload bit 58, formatted with the function Payload#_I(60 * 10, 91, )



10
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg17.rb', line 10

payload_reader :latitude, 58, 17, :_I, 60 * 10, 91

#longitudeObject (readonly)

Returns The field defined by the 18 bits starting at payload bit 40, formatted with the function Payload#_I(60 * 10, 181, ).

Returns:

  • The field defined by the 18 bits starting at payload bit 40, formatted with the function Payload#_I(60 * 10, 181, )



9
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg17.rb', line 9

payload_reader :longitude, 40, 18, :_I, 60 * 10, 181

#payload_2bObject (readonly)

Returns The field defined by the 736 bits starting at payload bit 80, formatted with the function Payload#_d(, , ).

Returns:

  • The field defined by the 736 bits starting at payload bit 80, formatted with the function Payload#_d(, , )



11
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg17.rb', line 11

payload_reader :payload_2b, 80, 736, :_d

#payload_8bObject (readonly)

Returns The field defined by the 736 bits starting at payload bit 80, formatted with the function Payload#_T(, , ).

Returns:

  • The field defined by the 736 bits starting at payload bit 80, formatted with the function Payload#_T(, , )



12
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg17.rb', line 12

payload_reader :payload_8b, 80, 736, :_T