(1.0.12) downloading firmware file

This commit is contained in:
2025-11-26 22:02:52 +00:00
parent c65ec8dcd2
commit fdcf232f8e
4 changed files with 40 additions and 1 deletions

3
dist/index.d.ts vendored
View File

@@ -11,6 +11,7 @@ export default class Updater {
protected bleDeviceId: string;
private readonly _updaterServiceUUID;
private readonly _updaterVersionCharactersiticUUID;
file: Int8Array;
constructor(archiveURL?: string, feedType?: string, bleObject?: BLECentralPlugin.BLECentralPluginStatic);
private getRawArchive;
private atomGetVersionDetails;
@@ -24,4 +25,6 @@ export default class Updater {
private getLatestVersion;
checkForUpdate(): Promise<boolean>;
getBoardVersion(): Promise<string>;
getFirmware(version: versionNotes): Promise<boolean>;
getFileSize(): number;
}