ESPBLETransportDelegate

protocol ESPBLETransportDelegate

Delegate which will receive events relating to BLE device scanning

  • Peripheral devices found with matching Service UUID Callers should call the BLETransport.connect method with one of the peripherals found here

    Declaration

    Swift

    func peripheralsFound(peripherals: [String : ESPDevice])

    Parameters

    peripherals

    peripheral devices array

  • No peripherals found with matching Service UUID

    Declaration

    Swift

    func peripheralsNotFound(serviceUUID: UUID?)

    Parameters

    serviceUUID

    the service UUID provided at the time of creating the BLETransport object