Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclBluetoothRadio::GetHciVersion Method

Reads the HCI version of the local Radio module.

Syntax
C++
int GetHciVersion(unsigned char& Version, unsigned short& Revision);
Parameters 
Description 
unsigned char& Version 
On output the HCI version number.  
unsigned short& Revision 
On output the HCI revision number.  

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-255 - Reserved  

 

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