摘要 |
A method for providing a Bluetooth function for a computer is disclosed, including: inputting a switch indication, and a terminal switching a working mode to a Bluetooth adapter mode; connecting the terminal to the computer via a universal serial bus (USB) interface; receiving an upload configuration parameter sent from the computer, and the terminal transmitting configuration parameters stored therein to the computer to enable the computer to regard the terminal as a Bluetooth adapter; the terminal sending an HCI command transmitted via the USB interface by the computer via its Bluetooth chip, converting a radio frequency signal received by its Bluetooth chip into an HCI event to transmit to the computer via the USB interface. Also disclosed in the present invention is a terminal for providing a Bluetooth function for a computer, including a user interface (UI), a switching module, a USB interface, an enumerating module and a Bluetooth module.
|