Click or drag to resize

wclBluetoothLeAdvertiserStart Method

Starts advertising.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public int Start(
	wclBluetoothRadio Radio,
	ushort Interval = 160
)

Parameters

Radio  wclBluetoothRadio
The wclBluetoothRadio object used to communicate with a remote Bluetooth device.
Interval  UInt16  (Optional)
An advertising interval in 0.625 ms units. The value must be in range between WCL_BLE_MIN_ADVERTISING_INTERVAL and WCL_BLE_MAX_ADVERTISING_INTERVAL. The default value is WCL_BLE_DEFAULT_ADVERTISING_INTERVAL.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
This feature is supported on Windows 10 with the Microsoft Bluetooth drivers only.
See Also