Class BleCentral
java.lang.Object
com.codename1.bluetooth.le.server.BleCentral
A remote central connected to the local
GattServer -- the mirror
image of BlePeripheral when this device acts as the peripheral.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringA stable identifier of the connected central (platform-specific, same semantics asBluetoothDevice.getAddress()).intgetMtu()The MTU negotiated with this central;23until negotiated higher.protected voidsetMtu(int mtu) Records the negotiated MTU; called by ports.
-
Constructor Details
-
BleCentral
protected BleCentral()Constructed by ports; not application API.
-
-
Method Details
-
getAddress
A stable identifier of the connected central (platform-specific, same semantics asBluetoothDevice.getAddress()). -
getMtu
public int getMtu()The MTU negotiated with this central;23until negotiated higher. -
setMtu
protected void setMtu(int mtu) Records the negotiated MTU; called by ports.
-