Bluetooth Framework
ContentsIndexHome
PreviousUpNext
TwclBluetoothLeAltBeacon.PrepareAdvertiser Method

Creates and initializes the Bluetooth LE advertiser connection obejct.

Syntax
Pascal
function PrepareAdvertiser(const Radio: TwclBluetoothRadio; out Connection: TwclBluetoothLeAdvertiserConnection): Integer; override;
Parameters 
Description 
const Radio: TwclBluetoothRadio 
The TwclBluetoothRadio object used to communicate with a remote Bluetooth device.  
out Connection: TwclBluetoothLeAdvertiserConnection 
On output the Bluetooth LE advertiser connection object represent specifi Bluetooth LE advertiser.  

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

Copyright (c) 2006-2019. All rights reserved.