Bluetooth Framework C++ Edition

◆ Start()

int Start ( WCL_BLE_ADV_LIST *const Advertisements,
const unsigned short Interval,
const bool UseExtendedAdvertisement,
const bool Anonymous,
const bool IncludeTxRssi,
const char PreferredTxRssi,
const wclBluetoothLeAdvertisementPhy PrimaryPhy,
const wclBluetoothLeAdvertisementPhy SecondaryPhy )

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 32 and 16384.
UseExtendedAdvertisementSpecifies that the advertisement publisher should use the Extended Advertising format.
AnonymousSpecifies whether or not the device address is included in the advertisement header.
IncludeTxRssiSpecifies whether the transmit power level is included in the advertisement header.
PreferredTxRssiIf 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.
PrimaryPhySpecifies a primary advertisement PHY.
SecondaryPhySpecifies a secondary advertisement PHY.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
WCL_BLE_ADV_LIST, wclBluetoothLeAdvertisementPhy