> For the complete documentation index, see [llms.txt](https://docs.blynk.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blynk.io/en/~/revisions/VogQMoqSfAjFiPWKwr6n/legacy-platform/legacy-articles/bluetooth-2.0-spp-4.0-le.md).

# Bluetooth (2.0 SPP, 4.0 LE)

{% hint style="warning" %}
This documentation is for the LEGACY version of Blynk platform which is no longer supported and will be shut down.&#x20;

You can sign up for the current version of Blynk platform [here](http://blynk.cloud/dashboard/register).

The new mobile apps can be downloaded from [App Store](https://apps.apple.com/us/app/blynk-iot/id1559317868) and [Google Play](https://play.google.com/store/apps/details?id=cloud.blynk\&hl=en\&gl=US).

The actual Blynk documentation is [here](https://docs.blynk.io/).
{% endhint %}

Bluetooth 4.0 (Smart, Low-Energy) modules are supported on both iOS and Android.\
Bluetooth 2.0 (Classic, Serial Port Profile) modules are supported **only on Android**.

#### Getting started <a href="#getting-started" id="getting-started"></a>

1. When adding new hardware project, select **Bluetooth** or **BLE** connection method
2. Add "**BLE**" (for BTLE) or "**Bluetooth**" (for SPP) widget
3. In widget settings, click **Connect** button. It should say "connected"
4. Run your project

#### Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

If "BLE" or "Bluetooth" widgets are not shown, it means your smartphone doesn't support it (be sure to enable Bluetooth and Location Services).

If it doesn't get connected:

* Restart your phone and retry
* Try using original examples of your hardware/library providers - maybe the problem is in hardware/wiring


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blynk.io/en/~/revisions/VogQMoqSfAjFiPWKwr6n/legacy-platform/legacy-articles/bluetooth-2.0-spp-4.0-le.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
