MtuChanged

data class MtuChanged(val mtu: Int, val status: BleGattOperationStatus) : ClientGattEvent

Event indicating the MTU for a given device connection has changed. This callback is triggered in response to the BluetoothGatt.requestMtu function, or in response to a connection event.

See also

(https://developer.android.com/reference/android/bluetooth/BluetoothGattCallback#onMtuChanged(android.bluetooth.BluetoothGatt,%20int,%20int))

Constructors

Link copied to clipboard
constructor(mtu: Int, status: BleGattOperationStatus)

Properties

Link copied to clipboard
val mtu: Int

The new MTU size.

Link copied to clipboard