public abstract class BleCentral
- Object
- BleCentral
A remote central connected to the local
GattServer – the mirror
image of BlePeripheral when this device acts as the peripheral.Constructors
protected BleCentral() | Constructed by ports; not application API. |
Methods
public abstract String getAddress() | A stable identifier of the connected central (platform-specific, same semantics as BluetoothDevice.getAddress()). |
public int getMtu() | The MTU negotiated with this central; 23 until negotiated higher. |
protected void setMtu(int mtu) | Records the negotiated MTU; called by ports. |
Inherited methods
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.