---
name: "offBLETransparentDataReport"
mode: "kit"
versionRequirements:
  - { name: "DeviceKit", version: "3.0.0" }
  - { name: "@ray-js/ray", version: "0.6.23" }
platform:
  - "iOS"
  - "Android"
async: true
---

## offBLETransparentDataReport

> [VERSION] DeviceKit >= 3.0.0 | @ray-js/ray >= 0.6.23

> [PLATFORM] iOS, Android

> ⚡ **Supports Promise** — Returns a Promise when success / fail / complete callbacks are omitted.

### Description

Report notification for BLE (thing) device passthrough data channel

### Parameters

`(listener: Function)`

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `listener` | `(params: ThingBLETransparentDataBean) => void` | Yes | - |  |

### Referenced Types

##### `interface` ThingBLETransparentDataBean

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `deviceId` | `string` | `3.0.0` | Bluetooth passthrough data deviceId: device ID |
| `data` | `string` | `3.0.0` | data: passthrough payload |


### Examples

#### Basic usage

```tsx
import { device } from '@ray-js/ray'

const { offBLETransparentDataReport } = device;

offBLETransparentDataReport((res) => {
  console.log('offBLETransparentDataReport', res);
});
```
