---
title: "connectionView(_:firmwareUpdateInstructionsFor:)"
framework: Playground Bluetooth
role: symbol
role_heading: Instance Method
platforms: [xcode 10.2+, swift playgrounds 2.0+]
path: playgroundbluetooth/playgroundbluetoothconnectionviewdelegate/3029522-connectionview
---

# connectionView(_:firmwareUpdateInstructionsFor:)

Tells the delegate that a peripheral has a firmware update available.

## Declaration

```swift
func connectionView(_ connectionView: PlaygroundBluetoothConnectionView, firmwareUpdateInstructionsFor peripheral: CBPeripheral) -> String
```

## Parameters

- `connectionView`: The central manager that failed to make the new connection.
- `peripheral`: The peripheral that the central manager couldn’t connect to.

## Return Value

Return Value A localized string that contains firmware update instructions.
