获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
目前好像还是不支持啊!
如何监听已连接蓝牙的RSSIonReady: function () { var that = this; setInterval(function () { wx.getBluetoothDevices({ success: function(res) { var devices = res.devices; for(var i in devices){ console.log('设备: ' + devices[i]['RSSI']) var device = devices[i] if (device.name === that.data.deviceName_L){ that.setData({ rssi_L: device['RSSI'] }) } else if (device.name === that.data.deviceName_R){ that.setData({ rssi_R: device['RSSI'] }) } } }, }) }, 1000) }, 每次都RSSI 都是一样的,没有变化.
2020-09-08