TwclBluetoothLeAdvertiser Class
The Bluetooth LE advertiser components.
type TwclBluetoothLeAdvertiser = class(TwclBluetoothComponent) end;
The TwclBluetoothLeAdvertiser type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates new component. (Overrides TwclBluetoothComponent.Create(TComponent).) | |
Destroy | Frees the component. (Overrides TwclBluetoothComponent.Destroy.) |
Name | Description | |
---|---|---|
Advertisements[Integer] | Gets the Bluetooth LE advertisement object by its index. | |
Advertising | Gets Advertiser state. | |
Anonymous | Specifies whether or not the device address is included in the advertisement header. By default, the address is included. | |
Count | Gets the advertisements count. | |
IncludeTxRssi | Specifies whether the transmit power level is included in the advertisement header. | |
Interval | Gets the advertising interval. | |
OnStarted | The event fires when the advertising started. | |
OnStopped | The event fires when the advertising stopped. | |
PreferredTxRssi | If specified, requests that the radio use the indicated transmit power level for the advertisement. | |
Radio | Gets the advertiser owner. | |
UseExtendedAdvertisement | Specifies that the advertisement publisher should use the Extended Advertising format. |
Name | Description | |
---|---|---|
Add(TwclBluetoothLeAdvertisement) | Adds Bluetooth LE advertisement to the advertisements list. | |
Clear | Clears the advertisements list. | |
Delete(Integer) | Deletes the Bluetooth LE advertisement from the advertisements list. | |
DoStarted | Fires the | |
DoStopped | Fires the | |
Enter | Enters the Bluetooth component protection critical section. (Inherited from TwclBluetoothComponent.) | |
Leave | Leaves the Bluetooth component protection critical section. (Inherited from TwclBluetoothComponent.) | |
SetCopy(TwclCustomConnection) | The method sets new copy of the current connection. (Inherited from TwclBluetoothComponent.) | |
Start(TwclBluetoothRadio,Word) | Starts advertising. | |
Stop | Stops advertising. |
The feature is supported only on Windows 10 platform with
Microsoft
Bluetooth drivers or on any Windows platform with
BLED112
Bluetooth dongle.