EduArt Sensor Ring Library 4.0.0
Loading...
Searching...
No Matches
eduart::sensorring::firmware_update::UpdateConfig Struct Reference

Timing and retry parameters that control the firmware-update procedure. More...

#include <FirmwareUpdater.hpp>

Public Attributes

std::chrono::milliseconds can_timeout { 500 }
 Maximum time to wait for a CAN response before declaring a timeout.
std::chrono::milliseconds bootloader_start_ack_timeout { 1000 }
 Maximum time to wait for the bootloader-start acknowledgement after a reset.
std::chrono::milliseconds settle_delay_after_flash { 2000 }
 Delay inserted after the last flash packet to let the board settle before verification.
std::chrono::milliseconds bootloader_detect_retry_delay { 500 }
 Pause between consecutive bootloader-detection attempts.
unsigned int bootloader_detect_retries { 5 }
 Number of bootloader-detection attempts before giving up.
unsigned int no_progress_cycles_before_done { 3 }
 Number of consecutive cycles without progress that signal a completed flash operation.

Detailed Description

Timing and retry parameters that control the firmware-update procedure.


The documentation for this struct was generated from the following file: