"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_wjUtils=require("./wjUtils.js"),_wjUtils2=_interopRequireDefault(_wjUtils);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var connectedDeviceId,timeID,onDisconnect,ListenFlag=void 0,DataListenerCallBack=void 0,foundDevices=[],TAG_FUNCTION="function",services="0000FEE7-0000-1000-8000-00805F9B34FB",notifyServiceId="0000FEC8-0000-1000-8000-00805F9B34FB",writeServiceId="0000FEC7-0000-1000-8000-00805F9B34FB";function reallyscanConnect(s,r){var d={};_wjUtils2.default.showLog("/***********Runing :: Do reallyConnect() begin *************/"),foundDevices=[],wx.closeBluetoothAdapter(),wx.openBluetoothAdapter({success:function(e){wx.startBluetoothDevicesDiscovery({services:[],success:function(e){wx.onBluetoothDeviceFound(function(e){for(var i=0;i