eco-access-specifications 2.1.8 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/ble/index.js CHANGED
@@ -18,7 +18,7 @@ var bleTrackData = {
18
18
  };
19
19
  var timeoutNumber = 0;
20
20
  var isFirstTime = true; // 标志变量,记录是否是第一次进入应用
21
- var startTime_bt_connect, disconnectedTime;
21
+ var startTime_bt_connect, disconnectedTime, firstdisconnectedTime;
22
22
  var bleOnSuccess;
23
23
  var bleOnFailure;
24
24
  var sysBle = true;
@@ -50,12 +50,35 @@ var _pollingConnected = function pollingConnected() {
50
50
  if (Platform.OS == 'android') {
51
51
  disconnectedTime && clearTimeout(disconnectedTime);
52
52
  disconnectedTime = setTimeout(function () {
53
- bt.isConnected ? _pollingConnected() : bleConnect(type_ble_connect);
53
+ bt.isConnected ? _pollingConnected() : bleConnect(type_ble_connect, {});
54
54
  }, 600);
55
55
  } else {
56
- bleConnect(type_ble_connect);
56
+ bleConnect(type_ble_connect, {});
57
57
  }
58
58
  };
59
+ var firstConnected = function firstConnected(bleOnSuccess) {
60
+ // 重连逻辑
61
+ var Device = getDevice();
62
+ var bt = Device.getBluetoothLE();
63
+ addLog('firstConnected>>> 发起断开连接 >>>');
64
+ if (bt.isConnected) {
65
+ addLog('已经连接9999');
66
+ // bt.disconnect();
67
+ }
68
+ addLog('firstConnected>>> 发起断开连接 >>>', sysBle);
69
+ if (sysBle === false) {
70
+ return false;
71
+ }
72
+ firstdisconnectedTime && clearTimeout(firstdisconnectedTime);
73
+ firstdisconnectedTime = setTimeout(function () {
74
+ if (bt.isConnected) {
75
+ bleOnSuccess && bleOnSuccess();
76
+ } else {
77
+ addLog('firstConnected>>> 发起连接 >>>');
78
+ bleConnect(type_ble_connect, {});
79
+ }
80
+ }, 1000);
81
+ };
59
82
  var timeLogEnd = function timeLogEnd(startTime, str) {
60
83
  var timeEnd = new Date().getTime();
61
84
  addLog(">>>\u65F6\u957F\u76D1\u63A7>>>".concat(str, "\u65F6\u95F4\u5DEE\uFF1A").concat(timeEnd - startTime, ", \u603B\u8017\u65F6\uFF1A").concat(timeEnd - global.initTime, ",\u5F53\u524D\u65F6\u95F4\u6233\uFF1A").concat(timeEnd));
@@ -70,8 +93,6 @@ var bleConnect = function bleConnect() {
70
93
  type_ble_connect = type;
71
94
  var Device = getDevice();
72
95
  var bt = Device.getBluetoothLE();
73
- addLog('bleConnect>>> 发起断开连接 >>>');
74
- bt.disconnect();
75
96
  addLog("\u8FDE\u63A5\u72B6\u6001:".concat(bt.isConnected));
76
97
  if (bt.isConnected) {
77
98
  return false;
@@ -84,10 +105,17 @@ var bleConnect = function bleConnect() {
84
105
  return false;
85
106
  }
86
107
  // 🔹 新增逻辑:如果 option.pollingConnected 为 true,则直接走重连逻辑
87
- if (option.pollingConnected && Host.isAndroid) {
108
+ if (option !== null && option !== void 0 && option.pollingConnected && Host.isAndroid) {
88
109
  addLog('检测到 pollingConnected=true,执行重连逻辑');
89
- _pollingConnected();
110
+ firstConnected(bleOnSuccess);
90
111
  return;
112
+ } else {
113
+ if (Host.ios) {
114
+ addLog('bleConnect>>> 发起断开连接 >>>');
115
+ if (bt.isConnected) {
116
+ bt.disconnect();
117
+ }
118
+ }
91
119
  }
92
120
  startTime_bt_connect = new Date().getTime();
93
121
  var timeout = timeoutHandle();
package/lib/index.min.js CHANGED
@@ -1 +1 @@
1
- import{bleSpec}from"./main/specMethod";var appName="",Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";appName="",Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";appName=appName="",Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";export{appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints};
1
+ import{bleSpec}from"./main/specMethod";var appName="",Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";appName="",Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage,LogFileUtil}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},Host={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},BluetoothEvent={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,Host=e.Host,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,Bluetooth=e.Bluetooth,BluetoothEvent=e.BluetoothEvent,bleSpecQueue=bleSpec(Bluetooth,DeviceEvent,Device)},getDevice=function(){return Device},getHost=function(){return Host},getBluetooth=function(){return Bluetooth},getBluetoothEvent=function(){return BluetoothEvent};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged}from"./ble";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";import{bleSpec}from"./main/specMethod";appName=appName="",Device={},DeviceEvent={},Service={},addLog=function(){},Bluetooth={},localLog=function(){},bleSpecQueue=function(){},initSpecifications=function(e){appName=e.name,Device=e.Device,DeviceEvent=e.DeviceEvent,localLog=e.localLog,Service=e.Service,addLog=e.addLog,bleSpecQueue=bleSpec(Bluetooth=e.Bluetooth,DeviceEvent,Device)};import{initSpecifications,bleSpecQueue}from"./global";import EcoService from"./main/EcoService.js";import{addLog,LogPage}from"./main/log";import{oneTrackReport,allTrackPoints}from"./eco-track-report";export{appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,LogFileUtil,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,getHost,Service,initSpecifications,addLog,Bluetooth,getBluetoothEvent,getBluetooth,bleSpecQueue,localLog,DeviceEvent,getDevice,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,bleConnect,setupAppStateListener,setupBluetoothStatusListener,checkBluetoothIsEnabled,disconnect,bluetoothConnectionStatusChanged,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints,appName,Device,Service,initSpecifications,addLog,Bluetooth,bleSpecQueue,localLog,DeviceEvent,LogPage,addLog,bleSpecQueue,initSpecifications,EcoService,oneTrackReport,allTrackPoints};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eco-access-specifications",
3
- "version": "2.1.8",
3
+ "version": "2.2.0",
4
4
  "description": "生态链公司插件接入规范,帮助生态链公司提高生产效率.",
5
5
  "main": "index.js",
6
6
  "scripts": {