UNPKG

zephyr-dfu

Version:

The Capacitor plugin provides an implementation of the McuManager protocol supported by Zephyr.

10 lines (9 loc) 405 B
import { WebPlugin } from '@capacitor/core'; import type { ZephyrDfuPlugin, firmwareUpdateCallback, CallbackID } from './definitions'; export declare class ZephyrDfuWeb extends WebPlugin implements ZephyrDfuPlugin { updateFirmware(options: { fileURL: string; deviceIdentifier: string; }, callback: firmwareUpdateCallback): Promise<CallbackID>; getVersion(): Promise<string>; }