UNPKG

1.8 kBJavaScriptView Raw
1import { temporarilyNotSupport } from '../../utils/index.js';
2
3// 蓝牙-低功耗中心设备
4const writeBLECharacteristicValue = temporarilyNotSupport('writeBLECharacteristicValue');
5const setBLEMTU = temporarilyNotSupport('setBLEMTU');
6const readBLECharacteristicValue = temporarilyNotSupport('readBLECharacteristicValue');
7const onBLEMTUChange = temporarilyNotSupport('onBLEMTUChange');
8const onBLEConnectionStateChange = temporarilyNotSupport('onBLEConnectionStateChange');
9const onBLECharacteristicValueChange = temporarilyNotSupport('onBLECharacteristicValueChange');
10const offBLEMTUChange = temporarilyNotSupport('offBLEMTUChange');
11const offBLEConnectionStateChange = temporarilyNotSupport('offBLEConnectionStateChange');
12const offBLECharacteristicValueChange = temporarilyNotSupport('offBLECharacteristicValueChange');
13const notifyBLECharacteristicValueChange = temporarilyNotSupport('notifyBLECharacteristicValueChange');
14const getBLEMTU = temporarilyNotSupport('getBLEMTU');
15const getBLEDeviceServices = temporarilyNotSupport('getBLEDeviceServices');
16const getBLEDeviceRSSI = temporarilyNotSupport('getBLEDeviceRSSI');
17const getBLEDeviceCharacteristics = temporarilyNotSupport('getBLEDeviceCharacteristics');
18const createBLEConnection = temporarilyNotSupport('createBLEConnection');
19const closeBLEConnection = temporarilyNotSupport('closeBLEConnection');
20
21export { closeBLEConnection, createBLEConnection, getBLEDeviceCharacteristics, getBLEDeviceRSSI, getBLEDeviceServices, getBLEMTU, notifyBLECharacteristicValueChange, offBLECharacteristicValueChange, offBLEConnectionStateChange, offBLEMTUChange, onBLECharacteristicValueChange, onBLEConnectionStateChange, onBLEMTUChange, readBLECharacteristicValue, setBLEMTU, writeBLECharacteristicValue };
22//# sourceMappingURL=bluetooth-ble.js.map