SecureDfuTimings

class SecureDfuTimings(val buttonlessResponseTimeout: Duration = 3.seconds, val triggerTimeout: Duration = 5.seconds, val retryDelay: Duration = 2.seconds, val firstChunkDelay: Duration = 400.milliseconds, val objectRetryCount: Int = 3)(source)

Constructors

Link copied to clipboard
constructor(buttonlessResponseTimeout: Duration = 3.seconds, triggerTimeout: Duration = 5.seconds, retryDelay: Duration = 2.seconds, firstChunkDelay: Duration = 400.milliseconds, objectRetryCount: Int = 3)

Properties

Link copied to clipboard
Link copied to clipboard

Tries for a failed object transfer before giving up.

Link copied to clipboard
Link copied to clipboard

Wall-clock cap on the buttonless trigger phase (Secure or Legacy). The device reboots and disconnects after the opcode, and a WITH_RESPONSE write blocks on an ATT ACK that never arrives in that race, so a disconnect that does not show within this window means the byte was not received. Exceeds buttonlessResponseTimeout plus settle and write overhead.