AdvertisingDataDefinition
constructor(includeDeviceName: Boolean = false, includeTxPowerLevel: Boolean = false, serviceUuids: List<Uuid>? = null, serviceSolicitationUuids: List<Uuid>? = null, serviceData: Map<Uuid, ByteArray>? = null, manufacturerData: Map<Int, ByteArray>? = null)
Creates an advertising data definition.
Parameters
includeDeviceName
Whether the device name should be included in advertise packet.
includeTxPowerLevel
Whether the TX power level should be included in the advertising packet.
serviceUuids
A list of service UUID to advertise.
serviceSolicitationUuids
Service solicitation UUID to advertise data.
serviceData
Service data to be advertised.
manufacturerData
Manufacturer specific data. The keys should be the Company ID as defined in Assigned Numbers.