# Class BleCentral

java.lang.Object
com.codename1.bluetooth.le.server.BleCentral

public abstract class BleCentral extends Object
A remote central connected to the local `GattServer` -- the mirror image of `BlePeripheral` when this device acts as the peripheral.

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `BleCentral()`
  Constructed by ports; not application API.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract String`
  `getAddress()`
  A stable identifier of the connected central (platform-specific, same semantics as `BluetoothDevice.getAddress()`).
  `int`
  `getMtu()`
  The MTU negotiated with this central; `23` until negotiated higher.
  `protected void`
  `setMtu(int mtu)`
  Records the negotiated MTU; called by ports.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BleCentral

    protected BleCentral()
    Constructed by ports; not application API.

- ## Method Details

  - ### getAddress

    public abstract String getAddress()
    A stable identifier of the connected central (platform-specific, same semantics as `BluetoothDevice.getAddress()`).

  - ### getMtu

    public int getMtu()
    The MTU negotiated with this central; `23` until negotiated higher.

  - ### setMtu

    protected void setMtu(int mtu)
    Records the negotiated MTU; called by ports.