Skip to content

Commit 11a411c

Browse files
authored
Merge pull request #91 from ShimmerEngineering/ASM-2057_1.3
ASM-2057 (1.3)
2 parents daa7dce + f48f374 commit 11a411c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ShimmerBLE/ShimmerBLEAPI/Communications/RadioPluginBLE.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,16 @@ public async Task<ConnectivityState> Connect()
7272
localTask.TrySetResult(false);
7373
return;
7474
}*/
75-
await Task.Delay(500);
75+
76+
ConnectedASM.UpdateConnectionInterval(ConnectionInterval.High);
77+
await ConnectedASM.RequestMtuAsync(251);
7678

7779
if (ConnectedASM.State != DeviceState.Connected)
7880
{
7981
localTask.TrySetResult(false);
8082
return;
8183
}
8284

83-
ConnectedASM.UpdateConnectionInterval(ConnectionInterval.High);
84-
await ConnectedASM.RequestMtuAsync(251);
85-
8685
AdvanceLog(nameof(RadioPluginBLE), "Connect ASM Hash", ConnectedASM.GetHashCode(), Asm_uuid.ToString());
8786
await Task.Delay(500);
8887
System.Console.WriteLine("Getting Service");

0 commit comments

Comments
 (0)