Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/292.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
python-蓝牙设备接近性_Python_Bluetooth - Fatal编程技术网

python-蓝牙设备接近性

python-蓝牙设备接近性,python,bluetooth,Python,Bluetooth,我有一个简单的问题。有没有办法在python中检测两个BT设备之间的接近度 我有一个笔记本(BT 4.0)和我的手机(BT 4.0),我想知道,手机离笔记本有多远。我知道可以根据信号强度进行测量。问题是我找不到一个能够显示信号强度的库(即PyBluez) 另一方面,在Google Play上有十几个应用程序可以测量信号强度 有什么我不能用谷歌搜索的吗 谢谢 你看过了吗?还有,第一个库没有测量信号强度,第二个例子已经过时了。我两个都试过了。你说第二个例子过时是什么意思?PyBluez支持Pytho

我有一个简单的问题。有没有办法在python中检测两个BT设备之间的接近度

我有一个笔记本(BT 4.0)和我的手机(BT 4.0),我想知道,手机离笔记本有多远。我知道可以根据信号强度进行测量。问题是我找不到一个能够显示信号强度的库(即PyBluez)

另一方面,在Google Play上有十几个应用程序可以测量信号强度

有什么我不能用谷歌搜索的吗


谢谢

你看过了吗?还有,第一个库没有测量信号强度,第二个例子已经过时了。我两个都试过了。你说第二个例子过时是什么意思?PyBluez支持Python 2和Python 3。