setCurrentMtu
Sets the current MTU value. This method should be used only if the device is already connected and MTU has been requested before DFU service is started. The SoftDevice allows to change MTU only once, while the following requests fail with Invalid PDU error. In case this error is received, the MTU will be set to the value specified using this method. There is no verification of this value. If it's set to too high value, some of the packets will not be sent and DFU will not succeed.
By default value 23 is used for compatibility reasons.
Higher MTU values were supported since SDK 15.0.
Return
the builder
Parameters
mtu
the MTU value received in onMtuChanged or onMtuChanged.