Class Detection


  • public final class Detection
    extends java.lang.Object
    Decodes a 202 bit binary beacon detection message. Based on C/T.018 Rev 6 (May 2020).
    • Method Detail

      • fromBitString

        public static Detection fromBitString​(java.lang.String bitString)
      • fromHexGroundSegmentRepresentation

        public static Detection fromHexGroundSegmentRepresentation​(java.lang.String hex)
      • tac

        public int tac()
      • serialNo

        public int serialNo()
      • countryCode

        public int countryCode()
      • hasAtLeastOneEnabledHomingSignal

        public boolean hasAtLeastOneEnabledHomingSignal()
      • hasEnabledRls

        public boolean hasEnabledRls()
      • isTestProtocolMessage

        public boolean isTestProtocolMessage()
      • vesselId

        public java.util.Optional<? extends VesselId> vesselId()
      • beacon23HexId

        public java.lang.String beacon23HexId()
      • beacon15HexId

        public java.lang.String beacon15HexId()
      • calculateBchErrorCorrectionCode

        public Bits calculateBchErrorCorrectionCode()
      • toJson

        public java.lang.String toJson()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object