MockAdvertiser
typealias MockAdvertiser = (requestedTxPower: Int, advertisingData: AdvertisingDataDefinition, scanResponse: AdvertisingDataDefinition?) -> Result<Int>
A callback used for a mock advertiser.
This callback is called when the app requests the mock Bluetooth LE advertiser to advertise.
It should return an emulated value of TX power level used for mock advertising, in dBm, which will be delivered the callback block given in BluetoothLeAdvertiser.advertise(...) method.
Valid values are from -127 to +1 dBm.