public static class MtuTestCallback.MtuTestEvent extends Event
MtuTestCallback.onTestRequest(MtuTestEvent)
when an MTU has been successfully negotiated to see if SweetBlue should now test it to make
sure it works as it's supposed to.Modifier and Type | Method and Description |
---|---|
BleDevice |
device()
The
BleDevice which just got it's MTU size negotiated with |
int |
getNegotiatedMtuSize()
The MTU size that was negotiated with the peripheral.
|
public int getNegotiatedMtuSize()
BleDevice.negotiateMtu(int)
method.