> 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

New in SA6 \*\*SA6 version introduced\*\*

**Purpose**

Alerts the user (sound) when a paired Bluetooth peripheral — e.g. a barcode scanner or sled — disconnects unexpectedly, so the user notices immediately rather than continuing to scan into a device that isn't receiving data.

**Location**

features/bluetooth/alert/BluetoothDisconnectAlertHandler.kt, utils/BluetoothConnectionTracker.kt, common/BluetoothDisconnectAlertConfig.kt.

\*\*Screenshots \<will provide screenshots for this>

**Responsibilities**

* Track the connection state of paired Bluetooth peripherals (BluetoothConnectionTracker).
* When a tracked peripheral disconnects without a corresponding expected/user-initiated disconnect, play an alert sound.
* Fire the bluetoothdisconnectalert event when the alert UI/sound is triggered.

**Configuration**

Config-driven via a bluetoothDisconnectAlert object (BluetoothDisconnectAlertConfig) nested in SupportAgentConfig:

| 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 |

#### Dependencies

* BLUETOOTH\_CONNECT/BLUETOOTH\_SCAN runtime permissions.&#x20;
* Requires a peripheral to already be paired; this feature does not perform pairing itself.

#### Events

* `bluetoothdisconnectalert` — See event catalog \<need to link this to event catalog>


---

# 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.
