FaultStateEnum

enum FaultStateEnum

The fault state of the EVSE.

  • The EVSE is not in an error state.

    Declaration

    Swift

    case noError
  • The EVSE is unable to obtain electrical measurements.

    Declaration

    Swift

    case meterFailure
  • The EVSE input voltage level is too high.

    Declaration

    Swift

    case overVoltage
  • The EVSE input voltage level is too low.

    Declaration

    Swift

    case underVoltage
  • The EVSE detected charging current higher than allowed by the charger.

    Declaration

    Swift

    case overCurrent
  • The EVSE detected voltage on charging pins when the contactor was open.

    Declaration

    Swift

    case contactWetFailure
  • The EVSE detected the absence of voltage after enabling the contactor.

    Declaration

    Swift

    case contactDryFailure
  • The EVSE has an unbalanced current supply.

    Declaration

    Swift

    case groundFault
  • The EVSE has detected a loss in power.

    Declaration

    Swift

    case powerLoss
  • The EVSE has detected a power-quality issue.

    Declaration

    Swift

    case powerQuality
  • The EVSE pilot-signal amplitude short circuited to ground.

    Declaration

    Swift

    case pilotShortCircuit
  • The emergency stop button was pressed.

    Declaration

    Swift

    case emergencyStop
  • The EVSE detected that the cable has been disconnected.

    Declaration

    Swift

    case evDisconnected
  • The EVSE could not determine the proper power supply level.

    Declaration

    Swift

    case wrongPowerSupply
  • The EVSE detected a swap of the live and neutral wires.

    Declaration

    Swift

    case liveNeutralSwap
  • The EVSE internal temperature is too high.

    Declaration

    Swift

    case overTemperature
  • The EVSE has detected an unknown fault.

    Declaration

    Swift

    case other
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional("PaperSize.Legal")"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.