---
name: "connectDevice"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.0.0" }
---

## connectDevice

> [VERSION] @ray-js/lock-sdk >= 1.0.0

### Description

Initiate the near-field/LAN device connection flow.

### Parameters

None


### Return Value

Type: `Promise<unknown>`

Connection result (implementation-defined)

### Examples

#### Example

```ts
import { connectDevice } from '@ray-js/lock-sdk';
await connectDevice();
```
