> For the complete documentation index, see [llms.txt](https://docs.bluefletch.com/bluefletch-enterprise/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/support-application/sa-6/features/bluetooth-disconnect-alert.md).

# Bluetooth Disconnect Alert

A Support Application 6 feature that alerts the user with a sound when a paired Bluetooth peripheral disconnects unexpectedly.

## Overview

Use Bluetooth Disconnect Alert to notify the user with a sound when a paired Bluetooth peripheral, e.g., a barcode scanner or sled, disconnects unexpectedly. This helps the user notice immediately rather than continuing to scan into a device that isn’t receiving data.

Bluetooth Disconnect Alert is disabled by default. When enabled, the alert volume defaults to 80 and the alert plays for 15 seconds.

## User Guide

### Prerequisites

* Grant the `BLUETOOTH_CONNECT` and `BLUETOOTH_SCAN` runtime permissions on the device.
* Pair the Bluetooth peripheral with the device. This feature does not perform pairing itself; a peripheral must already be paired.

### Steps

To configure Bluetooth Disconnect Alert, complete the following steps:

1. Enable the Bluetooth Disconnect Alert feature.
2. Configure the alert sound, volume, and play duration as needed.

## Configuration

### Enabling Bluetooth Disconnect Alert

To enable the Bluetooth Disconnect Alert feature, set `bluetoothDisconnectAlert.enable` to `true`:

```json
"bfSupportAgent": {
 "bluetoothDisconnectAlert": {
   "enable": true
 }
}
```

### Configuring the Alert Sound

Set `bluetoothDisconnectAlert.media` to the path or identifier for the alert sound:

```json
"bfSupportAgent": {

 "bluetoothDisconnectAlert": {
   "enable": true,
   "media": "/path/to/alert.mp3"
 }
}

```

### Configuring Alert Volume

Set `bluetoothDisconnectAlert.volume` to the desired alert volume, clamped to 50–100:

```json
"bfSupportAgent": {
 "bluetoothDisconnectAlert": {
   "enable": true,
   "volume": 80
 }
}

```

### Configuring Alert Duration

Set `bluetoothDisconnectAlert.timeRunning` to how long the alert plays, in seconds, clamped to 5–30:

```json
"bfSupportAgent": {
 "bluetoothDisconnectAlert": {
   "enable": true,
   "timeRunning": 15
 }
}

```

This table provides the settings for the Bluetooth Disconnect Alert feature.

| Configuration                          | Type             | Default | Description                                       |
| -------------------------------------- | ---------------- | ------- | ------------------------------------------------- |
| `bluetoothDisconnectAlert.enable`      | Boolean          | -       | Enables the Bluetooth Disconnect Alert feature    |
| `bluetoothDisconnectAlert.media`       | String           | -       | Path/identifier for the alert sound               |
| `bluetoothDisconnectAlert.volume`      | Integer          | 80      | Alert volume, clamped to 50–100                   |
| `bluetoothDisconnectAlert.timeRunning` | Integer(seconds) | 15      | How long the alert plays, clamped to 5–30 seconds |

## Putting It All Together

For the example described above, the full configuration for the Bluetooth Disconnect Alert feature is as follows:

<pre class="language-json"><code class="lang-json">"bfSupportAgent": {
<strong> "bluetoothDisconnectAlert": {
</strong>   "enable": true,
   "media": "/path/to/alert.mp3",
   "volume": 80,
   "timeRunning": 15
 }
}
</code></pre>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bluefletch.com/bluefletch-enterprise/product-guides/support-application/sa-6/features/bluetooth-disconnect-alert.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
