Protocols

The following protocols are available globally.

  • Security interface which abstracts the handshake and crypto behavior supported by a specific class/family of devices.

    See more

    Declaration

    Swift

    public protocol ESPCodeable
  • Class needs to conform to ESPBLEDelegate protocol in order to receive callbacks related with BLE devices.

    See more

    Declaration

    Swift

    public protocol ESPBLEDelegate
  • Class needs to conform to ESPDeviceConnectionDelegate protocol when trying to establish a connection.

    See more

    Declaration

    Swift

    public protocol ESPDeviceConnectionDelegate
  • ESPScanWifiListProtocol provides Wi-Fi scan result to conforming class.

    See more

    Declaration

    Swift

    protocol ESPScanWifiListProtocol
  • The ESPBLEStatusDelegate protocol define methods that provide information of current BLE device connection status

    See more

    Declaration

    Swift

    protocol ESPBLEStatusDelegate
  • Delegate which will receive events relating to BLE device scanning

    See more

    Declaration

    Swift

    protocol ESPBLETransportDelegate
  • Transport interface which abstracts the transport layer to send messages to the ESPDevice.

    See more

    Declaration

    Swift

    protocol ESPCommunicable
  • Error types returned by ESPProvision conforms to ‘ESPError’ protocol. It encompasses additional information which may be used for gaining additional information about an error.

    See more

    Declaration

    Swift

    public protocol ESPError : Error