Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg8

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

Overview

Type 8: Binary Broadcast Message

Instance Attribute Summary collapse

Attributes inherited from VDMMsg

#fill_bits, #message_type, #payload_bitstring, #repeat_indicator, #source_mmsi

Method Summary

Methods inherited from VDMMsg

#_2b_data_string, #_6b_ascii, #_6b_boolean, #_6b_integer, #_6b_integer_scaled, #_6b_string, #_6b_string_nullterminated, #_6b_twoscomplement, #_6b_unsigned_integer, #_6b_unsigned_integer_scaled, #_8b_data_string, #_access, #_bit_slices, #get_ship_cargo_type_description, payload_reader

Instance Attribute Details

#application_data_2bObject (readonly)

Returns The field defined by 952 bits starting at bit 56 of the payload, formatted with the function NMEAPlus::Message::AIS::VDMPayload::VDMMsg#_d().

Returns:



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

payload_reader :application_data_2b, 56, 952, :_d

#application_data_6bObject (readonly)

Returns The field defined by 952 bits starting at bit 56 of the payload, formatted with the function NMEAPlus::Message::AIS::VDMPayload::VDMMsg#_6b_string().

Returns:



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

payload_reader :application_data_6b, 56, 952, :_6b_string

#application_data_8bObject (readonly)

Returns The field defined by 952 bits starting at bit 56 of the payload, formatted with the function NMEAPlus::Message::AIS::VDMPayload::VDMMsg#_8b_data_string().

Returns:



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

payload_reader :application_data_8b, 56, 952, :_8b_data_string

#designated_area_codeObject (readonly)

Returns The field defined by 10 bits starting at bit 40 of the payload, formatted with the function NMEAPlus::Message::AIS::VDMPayload::VDMMsg#_u().

Returns:



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

payload_reader :designated_area_code, 40, 10, :_u

#functional_idObject (readonly)

Returns The field defined by 6 bits starting at bit 50 of the payload, formatted with the function NMEAPlus::Message::AIS::VDMPayload::VDMMsg#_u().

Returns:



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

payload_reader :functional_id, 50, 6, :_u