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