class MtuChangeRequester
Class to request MTU change for a CONNECTED Node
bluetoothAddress
- bluetoothAddress of Node for which MTU change is requested
stack
- stack for connected Node
MtuChangeRequester(bluetoothAddress: String, stack: Stack, updateMtuTimeoutSeconds: Long = MTU_UPDATE_TIMEOUT_SECONDS, timeoutScheduler: Scheduler = Schedulers.computation())
Class to request MTU change for a CONNECTED Node |
fun requestMtu(peer: BitGattPeer, mtu: Int): Single<Int>
Request to set MTU for bluetooth connection and stack for connected Node |
|
fun updateStackMtu(mtu: Int): Single<Int>
Request to update Stack MTU |