-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Describe the bug
Project in xamarin forms with ble.net, when calling start in iOS, the following exception is thrown:
"Exception of type 'Foundation.You_Should_Not_Call_base_In_This_Method' was thrown."
obs: Need guidance in case i'm missing something to setup the dfu correctly in iOS, because the same exception is not happening in Android. The process starts ok
at Laerdal.Dfu.Bindings.iOS.DFUFirmware..ctor (Foundation.NSUrl urlToZipFile, Foundation.NSError& error) [0x0000d] in /Users/runner/work/1/s/Laerdal.Dfu.Bindings.iOS/obj/Release/xamarin.ios10/iOS/Laerdal.Dfu.Bindings.iOS/DFUFirmware.g.cs:119
at Laerdal.Dfu.DfuServiceInitiatorDelegate..ctor (Laerdal.Dfu.DfuInstallation dfuInstallation) [0x00010] in /_/Laerdal.Dfu/Platforms/iOS/DfuServiceInitiatorDelegate.cs:29
at Laerdal.Dfu.DfuInstallation.Start (Laerdal.Dfu.DfuConfiguration configuration) [0x00034] in /_/Laerdal.Dfu/Platforms/iOS/DfuInstallation.cs:33
at Viewmodel.BleConnectedDeviceViewModel.FlashDevice (System.Object arg) [0x0010c]
To Reproduce
Steps to reproduce the behavior:
- Create Xamarin.Forms project
- Include ble library and configure it to scan a device
- Add Laerdal.Dfu
- Configure install
dfuInstall = new DfuInstallation(deviceAddress /*59:A1:A6:62:41:7A*/, fi.FullName);
dfuInstall.DfuErrorReceived += OnDfuErrorOccured;
dfuInstall.DfuStateChanged += OnDfuStateChanged;
dfuInstall.DfuProgressChanged += OnDfuProgressChanged;
dfuInstall.Start(new DfuConfiguration() { DisableNotification = true, Foreground = false });
Expected behavior
The install to start like it does in Android.
Screenshots
N/A
Desktop (please complete the following information):
- OS: MacOS Sonoma
- Versions
-- ble.net 1.2.1
-- Laerdal.Dfu 1.27.2-xamarin-10.45630
-- Xamarin.Essentials - 1.8.1
-- Xamarin.Forms - 5.0.0.2622
Smartphone (please complete the following information):
- Device: iPhone 8+
- OS: 16
- Browser N/A
- Version N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels