# BluetoothDevice

`import { BluetoothDevice } from "destack:device/binding";`

Bluetooth device.

```ds title="BluetoothDevice"
export struct BluetoothDevice {
    id: string;
    address: string;
    name: string;
    rssi: int32;
    pairing: BluetoothPairing;
    isConnected: boolean;
    isConnectable: boolean;
    transport: BluetoothTransport;
    advertisement: BluetoothAdvertisement;
}
```

[language/library/src/device/binding/bluetooth.ds:234:253](https://github.com/destack-sh/destack/blob/main/language/library/src/device/binding/bluetooth.ds#L234-L253)

## Members

### `id: string`

Stable device identifier.

### `address: string`

Device address string when the host exposes one.

### `name: string`

Host-visible device name when available.

### `rssi: int32`

Signal strength in dBm when available.

### `pairing: BluetoothPairing`

Pairing state when reported by host.

### `isConnected: boolean`

Whether the device is currently connected.

### `isConnectable: boolean`

Whether the advertisement indicates connectability when known.

### `transport: BluetoothTransport`

Host-reported transport classification when available.

### `advertisement: BluetoothAdvertisement`

Advertisement payload.
