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