TwclBluetoothRadio.HalGetHciVersion(Byte,Word) Method

Implements a hardware-dependent code to reads the HCI version of the local Radio module.

Namespace: wclBluetooth
protected
 function HalGetHciVersion(out Version: Byte;
 out Revision: Word): Integer; virtual; abstract;

Parameters

Version
Type: Byte

On output the HCI version number.

Revision
Type: Word

On output the HCI revision number.

Return Value

Type: Integer

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

A derived class must override this method to provide driver-dependent code.