diff --git a/src/platforms/app-plus/service/api/device/bluetooth.js b/src/platforms/app-plus/service/api/device/bluetooth.js index 8aa0540066dd25dd66fd0921b0a9f042ef5cc033..d0c692ca2fefa05cf4d6fa4f4495d4306366036d 100644 --- a/src/platforms/app-plus/service/api/device/bluetooth.js +++ b/src/platforms/app-plus/service/api/device/bluetooth.js @@ -54,7 +54,6 @@ function bluetoothOn (method, beforeSuccess) { var onBluetoothAdapterStateChange var onBluetoothDeviceFound var onBLEConnectionStateChange -var onBLEConnectionStateChanged var onBLECharacteristicValueChange export function openBluetoothAdapter (data, callbackId) { @@ -89,7 +88,6 @@ export function getConnectedBluetoothDevices (data, callbackId) { export function createBLEConnection (data, callbackId) { onBLEConnectionStateChange = onBLEConnectionStateChange || bluetoothOn('onBLEConnectionStateChange') - onBLEConnectionStateChanged = onBLEConnectionStateChanged || bluetoothOn('onBLEConnectionStateChanged') bluetoothExec('createBLEConnection', callbackId, data) }