Method: NMEAPlus::Message::AIS::VDMPayload::VDMMsg6d1f5#ai_response_description

Defined in:
lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f5.rb,
lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f5.rb
more...

#ai_response_descriptionString (readonly)

The AI response description

Returns:

  • (String)

    The description of the AI response

[View source]

19
20
21
22
23
24
25
26
27
28
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg6d1f5.rb', line 19

def ai_response_description
  case ai_response
  when 0 then "Unable to respond"
  when 1 then "Reception acknowledged"
  when 2 then "Response to follow"
  when 3 then "Able to respond but currently inhibited"
  else
    "Reserved for future use"
  end
end