有没有办法可以使用Flutter读取广播iBeacon RSSI值(不与信标配对)?
答案 0 :(得分:0)
有一个library,可让您获取任何发现的蓝牙设备的RSSI。示例代码:
var subscription = flutterBlue.scanResults.listen((scanResult) {
// do something with scan result
device = scanResult.device;
print('${device.name} found! rssi: ${scanResult.rssi}');
});