Specifications

BHT_RF_OpenEx
Description
Sets the communication format, opens the wireless LAN device and enables wireless communication.
Syntax
DWORD BHT_RF_OpenEx (
DWORD dwOpt )
Parameters
dwOpt
[in] Communication format
dwOpt Specification
COMM_NORMAL
Wireless communication open
COMM_CONTINUOUS
Wireless communication continuously open
Return value
Error code Meaning
ERROR_SUCCESS Successful completion
ERROR_DEV_NOT_EXIST No NIC device found.
ERROR_INVALID_PARAMETER Parameter error
ERROR_SHARING_VIOLATION Bluetooth device is opened.
Remarks
Wireless LAN and Bluetooth device cannot be opened at the same time. If wireless LAN device tries to be
opened while Bluetooth device is opened, an error (ERROR_SHARING_VIOLATION) is returned.
116