ESPConstants

struct ESPConstants

Undocumented

Wi-Fi

  • Wi-Fi base url is configurable by setting value of this key in Info.plist.

    Declaration

    Swift

    static let wifiBaseUrl: String
  • Default Wi-Fi base url.

    Declaration

    Swift

    static let wifiBaseUrlDefault: String

Path parameters

  • Path for sending config data.

    Declaration

    Swift

    static let configPath: String
  • Path for fetching version information.

    Declaration

    Swift

    static let versionPath: String
  • Path for giving scan command to device.

    Declaration

    Swift

    static let scanPath: String
  • Path for establishing session with device.

    Declaration

    Swift

    static let sessionPath: String

JSON Keys

  • Key for getting device information.

    Declaration

    Swift

    static let provKey: String
  • Key for getting capabilities json.

    Declaration

    Swift

    static let capabilitiesKey: String
  • Key for getting wifi scan capability value.

    Declaration

    Swift

    static let wifiScanCapability: String
  • Key for determining proof of possession capability.

    Declaration

    Swift

    static let noProofCapability: String
  • Key for getting security capability of device.

    Declaration

    Swift

    static let noSecCapability: String
  • Key for getting security scheme

    Declaration

    Swift

    static let securityScheme: String