mirror of
https://github.com/scratchfoundation/scratch-link.git
synced 2025-08-07 20:08:44 -04:00
fix(MacBLE): allow more time for the Bluetooth state to settle
This commit is contained in:
parent
eed937fd18
commit
d2c1cf9784
1 changed files with 2 additions and 1 deletions
|
@ -412,8 +412,9 @@ internal class MacBLESession : BLESession<CBPeripheral, NSUuid, CBUUID>
|
|||
{
|
||||
/// <summary>
|
||||
/// Maximum time to wait for the Bluetooth manager to settle to a known state.
|
||||
/// On my personal Mac, 3 seconds is sometimes not long enough.
|
||||
/// </summary>
|
||||
public static readonly TimeSpan SettleManagerState = TimeSpan.FromSeconds(3);
|
||||
public static readonly TimeSpan SettleManagerState = TimeSpan.FromSeconds(30);
|
||||
|
||||
/// <summary>
|
||||
/// Maximum time to allow for connecting to a Bluetooth peripheral.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue