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