我需要所有连接的蓝牙设备到我的电脑。我找到了图书馆,但我无法连接设备
简单查询示例:
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))
慕勒3428872
慕的地8271018
相关分类