AdvertisingDataValidator
class AdvertisingDataValidator(deviceName: String, isLe2MPhySupported: Boolean, isLeCodedPhySupported: Boolean, isLeExtendedAdvertisingSupported: Boolean, leMaximumAdvertisingDataLength: @Range(from = 31, to = 1650) Int = if (isLeExtendedAdvertisingSupported) 1650 else 31)
A class that validates advertising data for given environment.
Functions
Link copied to clipboard
fun validate(parameters: AdvertisingSetParameters, advertisingData: AdvertisingDataDefinition, scanResponse: AdvertisingDataDefinition?)
Validates the advertising parameters and payload.