Enumerations

The following enumerations are available globally.

  • Enum which encapsulates errors which can occur in the Security handshake with the device.

    See more

    Declaration

    Swift

    enum SecurityError : Error
  • Enum type which encapsulates different states of a session.

    See more

    Declaration

    Swift

    enum Security0SessionState : Int
  • Enum type which encapsulates different states of a secured session.

    See more

    Declaration

    Swift

    enum Security1SessionState : Int
  • Type encapsulates session status of device.

    See more

    Declaration

    Swift

    public enum ESPSessionStatus
  • Type encapsulated provision status of device.

    See more

    Declaration

    Swift

    public enum ESPProvisionStatus
  • Supported mode of communication with device.

    See more

    Declaration

    Swift

    public enum ESPTransport : String
  • Security options on data transmission.

    See more

    Declaration

    Swift

    public enum ESPSecurity : Int
  • Undocumented

    See more

    Declaration

    Swift

    enum ESPScanError : Error
  • ‘ESPScanStatus’ defines intermediate stages of reading and processing QR code.

    See more

    Declaration

    Swift

    public enum ESPScanStatus
  • Undocumented

    See more

    Declaration

    Swift

    enum Espressif_Status : SwiftProtobuf.Enum
    extension Espressif_Status: CaseIterable
    extension Espressif_Status: SwiftProtobuf._ProtoNameProviding
  • Undocumented

    See more

    Declaration

    Swift

    enum Espressif_Sec0MsgType : SwiftProtobuf.Enum
    extension Espressif_Sec0MsgType: CaseIterable
    extension Espressif_Sec0MsgType: SwiftProtobuf._ProtoNameProviding
  • Undocumented

    See more

    Declaration

    Swift

    enum Espressif_Sec1MsgType : SwiftProtobuf.Enum
    extension Espressif_Sec1MsgType: CaseIterable
    extension Espressif_Sec1MsgType: SwiftProtobuf._ProtoNameProviding
  • A message must be of type Cmd0 / Cmd1 / Resp0 / Resp1

    See more

    Declaration

    Swift

    enum Espressif_Sec2MsgType : SwiftProtobuf.Enum
    extension Espressif_Sec2MsgType: CaseIterable
    extension Espressif_Sec2MsgType: @unchecked Sendable
    extension Espressif_Sec2MsgType: SwiftProtobuf._ProtoNameProviding
  • Allowed values for the type of security being used in a protocomm session

    See more

    Declaration

    Swift

    enum Espressif_SecSchemeVersion : SwiftProtobuf.Enum
    extension Espressif_SecSchemeVersion: CaseIterable
    extension Espressif_SecSchemeVersion: @unchecked Sendable
    extension Espressif_SecSchemeVersion: SwiftProtobuf._ProtoNameProviding
  • Undocumented

    See more

    Declaration

    Swift

    enum Espressif_WiFiConfigMsgType : SwiftProtobuf.Enum
    extension Espressif_WiFiConfigMsgType: CaseIterable
    extension Espressif_WiFiConfigMsgType: SwiftProtobuf._ProtoNameProviding
  • Undocumented

    See more

    Declaration

    Swift

    enum Espressif_WifiStationState : SwiftProtobuf.Enum
    extension Espressif_WifiStationState: CaseIterable
    extension Espressif_WifiStationState: SwiftProtobuf._ProtoNameProviding
  • Undocumented

    See more

    Declaration

    Swift

    enum Espressif_WifiConnectFailedReason : SwiftProtobuf.Enum
    extension Espressif_WifiConnectFailedReason: CaseIterable
    extension Espressif_WifiConnectFailedReason: SwiftProtobuf._ProtoNameProviding
  • Undocumented

    See more

    Declaration

    Swift

    public enum Espressif_WifiAuthMode : SwiftProtobuf.Enum
    extension Espressif_WifiAuthMode: CaseIterable
    extension Espressif_WifiAuthMode: SwiftProtobuf._ProtoNameProviding
  • Undocumented

    See more

    Declaration

    Swift

    enum Espressif_WiFiScanMsgType : SwiftProtobuf.Enum
    extension Espressif_WiFiScanMsgType: CaseIterable
    extension Espressif_WiFiScanMsgType: SwiftProtobuf._ProtoNameProviding
  • Enum type which encapsulates different states of a secured session.

    See more

    Declaration

    Swift

    enum Security2SessionState : Int
  • Possible authentication failure modes.

    See more

    Declaration

    Swift

    public enum AuthenticationFailure : Error
    extension AuthenticationFailure: CustomStringConvertible
  • SRP Group Parameters

    The 1024-, 1536-, and 2048-bit groups are taken from software developed by Tom Wu and Eugene Jhong for the Stanford SRP distribution, and subsequently proven to be prime. The larger primes are taken from [MODP], but generators have been calculated that are primitive roots of N, unlike the generators in [MODP].

    The values of N and g used in this protocol must be agreed upon by the two parties in question. They can be set in advance, or the host can supply them to the client. In the latter case, the host should send the parameters in the first message along with the salt. For maximum security, N should be a safe prime (i.e. a number of the form N = 2q + 1, where q is also prime). Also, g should be a generator modulo N (see [SRP] for details), which means that for any X where 0 < X < N, there exists a value x for which g^x % N == X.

    [MODP] Kivinen, T. and M. Kojo, “More Modular Exponentiation (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE)”, RFC 3526, May 2003.

    [SRP] T. Wu, “The Secure Remote Password Protocol”, In Proceedings of the 1998 Internet Society Symposium on Network and Distributed Systems Security, San Diego, CA, pp. 97-111.

    See more

    Declaration

    Swift

    public enum Group
  • Undocumented

    See more

    Declaration

    Swift

    enum Implementation<HF> where HF : HashFunction
  • Enum type representing errors encountered while communicating with ESPDevice.

    See more

    Declaration

    Swift

    enum ESPTransportError : Error
  • ‘ESPWifiScanError’ consist of error cases that will be generated in the process of fetching available Wi-FI network list from an ESPDevice,

    See more

    Declaration

    Swift

    public enum ESPWiFiScanError : ESPError
  • ‘ESPSessionError’ covers error cases that are generated throughout the life cycle of ESPDevice session right from the beginning of session establishment till termination.

    See more

    Declaration

    Swift

    public enum ESPSessionError : ESPError
  • ‘ESPDeviceCSSError’ consist of error case that are generated while creating objects of physical ESPDevice. List covers failed cases of operation like Create, Scan and Search of ESPDevice.

    See more

    Declaration

    Swift

    public enum ESPDeviceCSSError : ESPError
  • ‘ESPProvsionError’ covers reason for failed cases that occurs while provisioning of ESPDevice.

    See more

    Declaration

    Swift

    public enum ESPProvisionError : ESPError