AdvertisingDataDefinition

Advertising data packet container for mock Bluetooth LE advertising.

This represents the data to be advertised in the Advertising Data as well as the Scan Response data.

Parameters

raw

The raw advertising data.

Constructors

Link copied to clipboard
constructor(flags: Set<AdvertisingDataFlag>? = null, completeLocalName: String? = null, shortenedLocalName: String? = null, txPowerLevel: Int? = null, serviceUuids: List<Uuid>? = null, serviceSolicitationUuids: List<Uuid>? = null, serviceData: Map<Uuid, ByteArray>? = null, manufacturerData: Map<Int, ByteArray>? = null, meshPbAdv: ByteArray? = null, meshMessage: ByteArray? = null, meshBeacon: ByteArray? = null)

Constructs an Advertising Data packet.

constructor(raw: ByteArray)

Constructs an Advertising Data packet.

Properties

Link copied to clipboard

The value of "Complete Local Name" AD type.

Link copied to clipboard

The set of flags in the "Flags" AD type.

Link copied to clipboard

Manufacturer specific data. The keys should be the Company ID as defined in Assigned Numbers.

Link copied to clipboard

The Bluetooth Mesh Beacon field.

Link copied to clipboard

The Bluetooth Mesh Message field.

Link copied to clipboard

The Bluetooth Mesh PB-ADV field.

Link copied to clipboard
Link copied to clipboard

Service data to be advertised.

Link copied to clipboard

Service solicitation UUID to advertise data.

Link copied to clipboard
Link copied to clipboard

The value of "Shortened Local Name" AD type.

Link copied to clipboard

The "TX Power Level" AD Type.