peripheral(_:didDiscoverServices:)

internal func peripheral(_ inPeripheral: CBPeripheral, didDiscoverServices inError: Error?)

Called when we have discovered services for the peripheral.

  • This searches the holding pen for instances of a given Service object.

    Declaration

    Swift

    func getHoldingPenInstanceForThisService(_ inService: CBService) -> RVS_BTDriver_Service_BLE!

    Parameters

    inService

    The service object we’re looking for.

    Return Value

    tre, if we already have the service.