requestPhy
abstract fun requestPhy(device: ClientDevice, txPhy: BleGattPhy, rxPhy: BleGattPhy, phyOption: PhyOption)
Set the preferred connection PHY for this app. Please note that this is just a recommendation, whether the PHY change will happen depends on other applications preferences, local and remote controller capabilities. Controller can override these settings.
Parameters
device
The remote device to send this response to.
txPhy
Preferred transmitter PHY.
rxPhy
Preferred receiver PHY.
phyOption
Preferred coding to use when transmitting on the LE Coded PHY.
See also
(https://developer.android.com/reference/android/bluetooth/BluetoothGattServer#setPreferredPhy(android.bluetooth.BluetoothDevice,%20int,%20int,%20int))