enable

suspend fun enable(args: BluetoothEmulation.EnableParameter, mode: CommandMode = CommandMode.DEFAULT)

Enable the BluetoothEmulation domain.


suspend fun enable(state: BluetoothEmulation.CentralState, leSupported: Boolean)

Enable the BluetoothEmulation domain.

Parameters

state

State of the simulated central.

leSupported

If the simulated central supports low-energy.