#include <cstdint>
Go to the source code of this file.
◆ FirmwareRemoval
What a device's answer to INIT to PREOP says after an empty application image was installed.
| Enumerator |
|---|
| kRemoved | The bootloader refused PREOP with AL status code 0x0014 (no valid firmware), so the firmware is removed.
|
| kStillStarts | The device reached PREOP, so it still starts its firmware.
|
| kUnconfirmed | Any other answer, so the removal cannot be confirmed.
|
◆ interpretFirmwareRemoval()
| FirmwareRemoval interpretFirmwareRemoval |
( |
uint16_t | al_status, |
|
|
uint16_t | al_status_code ) |
Interpret the device's answer to INIT to PREOP.
- Parameters
-
| al_status | the AL status register, with the error flag |
| al_status_code | the AL status code register |
- Returns
- what the answer says about the installed empty firmware