Bluetooth Framework C++ Edition

◆ Start()

int Start ( WCL_BLE_ADV_LIST *const  Advertisements,
const unsigned short  Interval 
)

Starts Bluetooth LE Advertising.

Parameters
AdvertisementsThe Bluetooth LE Advertisements list.
IntervalAn 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.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

This feature is supported on Windows 10 with the Microsoft Bluetooth drivers only.

See also
WCL_BLE_ADV_LIST, WCL_BLE_MIN_ADVERTISING_INTERVAL, WCL_BLE_MAX_ADVERTISING_INTERVAL, WCL_BLE_DEFAULT_ADVERTISING_INTERVAL