Cancel discovery after 10 seconds and try to connect.

This commit is contained in:
akwizgran
2018-10-11 18:18:05 +01:00
parent efe15df940
commit 9515e93857
4 changed files with 27 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ public interface KeyAgreementConstants {
/**
* The connection timeout in milliseconds.
*/
long CONNECTION_TIMEOUT = 40 * 1000;
long CONNECTION_TIMEOUT = 60_000;
/**
* The transport identifier for Bluetooth.