eco-access-specifications 2.1.3 → 2.1.6
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 +4 -0
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/ble/index.js
CHANGED
|
@@ -41,6 +41,7 @@ var _pollingConnected = function pollingConnected() {
|
|
|
41
41
|
// 重连逻辑
|
|
42
42
|
var Device = getDevice();
|
|
43
43
|
var bt = Device.getBluetoothLE();
|
|
44
|
+
addLog('pollingConnected>>> 发起断开连接 >>>');
|
|
44
45
|
bt.disconnect();
|
|
45
46
|
if (sysBle === false) {
|
|
46
47
|
return false;
|
|
@@ -66,6 +67,7 @@ var bleConnect = function bleConnect() {
|
|
|
66
67
|
var onFailure = arguments.length > 3 ? arguments[3] : undefined;
|
|
67
68
|
var Device = getDevice();
|
|
68
69
|
var bt = Device.getBluetoothLE();
|
|
70
|
+
addLog('bleConnect>>> 发起断开连接 >>>');
|
|
69
71
|
bt.disconnect();
|
|
70
72
|
addLog("\u8FDE\u63A5\u72B6\u6001:".concat(bt.isConnected));
|
|
71
73
|
if (bt.isConnected) {
|
|
@@ -107,6 +109,7 @@ var bleConnect = function bleConnect() {
|
|
|
107
109
|
|
|
108
110
|
// Handle different error codes
|
|
109
111
|
var handleError = function handleError() {
|
|
112
|
+
addLog('handleError>>> 发起断开连接 >>>');
|
|
110
113
|
if (!sysBle) {
|
|
111
114
|
bt.disconnect();
|
|
112
115
|
bleOnFailure && bleOnFailure('系统蓝牙未开启');
|
|
@@ -224,6 +227,7 @@ var disconnect = function disconnect(waitToSendDatas) {
|
|
|
224
227
|
return;
|
|
225
228
|
}
|
|
226
229
|
waitToSendDatas = []; // 若有蓝牙任务需要清除任务队列,若没有可以不写
|
|
230
|
+
addLog('disconnect>>> 发起断开连接 >>>');
|
|
227
231
|
if (Host.isAndroid) {
|
|
228
232
|
bt.disconnect(0, true);
|
|
229
233
|
} else {
|
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}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,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}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,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};
|