Skip to main content

DEFAULT_PAIRING_TIMEOUT

Constant DEFAULT_PAIRING_TIMEOUT 

Source
pub const DEFAULT_PAIRING_TIMEOUT: Duration;
Expand description

How long one pairing attempt may run, measured from client/pair-init.

pairing.md recommends two minutes. On expiry the client sends pair/abort with reason attempt_timeout and reports Event::PairingFailed; a host that wants a tighter bound sets ClientConfig::pairing_timeout.