Lines Matching refs:timeout
77 * call to registerSync will use the {@code skip} and {@code timeout} provided.
79 * existing sync, thus {@code skip} and {@code timeout} values will not take
86 * @param timeout Synchronization timeout for the periodic advertising. One unit is 10ms. Must
90 * {@code timeout} is invalid or {@code callback} is null.
92 public void registerSync(ScanResult scanResult, int skip, int timeout,
94 registerSync(scanResult, skip, timeout, callback, null);
100 * call to registerSync will use the {@code skip} and {@code timeout} provided.
102 * existing sync, thus {@code skip} and {@code timeout} values will not take
109 * @param timeout Synchronization timeout for the periodic advertising. One unit is 10ms. Must
114 * {@code timeout} is invalid or {@code callback} is null.
116 public void registerSync(ScanResult scanResult, int skip, int timeout,
132 "timeout must be between " + TIMEOUT_MIN + " and " + TIMEOUT_MAX);
135 if (timeout < TIMEOUT_MIN || timeout > TIMEOUT_MAX) {
137 "timeout must be between " + TIMEOUT_MIN + " and " + TIMEOUT_MAX);
146 skip, timeout,
159 gatt.registerSync(scanResult, skip, timeout, wrapped);
203 int advertisingSid, int skip, int timeout, int status) {
209 timeout,