-
7. BlueTooth relative API - BTAPI.DLL
This DLL provide BlueTooth relative API. Two files are essential and provided in SDK,
BTAPI.LIB and BTAPI.H.
7.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:
NONE
7.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