Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg15

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

Overview

AIS Type 15: Interrogation

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

#interrogation1_mmsiObject (readonly)

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

Returns:

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



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

payload_reader :interrogation1_mmsi, 40, 30, :_u

#interrogation1_offset1Object (readonly)

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

Returns:

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



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

payload_reader :interrogation1_offset1, 76, 12, :_u

#interrogation1_offset2Object (readonly)

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

Returns:

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



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

payload_reader :interrogation1_offset2, 96, 12, :_u

#interrogation1_type1Object (readonly)

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

Returns:

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



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

payload_reader :interrogation1_type1, 70, 6, :_u

#interrogation1_type2Object (readonly)

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

Returns:

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



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

payload_reader :interrogation1_type2, 90, 6, :_u

#interrogation2_mmsiObject (readonly)

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

Returns:

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



16
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg15.rb', line 16

payload_reader :interrogation2_mmsi, 110, 30, :_u

#interrogation2_offsetObject (readonly)

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

Returns:

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



18
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg15.rb', line 18

payload_reader :interrogation2_offset, 146, 12, :_u

#interrogation2_typeObject (readonly)

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

Returns:

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



17
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg15.rb', line 17

payload_reader :interrogation2_type, 140, 6, :_u