ServerBluetoothGattConnection

Class wrapping properties of BLE connection between server and it's client device.

Properties

Link copied to clipboard

MTU provider for this connection.

Link copied to clipboard
val connectionScope: CoroutineScope
Link copied to clipboard

A client device

Link copied to clipboard
val rxPhy: BleGattPhy? = null

Receiver PHY value.

Link copied to clipboard

Cloned services separate for this connection.

Link copied to clipboard
val txPhy: BleGattPhy? = null

Transmitter PHY value.

Functions

Link copied to clipboard
fun readPhy()

Request reading PHY values for this connection.

Link copied to clipboard
fun requestPhy(txPhy: BleGattPhy, rxPhy: BleGattPhy, phyOption: PhyOption)

Request new PHY values for this connectino.