Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsgBinaryAcknowledgement

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

Overview

Base class for binary acknowledgement messages

See Also:

Direct Known Subclasses

VDMMsg13, VDMMsg7

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

#ack1_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(, , )



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

payload_reader :ack1_mmsi, 40, 30, :_u

#ack1_sequence_numberObject (readonly)

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

Returns:

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



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

payload_reader :ack1_sequence_number, 70, 2, :_u

#ack2_mmsiObject (readonly)

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

Returns:

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



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

payload_reader :ack2_mmsi, 72, 30, :_u

#ack2_sequence_numberObject (readonly)

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

Returns:

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



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

payload_reader :ack2_sequence_number, 102, 2, :_u

#ack3_mmsiObject (readonly)

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

Returns:

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



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

payload_reader :ack3_mmsi, 104, 30, :_u

#ack3_sequence_numberObject (readonly)

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

Returns:

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



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

payload_reader :ack3_sequence_number, 134, 2, :_u

#ack4_mmsiObject (readonly)

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

Returns:

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



19
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg_binary_acknowledgement.rb', line 19

payload_reader :ack4_mmsi, 136, 30, :_u

#ack4_sequence_numberObject (readonly)

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

Returns:

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



20
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg_binary_acknowledgement.rb', line 20

payload_reader :ack4_sequence_number, 166, 2, :_u