You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same as in Android. Just make sure to pass a CBPeripheral to the constructors change a bit:
871
881
872
-
```c#
882
+
```csharp
873
883
_fileUploader=newLaerdal.McuMgr.FileUploading.FileUploader(desiredBluetoothDevice); // must be a CBPeripheral
874
884
_firmwareEraser=newLaerdal.McuMgr.FirmwareErasure.FirmwareEraser(desiredBluetoothDevice); // must be a CBPeripheral
875
885
_firmwareUpgrader=newLaerdal.McuMgr.FirmwareInstallation.FirmwareInstaller(desiredBluetoothDevice); // must be a CBPeripheral
@@ -880,7 +890,7 @@ _deviceResetter = new Laerdal.McuMgr.DeviceResetting.DeviceResetter(desiredBluet
880
890
Note that the constructors support passing both a native device (CBPeripheral on iOS and BluetoothDevice on Android) or simply an 'object' that is castable to either of these types.
881
891
This is done to help you write more uniform code across platforms. You might want to create your own factory-service to smoothen things even further on your:
0 commit comments