Click or drag to resize

wclBluetoothLeAdvertiserConnection Class

The virtual connection class enables Bluetooth LE advertising feature.
Inheritance Hierarchy
SystemObject
  wclCommunicationwclCustomConnection
    wclBluetoothwclBluetoothLeAdvertiserConnection

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public abstract class wclBluetoothLeAdvertiserConnection : wclCustomConnection

The wclBluetoothLeAdvertiserConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclBluetoothLeAdvertiserConnection Creates a new "virtual" Bluetooth LE Advertising connection object.
Top
Properties
 NameDescription
Public propertyAdvertisements Gets the Bluetooth LE advertisements list.
Public propertyAdvertising Gets advertising state.
Public propertyAnonymous Specifies whether or not the device address is included in the advertisement header. By default, the address is included.
Public propertyIncludeTxRssi Specifies whether the transmit power level is included in the advertisement header.
Public propertyInterval Gets the advertising interval.
Public propertyPreferredTxRssi If specified, requests that the radio use the indicated transmit power level for the advertisement.
Public propertyRadio Gets the connection owner.
Public propertyReceiver Gets the connection message receiver object.
(Inherited from wclCustomConnection)
Public propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Public propertyUseExtendedAdvertisement Specifies that the advertisement publisher should use the Extended Advertising format.
Top
Methods
 NameDescription
Protected methodDoStarted Fires the OnStarted event.
Protected methodDoStopped Fires the OnStopped event.
Protected methodEnter Enters the connection's critical section.
(Inherited from wclCustomConnection)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Frees the object.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHalStart Implements a hardware-dependent code to start Bluetooth LE advertising.
Protected methodHalStop Implements a hardware-dependent code to stop Bluetooth LE advertising.
Protected methodLeave Exists *leaves) the connection's critical section.
(Inherited from wclCustomConnection)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMessageReceived The method called when a new notification message received.
(Overrides wclCustomConnectionMessageReceived(wclMessage))
Public methodStart Starts Bluetooth LE Advertising.
Public methodStop Stops Bluetooth LE Advertising.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnStarted The event fires when the Bluetooth LE advertising started.
Public eventOnStopped The event fires when the Bluetooth LE advertising stopped.
Top
Remarks

The class provides methods to enable Bluetooth LE advertising.

The feature is supported only on Windows 10 platform with Microsoft Bluetooth drivers or on any Windows platform with BLED112 Bluetooth dongle.

See Also