| Bluetooth has become one of the most widely used wireless communication technologies,and is used in various products such as mobile phones,PCs,smart devices,and penetrates into various industries.At present,Europe and the United States still dominate the global Bluetooth chip market.PC Bluetooth chips are mainly produced by Europe and the United States.However,with the continuous emphasis on chip research in China,Bluetooth chip technology has also made great progress in recent years.This article is based on the cooperation project between the laboratory and a domestic hardware manufacturer "wireless network card driver".Based on the research of Bluetooth technology in the laboratory,the domestic Bluetooth chip is applied to the Windows and Linux operating systems,focusing on Bluetooth on the PC.The driver and maintenance program were researched and designed.Based on the open source of the Linux system,the Bluetooth driver technology is mature,and the project manufacturer has implemented the driver program of the domestic Bluetooth chip on the Linux operating system.Therefore,the Bluetooth driver and maintenance test in this design are mainly divided into three modules,namely the Windows Bluetooth driver module,the Windows system and the Linux system Bluetooth maintenance module.The Windows Bluetooth driver module is to realize the adaptation of the Bluetooth chip on the Windows operating system,so that the chip can work normally.Windows and Linux Bluetooth maintenance program modules are used to maintain and test the Bluetooth chip when it is used on Windows and Linux operating systems to ensure the stability of the chip.This article first introduces the overall design goals of the Bluetooth chip driver and maintenance,draws out the key modules that need to be implemented,and introduces related key technologies around these modules,including the Windows driver development framework WDF,Linux Bluetooth protocol stack BlueZ and Bluetooth HCI messages.Then according to the specific needs of each module,the architecture of each functional module is given and the specific implementation process is given,including the design and implementation of the Windows Bluetooth driver module and the maintenance test module.The driver and maintenance program development in this article provided technical support for the first and second phases of the project "Wireless Network Card Driver". |