You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
745 B

import { BlueToothAdapter } from 'qcloud-iotexplorer-bluetooth-adapter';
import { BleComboEspDeviceAdapter, BleComboLLSyncDeviceAdapter } from 'qcloud-iotexplorer-appdev-plugin-wificonf-blecombo';
import { LLSyncDeviceAdapter } from 'qcloud-iotexplorer-bluetooth-adapter-llsync';
const app = getApp();
LLSyncDeviceAdapter.injectOptions({
appDevSdk: app.sdk
})
export const serviceIdMap = {
BLE_COMBO_LLSYNC: BleComboLLSyncDeviceAdapter.serviceId,
BLE_COMBO_ESP: BleComboEspDeviceAdapter.serviceId,
LLSync: LLSyncDeviceAdapter.serviceId,
};
export const bluetoothAdapter = new BlueToothAdapter({
deviceAdapters: [
BleComboEspDeviceAdapter,
BleComboLLSyncDeviceAdapter,
LLSyncDeviceAdapter,
],
actions: {
}
});