SAFTehnika/Xamarin-NRF-DFU TimeoutException

I use SAFTehnika/Xamarin-NRF-DFU in order to do a firmware update over BT, and have implemented the code from https://github.com/SAFTehnika/Xamarin-NRF-DFU

After connecting to the BT-device, everything runs fine, until invoking:
await dfu.Start(dev.device, FirmwarePacket, InitPacket);
where I get this error.


[0:] 02-14 10:21:50,173: [1] INFO: InitDfu(): OnError: System.TimeoutException: The operation has timed out.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152
at System.Reactive.PlatformServices.DefaultExceptionServices.Rethrow (System.Exception exception) [0x00006] in <99f8205c51c44bb480747b577b8001ff>:0
at System.Reactive.ExceptionHelpers.ThrowIfNotNull (System.Exception exception) [0x0000d] in <99f8205c51c44bb480747b577b8001ff>:0
at System.Reactive.Subjects.AsyncSubject1[T].GetResult () [0x00039] in <e9c1ccec51844dbd92b833a0b4bc960e>:0 at Plugin.XamarinNordicDFU.DFU+<ButtonlessDFUWithoutBondsToSecureDFU>d__0.MoveNext () [0x001ce] in <fe52b5704fed46889b173c51ecad06cb>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.178/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <8a48725212864358a4554e3196f5ca74>:0
at Plugin.XamarinNordicDFU.DFU+d__39.MoveNext () [0x000cd] in :0

Sign In or Register to comment.