fix: reduce inter-command delay to 150ms
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4bf4435feb
commit
fcf427ee57
1 changed files with 2 additions and 3 deletions
|
|
@ -202,9 +202,8 @@ final class DXSmartProvisioner: NSObject, BeaconProvisioner {
|
||||||
throw lastError
|
throw lastError
|
||||||
}
|
}
|
||||||
|
|
||||||
// 300ms between commands — conservative speedup (was 500ms)
|
// 150ms between commands — aggressive speedup (was 300ms, originally 500ms)
|
||||||
// Beacon needs time to process each GATT write; 300ms tested safe
|
try await Task.sleep(nanoseconds: 150_000_000)
|
||||||
try await Task.sleep(nanoseconds: 300_000_000)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue