-
8. BlueTooth relative API - BTAPI.DLL
This DLL provide BlueTooth relative API. Two files are essential and provided in SDK,
BTAPI.LIB and BTAPI.H.
8.1. Enable/Disable Bluetooth Power status
Function Description:
Enable Bluetooth Module Power ON/OFF
Function call:
void BT_PowerEnable ( BOOL bEnable )
Parameter (Input)
bON:
BOOL:
TRUE
=
Enable
FALSE = Disable
Return code:
FALSE PowerOFF Module
8.2. Get BT Power status
Function Description:
Get Bluetooth Module Power Status
Function call:
BYTE BT_PowerStatus ( void )
Return code:
BYTE:
1 = Bluetooth Module is Power ON
0 = Bluetooth Module is Power OFF
8.3. DLL
Version
Function Description:
Get BTAPI.dll Version
Function call:
DWORD BT_DllVersion ( void )
Return code:
DWORD
:
Version number