@edgeflowjs/ota
v0.2.2
Published
OTA update service (stub). Manifest verification, status events.
Readme
@edgeflowjs/ota
OTA update service (stub). Manifest verification, status events.
Install
pnpm add @edgeflowjs/otaExports
createOtaService— Create OTA serviceverifyManifest— Verify signed manifest- Types:
OtaManifest,OtaStatus,OtaService
Usage
import { createOtaService } from "@edgeflowjs/ota";
const ota = createOtaService();
ota.onStatus((s) => console.log(s.state));
const result = await ota.check();
await ota.apply("1.0.1");