onBluetoothDeviceFound() {    wx.onBluetoothDeviceFound((res) = {      res.devices.forEach(device = {        if (!device.name && !device.localName) {          return        }        const foundDevices = this.data.devices        const idx = inArray(foundDevices, 'deviceId', device.deviceId)        const data = {}        device.macAddr = ab2hex(device.advertisData)        if (idx === -1) {          data[`devices[${foundDevices.length}]`] = device        } else {          data[`devices[${idx}]`] = device        }        this.setData(data)      })    })  }

 

TAG标签: 微信小程序uuid怎么获取

http://www.xiaochengxub.com/read-104241.html