---
title: "setFirmwareStatus(_:forPeripheral:)"
framework: Playground Bluetooth
role: symbol
role_heading: Instance Method
platforms: [xcode 10.2+, swift playgrounds 2.0+]
path: playgroundbluetooth/playgroundbluetoothconnectionview/3029514-setfirmwarestatus
---

# setFirmwareStatus(_:forPeripheral:)

Displays whether or not the specified peripheral’s firmware is up-to-date.

## Declaration

```swift
func setFirmwareStatus(_ firmwareStatus: PlaygroundBluetoothConnectionView.Item.FirmwareStatus?, forPeripheral peripheral: CBPeripheral)
```

## Parameters

- `firmwareStatus`: A value that indicates whether the specified peripheral needs a firmware update.
- `peripheral`: The peripheral corresponding to the firmware readiness being set.

## See Also

### Displaying Individual Details

- [setBatteryLevel(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029513-setbatterylevel.md)
- [setIcon(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029515-seticon.md)
- [setIssueIcon(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029516-setissueicon.md)
- [setName(_:forPeripheral:)](playgroundbluetooth/playgroundbluetoothconnectionview/3029518-setname.md)
