CanDragonDevice.CancelFirmwareUpdate
Prototype
void CancelFirmwareUpdate();
Description
Starts device firmware download (pins image until callback completes).
Parameters
| Parameter | Direction | Type | Description |
|---|---|---|---|
firmwareType | in | — | Must be |
downloadData | in | — | Firmware image bytes. |
onProgress | in | — | Progress callback. |
userContext | in | — | User context passed to callback. |
Example
// See Quick Start and Program Flow for a full session example.
// CanDragonDevice.CancelFirmwareUpdate(...);