Bluez introduction:
The Bluetooth protocol stack for Linux OS mainly includes IBM bluedrekar, Nokia Affix, axis openbt, and the official protocol stack bluez.
Bluetooth protocol stack bluez is divided into two parts: KernelCodeAnd user statusProgramAnd tool set.
The kernel code consistsBluez Core ProtocolAndDriverGroup
Bluetooth is implemented in the kernelSource code
/NET/Bluetooth. Including HCI, L2CAP, hid, RFCOMM, SCO, SDP, and bnep. Driver placed in
/Driver/Bluetooth, which contains the bluetooth device driver of Linux kernel for various interfaces. For example, USB interface and serial port.
User State programs and toolsets include application interfaces and bluez toolsets. Bluez provides function libraries and application interfaces for programmers to develop Bluetooth applications. Bluez utils is the main tool set for initializing and controlling Bluetooth devices.