Click or drag to resize

wclBluetoothLeAdvertiserConnectionStart Method

Starts Bluetooth LE Advertising.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntax
public int Start(
	List<wclBluetoothLeAdvertisement> Advertisements,
	ushort Interval,
	bool UseExtendedAdvertisement,
	bool Anonymous,
	bool IncludeTxRssi,
	sbyte PreferredTxRssi,
	wclBluetoothLeAdvertisementPhy PrimaryPhy,
	wclBluetoothLeAdvertisementPhy SecondaryPhy
)

Parameters

Advertisements  ListwclBluetoothLeAdvertisement
The Bluetooth LE Advertisements list.
Interval  UInt16
An advertising interval in 0.625 ms units. The value must be in range between 32 and 16384.
UseExtendedAdvertisement  Boolean
Specifies that the advertisement publisher should use the Extended Advertising format.
Anonymous  Boolean
Specifies whether or not the device address is included in the advertisement header.
IncludeTxRssi  Boolean
Specifies whether the transmit power level is included in the advertisement header.
PreferredTxRssi  SByte
If specified, requests that the radio use the indicated transmit power level for the advertisement. The requested power level in dDm at range between -100 dBm and +20 for the radio transmission.
PrimaryPhy  wclBluetoothLeAdvertisementPhy
Specifies a primary advertisement PHY.
SecondaryPhy  wclBluetoothLeAdvertisementPhy
Specifies a secondary advertisement PHY.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See Also