kDefaultConnectTimeout top-level constant

Duration const kDefaultConnectTimeout

Default timeout handed to ConnectionController.connect when the caller does not provide one. Classic RFCOMM typically takes ~1–3 s; BLE GATT can take longer on the first attempt while bonding completes.

Implementation

const Duration kDefaultConnectTimeout = Duration(seconds: 10);