蓝牙bluez对应的服务是 org.bluez
org.bluez.Adapter1
服务:org.bluez 对象:/org/bluez/hci0 接口:org.bluez.Adapter1文档
bluez5_SDK/doc/adapter-api.txt
功能
启动扫描蓝牙设备(方法:StartDiscovery)
org.freedesktop.DBus.ObjectManager
服务:org.bluez 对象:/ 接口:org.freedesktop.DBus.ObjectManager功能
捕获扫描到蓝牙设备的信号,包含两个信号,InterfacesAdded和InterfacesRemoved,g-signal可获取这两个信号,g-signal::InterfacesAdded 则只会获取InterfacesAdded信号org.bluez.Device1
服务:org.bluez 对象:[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX 接口:org.bluez.Device1文档
bluez5_SDK/doc/device-api.txt功能
获取扫描到的蓝牙设备的信息,比如Name、广播数据等标签:InterfacesAdded,蓝牙,接口,---,XX,bluez,org From: https://www.cnblogs.com/god-of-death/p/18301928