小编Kul*_*dhu的帖子

Python:如何连接蓝牙设备?(Linux)

我需要将所有连接的蓝牙设备连接到我的计算机。我找到了图书馆,但无法连接设备

简单查询示例:

    import bluetooth

    nearby_devices = bluetooth.discover_devices(lookup_names=True)
    print("Found {} devices.".format(len(nearby_devices)))

    for addr, name in nearby_devices:
        print("  {} - {}".format(addr, name))
Run Code Online (Sandbox Code Playgroud)

python linux bluetooth bluez pybluez

2
推荐指数
1
解决办法
8272
查看次数

标签 统计

bluetooth ×1

bluez ×1

linux ×1

pybluez ×1

python ×1