> For the complete documentation index, see [llms.txt](https://cavedu.gitbook.io/linkit-7697/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cavedu.gitbook.io/linkit-7697/linkit-7697-development-guide-for-arduino-ide/developer-guide/using-bluetooth/lble-library-api-guide/lbleaddress.md).

# LBLEAddress

Represents the device address of a BLE device.

This class represents Bluetooth device addresses. The device address are used to identify and to connect to different BLE devices. Note that not all BLE devices can be connected.

Most of the time you don't need to construct this object by yourself - other classes such as LBLE.getDeivceAddress() returns the address that you need.

This class supports the *Printable* interface and therefore can be passed to `Serial.print`, e.g.

```
// print out address found during LBLECentral.scan().
Serial.print(LBLECentral.getAddress(i));
```

### Constructor <a href="#lbleaddress-constructor" id="lbleaddress-constructor"></a>

&#x20;LBLEAddress

{% tabs %}
{% tab title="LBLEAddress" %}
Default constructor creates an invalid address.&#x20;

**Syntax**

**Parameters**

n/a

**Returns**

LBLEAddress object that represents an invalid Bluetooth address.
{% endtab %}
{% endtabs %}

### Methods <a href="#lbleaddress-methods" id="lbleaddress-methods"></a>

&#x20;toString

{% tabs %}
{% tab title=" toString" %}
Converts the device address to string representation

**Syntax**

**Parameters**

n/a

**Returns**

A String object that is the human-readable string representation of the device address.
{% endtab %}
{% endtabs %}
