Bluetooth Framework C++ Edition

◆ GetHciVersion()

int GetHciVersion ( unsigned char &  Version,
unsigned short &  Revision 
)

Reads the HCI version of the local Radio module.

Parameters
VersionOn output the HCI version number.
RevisionOn output the HCI revision number.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The HCI version assignment numbers:

0 - Bluetooth Core Specification 1.0b

1 - Bluetooth Core Specification 1.1

2 - Bluetooth Core Specification 1.2

3 - Bluetooth Core Specification 2.0 + EDR

4 - Bluetooth Core Specification 2.1 + EDR

5 - Bluetooth Core Specification 3.0 + HS

6 - Bluetooth Core Specification 4.0

7 - Bluetooth Core Specification 4.1

8 - Bluetooth Core Specification 4.2

9 - Bluetooth Core Specification 5.0

10 - Bluetooth Core Specification 5.1

11 - Bluetooth Core Specification 5.2

12-255 - Reserved