Bluez有两个主要的API:较低级别的蓝牙管理API和较高级别的D-Bus API。 它们都在https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc中有文档记录。