jjzjj

LEAdvertisingManager

全部标签

linux - DBus.ObjectManager.GetManagedObjects 中缺少 LEAdvertisingManager1

我正在使用运行Ubuntu和Python2.7的家用计算机进行测试,希望RaspberryPi3使用具有自定义服务和特性的BLE进行广告宣传。我已经在两个设备和dbus-python上安装了Bluez版本5.42(使用推荐的方法)。我的电脑和RaspberryPi都可以使用hci0lescan0命令做广告,但我想用bluez示例脚本example-gatt-client.py和example-advertisement.py做广告找到here,因为我想使用自己的自定义特征。家用电脑-内核版本4.4.0-31通用我可以通过运行example-gatt-server.py和example-