requestPeripheral
suspend fun requestPeripheral(options: Options, builderAction: PeripheralBuilderAction = {}): Peripheral?
Obtains a nearby Peripheral via device picker. Returns null
if dialog is cancelled (e.g. user dismissed dialog by clicking outside of dialog or clicking cancel button).
See requestDevice for more details.
Throws IllegalStateException under the following conditions:
Bluetooth is unavailable
Requesting a device is not supported
Operation is not permitted due to security concerns
Throws
If requesting a device could not be fulfilled.