Class SmePinState

    • Field Detail

      • log

        protected final org.slf4j.Logger log
    • Method Detail

      • processMsg

        public void processMsg​(byte[] msg)
        Specified by:
        processMsg in class State
      • commonSendPinRequirement

        public void commonSendPinRequirement​(ConnectionPinStateType cpsType)
        used to send own PIN requirement
        Parameters:
        cpsType - the PIN requirement
      • commonEnableConnectionDataExchange

        public void commonEnableConnectionDataExchange()
        used to enable Connection Data Exchange
      • commonPinError

        public void commonPinError​(PinError error)
        used to indicate that a wrong PIN was received
        Parameters:
        error - PIN error
      • getSubState

        public Check getSubState()
        assumes that user wants the CHECK sub-state, for ASK sub-state use getAskSubState()
        Specified by:
        getSubState in class ConnectionDataPreparation
        Returns:
        the specific CHECK sub-state
      • getAskSubState

        public Ask getAskSubState()
      • toString

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