> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-go/documents/developers-manuals/programmers-manual-commands/commands/device-control/terminate-bluetooth-le-connection.md).

# Terminate Bluetooth LE Connection

## Command 0x1F04 – Terminate Bluetooth® LE Connection (Bluetooth® LE Only)

The host can use this command to terminate a Bluetooth® LE connection. The host may also be able to terminate a Bluetooth® LE connection directly without using this command.

The sequence of events is as follows:

{% stepper %}
{% step %}
The host constructs the command request for **Device in** the format below.
{% endstep %}

{% step %}
The host sends the command request to the device.
{% endstep %}

{% step %}
The device sends a response in the format below to the host.
{% endstep %}

{% step %}
The device terminates the Bluetooth® LE connection within around 500 ms.
{% endstep %}
{% endstepper %}

## Table - Request Data for Command 0x1F04 – Terminate Bluetooth® LE Connection

<table><thead><tr><th>Tag</th><th width="74.3333740234375">Len</th><th width="128">Value / Description</th><th width="74">Typ</th><th width="73.99993896484375">Req</th><th width="96.666748046875">Default</th></tr></thead><tbody><tr><td>Beginning of any wrappers, at minimum including <strong>Request Message</strong></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>1F04 = <strong>Command 0x1F04 – Terminate Bluetooth® LE Connection</strong></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>No parameters.</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>End of any wrappers, at minimum including <strong>Request Message</strong> </td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

## Table - Response Data for Command 0x1F04 – Terminate Bluetooth® LE Connection

<table><thead><tr><th>Tag</th><th width="74">Len</th><th width="124">Value / Description</th><th width="75">Typ</th><th width="76">Req</th><th width="98">Default</th></tr></thead><tbody><tr><td>Beginning of any wrappers, at minimum including <strong>Response Message</strong> </td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>1F04 = <strong>Command 0x1F04 – Terminate Bluetooth® LE Connection</strong></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>No parameters.</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>End of any wrappers, at minimum including <strong>Response Message</strong> </td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

## Table - Request Example

{% code title="Example (Hex)" %}

```
AA 00 81 04 01 55 1F 04 84 02 1F 04
```

{% endcode %}

## Table - Response Example

{% code title="Example (Hex)" %}

```
AA 00 81 04 82 55 1F 04 82 04 00 00 00 00 84 02 1F 04
```

{% endcode %}


---

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

```
GET https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-go/documents/developers-manuals/programmers-manual-commands/commands/device-control/terminate-bluetooth-le-connection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
