BleCentralConfig
Timing, retry, and connection parameters for BLE Central operations when constructing a BLE MdocTransport via createBleMdocTransport.
Constructors
Properties
delay between BLE connection retry attempts.
delay between GATT retry attempts.
per-attempt timeout for opening an L2CAP channel, or null for no timeout.
initial backoff delay before the second L2CAP connection attempt.
maximum backoff delay between L2CAP connection retry attempts.
maximum number of additional BLE connection attempts after an initial failure.
maximum number of additional GATT discovery/read/CCCD-write attempts.
maximum number of attempts to open the L2CAP channel before failing.
maximum number of additional scan attempts after BleCentralHal.Callback.onScanFailed.
delay inserted after stopping a BLE scan before initiating a connection.
if true, establishes a peripheral-level BLE connection before calling BleCentralHal.connectL2cap when the L2CAP PSM is provided in engagement.
delay before restarting a BLE scan after BleCentralHal.Callback.onScanFailed.
if non-null, periodically stops and restarts BLE scanning after this duration while waiting for a peripheral, working around OS or controller scan stalls.