Bluetooth Framework C++ Edition

◆ GetLmpVersion()

int GetLmpVersion ( unsigned char &  Version,
unsigned short &  Subversion 
)

Reads the LMP version of the local Radio module.

Parameters
VersionOn output the LMP version number.
SubversionOn output the LMP subversion number.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The LMP 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