Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg20
- Defined in:
- lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb
Overview
AIS Type 20 Data Link Management Message
Instance Attribute Summary collapse
-
#increment1 ⇒ Object
readonly
The field defined by the 11 bits starting at payload bit 59, formatted with the function Payload#_u(, , ).
-
#increment2 ⇒ Object
readonly
The field defined by the 11 bits starting at payload bit 89, formatted with the function Payload#_u(, , ).
-
#increment3 ⇒ Object
readonly
The field defined by the 11 bits starting at payload bit 119, formatted with the function Payload#_u(, , ).
-
#increment4 ⇒ Object
readonly
The field defined by the 11 bits starting at payload bit 149, formatted with the function Payload#_u(, , ).
-
#offset1 ⇒ Object
readonly
The field defined by the 12 bits starting at payload bit 40, formatted with the function Payload#_u(, , ).
-
#offset2 ⇒ Object
readonly
The field defined by the 12 bits starting at payload bit 70, formatted with the function Payload#_u(, , ).
-
#offset3 ⇒ Object
readonly
The field defined by the 12 bits starting at payload bit 100, formatted with the function Payload#_u(, , ).
-
#offset4 ⇒ Object
readonly
The field defined by the 12 bits starting at payload bit 130, formatted with the function Payload#_u(, , ).
-
#reserved_slots1 ⇒ Object
readonly
The field defined by the 4 bits starting at payload bit 52, formatted with the function Payload#_u(, , ).
-
#reserved_slots2 ⇒ Object
readonly
The field defined by the 4 bits starting at payload bit 82, formatted with the function Payload#_u(, , ).
-
#reserved_slots3 ⇒ Object
readonly
The field defined by the 4 bits starting at payload bit 112, formatted with the function Payload#_u(, , ).
-
#reserved_slots4 ⇒ Object
readonly
The field defined by the 4 bits starting at payload bit 142, formatted with the function Payload#_u(, , ).
-
#timeout1 ⇒ Object
readonly
The field defined by the 3 bits starting at payload bit 56, formatted with the function Payload#_u(, , ).
-
#timeout2 ⇒ Object
readonly
The field defined by the 3 bits starting at payload bit 86, formatted with the function Payload#_u(, , ).
-
#timeout3 ⇒ Object
readonly
The field defined by the 3 bits starting at payload bit 116, formatted with the function Payload#_u(, , ).
-
#timeout4 ⇒ Object
readonly
The field defined by the 3 bits starting at payload bit 146, formatted with the function Payload#_u(, , ).
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
#increment1 ⇒ Object (readonly)
Returns The field defined by the 11 bits starting at payload bit 59, formatted with the function Payload#_u(, , ).
13 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 13 payload_reader :increment1, 59, 11, :_u |
#increment2 ⇒ Object (readonly)
Returns The field defined by the 11 bits starting at payload bit 89, formatted with the function Payload#_u(, , ).
17 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 17 payload_reader :increment2, 89, 11, :_u |
#increment3 ⇒ Object (readonly)
Returns The field defined by the 11 bits starting at payload bit 119, formatted with the function Payload#_u(, , ).
21 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 21 payload_reader :increment3, 119, 11, :_u |
#increment4 ⇒ Object (readonly)
Returns The field defined by the 11 bits starting at payload bit 149, formatted with the function Payload#_u(, , ).
25 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 25 payload_reader :increment4, 149, 11, :_u |
#offset1 ⇒ Object (readonly)
Returns The field defined by the 12 bits starting at payload bit 40, formatted with the function Payload#_u(, , ).
10 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 10 payload_reader :offset1, 40, 12, :_u |
#offset2 ⇒ Object (readonly)
Returns The field defined by the 12 bits starting at payload bit 70, formatted with the function Payload#_u(, , ).
14 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 14 payload_reader :offset2, 70, 12, :_u |
#offset3 ⇒ Object (readonly)
Returns The field defined by the 12 bits starting at payload bit 100, formatted with the function Payload#_u(, , ).
18 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 18 payload_reader :offset3, 100, 12, :_u |
#offset4 ⇒ Object (readonly)
Returns The field defined by the 12 bits starting at payload bit 130, formatted with the function Payload#_u(, , ).
22 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 22 payload_reader :offset4, 130, 12, :_u |
#reserved_slots1 ⇒ Object (readonly)
Returns The field defined by the 4 bits starting at payload bit 52, formatted with the function Payload#_u(, , ).
11 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 11 payload_reader :reserved_slots1, 52, 4, :_u |
#reserved_slots2 ⇒ Object (readonly)
Returns The field defined by the 4 bits starting at payload bit 82, formatted with the function Payload#_u(, , ).
15 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 15 payload_reader :reserved_slots2, 82, 4, :_u |
#reserved_slots3 ⇒ Object (readonly)
Returns The field defined by the 4 bits starting at payload bit 112, formatted with the function Payload#_u(, , ).
19 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 19 payload_reader :reserved_slots3, 112, 4, :_u |
#reserved_slots4 ⇒ Object (readonly)
Returns The field defined by the 4 bits starting at payload bit 142, formatted with the function Payload#_u(, , ).
23 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 23 payload_reader :reserved_slots4, 142, 4, :_u |
#timeout1 ⇒ Object (readonly)
Returns The field defined by the 3 bits starting at payload bit 56, formatted with the function Payload#_u(, , ).
12 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 12 payload_reader :timeout1, 56, 3, :_u |
#timeout2 ⇒ Object (readonly)
Returns The field defined by the 3 bits starting at payload bit 86, formatted with the function Payload#_u(, , ).
16 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 16 payload_reader :timeout2, 86, 3, :_u |
#timeout3 ⇒ Object (readonly)
Returns The field defined by the 3 bits starting at payload bit 116, formatted with the function Payload#_u(, , ).
20 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 20 payload_reader :timeout3, 116, 3, :_u |
#timeout4 ⇒ Object (readonly)
Returns The field defined by the 3 bits starting at payload bit 146, formatted with the function Payload#_u(, , ).
24 |
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg20.rb', line 24 payload_reader :timeout4, 146, 3, :_u |