Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg16

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

Overview

AIS Type 16: Assignment Mode Command

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

#destination1_incrementObject (readonly)

Returns The field defined by the 10 bits starting at payload bit 82, formatted with the function Payload#_u(, , ).

Returns:

  • The field defined by the 10 bits starting at payload bit 82, formatted with the function Payload#_u(, , )



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

payload_reader :destination1_increment, 82, 10, :_u

#destination1_mmsiObject (readonly)

Returns The field defined by the 30 bits starting at payload bit 40, formatted with the function Payload#_u(0, , ).

Returns:

  • The field defined by the 30 bits starting at payload bit 40, formatted with the function Payload#_u(0, , )



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

payload_reader :destination1_mmsi, 40, 30, :_u, 0

#destination1_offsetObject (readonly)

Returns The field defined by the 12 bits starting at payload bit 70, formatted with the function Payload#_u(, , ).

Returns:

  • The field defined by the 12 bits starting at payload bit 70, formatted with the function Payload#_u(, , )



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

payload_reader :destination1_offset, 70, 12, :_u

#destination2_incrementObject (readonly)

Returns The field defined by the 10 bits starting at payload bit 134, formatted with the function Payload#_u(, , ).

Returns:

  • The field defined by the 10 bits starting at payload bit 134, formatted with the function Payload#_u(, , )



15
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg16.rb', line 15

payload_reader :destination2_increment, 134, 10, :_u

#destination2_mmsiObject (readonly)

Returns The field defined by the 30 bits starting at payload bit 92, formatted with the function Payload#_u(0, , ).

Returns:

  • The field defined by the 30 bits starting at payload bit 92, formatted with the function Payload#_u(0, , )



13
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg16.rb', line 13

payload_reader :destination2_mmsi, 92, 30, :_u, 0

#destination2_offsetObject (readonly)

Returns The field defined by the 12 bits starting at payload bit 122, formatted with the function Payload#_u(, , ).

Returns:

  • The field defined by the 12 bits starting at payload bit 122, formatted with the function Payload#_u(, , )



14
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg16.rb', line 14

payload_reader :destination2_offset, 122, 12, :_u