BlueZ Introduction:
Linux OS Open Bluetooth protocol stacks mainly include IBM's Bluedrekar, Nokia's affix, Axis's OPENBT and the official protocol stack BlueZ.
Bluetooth protocol stack BlueZ is divided into two parts: kernel Code and User state program and toolset.
The kernel code consists of the BlueZ core protocol and the driver , and the Bluetooth protocol is implemented in the kernel source code/net/bluetooth. Including the implementation of HCI,L2CAP,HID,RFCOMM,SCO,SDP,BNEP and other protocols. The driver is placed in the/driver/bluetooth and contains the Linux kernel driver for the Bluetooth device of the various interfaces. For example: USB interface, serial port and so on.
The User state program and toolset include the application interface and the BlueZ toolset. BlueZ provides function libraries and application interfaces that allow programmers to develop Bluetooth applications. BlueZ Utils is the primary toolset that enables initialization and control of Bluetooth devices.