---
title: IOBluetoothDeviceSearchTypesBits
framework: IOBluetooth
role: symbol
role_heading: Structure
path: iobluetooth/iobluetoothdevicesearchtypesbits
---

# IOBluetoothDeviceSearchTypesBits

Bits to determine what Bluetooth devices to search for

## Declaration

```swift
struct IOBluetoothDeviceSearchTypesBits
```

## Overview

Overview You can search for general device classes and service classes, or you can search for a specific device address or name. If you pass NULL as the attribute structure, you will get ALL devices in the vicinity found during a search. Note that passing a zeroed out block of attributes is NOT equivalent to passing in NULL!

## Topics

### Constants

- [kIOBluetoothDeviceSearchClassic](iobluetooth/kiobluetoothdevicesearchclassic.md)
- [kIOBluetoothDeviceSearchLE](iobluetooth/kiobluetoothdevicesearchle.md)

### Initializers

- [init(_:)](iobluetooth/iobluetoothdevicesearchtypesbits/init(_:).md)
- [init(rawValue:)](iobluetooth/iobluetoothdevicesearchtypesbits/init(rawvalue:).md)

### Instance Properties

- [rawValue](iobluetooth/iobluetoothdevicesearchtypesbits/rawvalue.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)

## See Also

### Data Types

- [BluetoothAFHMode](iobluetooth/bluetoothafhmode.md)
- [BluetoothAirMode](iobluetooth/bluetoothairmode.md)
- [BluetoothAllowRoleSwitch](iobluetooth/bluetoothallowroleswitch.md)
- [BluetoothAuthenticationRequirements](iobluetooth/bluetoothauthenticationrequirements.md)
- [BluetoothAuthenticationRequirementsValues](iobluetooth/bluetoothauthenticationrequirementsvalues.md)
- [BluetoothClassOfDevice](iobluetooth/bluetoothclassofdevice.md)
- [BluetoothClockOffset](iobluetooth/bluetoothclockoffset.md)
- [BluetoothCompanyIdentifers](iobluetooth/bluetoothcompanyidentifers.md)
- [BluetoothConnectionHandle](iobluetooth/bluetoothconnectionhandle.md)
- [BluetoothDeviceClassMajor](iobluetooth/bluetoothdeviceclassmajor.md)
- [BluetoothDeviceClassMinor](iobluetooth/bluetoothdeviceclassminor.md)
- [BluetoothDeviceName](iobluetooth/bluetoothdevicename.md)
- [BluetoothEncryptionEnable](iobluetooth/bluetoothencryptionenable.md)
- [BluetoothFeatureBits](iobluetooth/bluetoothfeaturebits.md)
- [BluetoothHCIACLDataByteCount](iobluetooth/bluetoothhciacldatabytecount.md)
