Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg6d1f4

Inherits:
VDMMsg6DynamicPayload show all
Defined in:
lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f4.rb

Overview

Type 6: Binary Addressed Message Subtype: IFM 4: Capability reply

Instance Attribute Summary collapse

Attributes inherited from Payload

#fill_bits, #payload_bitstring

Method Summary

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

#fid_availabilityArray (readonly)

The availibility table for functional IDs; there are 64 boolean entries

Returns:

  • (Array)

    An array of booleans



14
15
16
17
18
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f4.rb', line 14

def fid_availability
  (0...128).step(2).to_a.map do |pos|
    _6b_boolean(88 + pos, 1)
  end
end