10 lines
344 B
Plaintext
10 lines
344 B
Plaintext
import type { DfuManagerType, DfuOptions } from '../interface.uts';
|
|
|
|
class MpWeixinDfuManager implements DfuManagerType {
|
|
async startDfu(_deviceId: string, _firmwareBytes: Uint8Array, _options?: DfuOptions): Promise<void> {
|
|
throw new Error('小程序平台暂未实现 DFU 功能');
|
|
}
|
|
}
|
|
|
|
export const dfuManager = new MpWeixinDfuManager();
|