ESPBLEDelegate
public protocol ESPBLEDelegate
Class needs to conform to ESPBLEDelegate protocol in order to receive callbacks related with BLE devices.
-
Peripheral associated with this ESPDevice is connected
Declaration
Swift
func peripheralConnected() -
Peripheral associated with this ESPDevice is disconnected.
Declaration
Swift
func peripheralDisconnected(peripheral: CBPeripheral, error: Error?) -
Failed to connect with the peripheral associated with this ESPDevice.
Declaration
Swift
func peripheralFailedToConnect(peripheral: CBPeripheral?, error: Error?)
ESPBLEDelegate Protocol Reference