智方网络_吖荣 il y a 4 ans
Parent
commit
b71a505c07
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/utils/bluetooth.js

+ 1 - 0
src/utils/bluetooth.js

@@ -646,6 +646,7 @@ export default {
     const that = this;
     wx.onBLECharacteristicValueChange((characteristic) => {
       let hexStr = that.ab2hex(characteristic.value);
+      console.log(hexStr);
       let $data = that.get_big_data(hexStr);
       wx.getBLEDeviceRSSI({
         deviceId: characteristic.deviceId,