-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
develop
- Loading branch information
Showing
24 changed files
with
411 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
Laerdal.McuMgr/Shared/FileDownloader/Contracts/IFileDownloader.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
// ReSharper disable UnusedMember.Global | ||
// ReSharper disable EventNeverSubscribedTo.Global | ||
|
||
using System; | ||
|
||
namespace Laerdal.McuMgr.FileDownloader.Contracts | ||
{ | ||
/// <summary>Downloads a file on a specific Nordic-chip-based BLE device</summary> | ||
/// <remarks>For the file-downloading process to even commence you need to be authenticated with the AED device that's being targeted.</remarks> | ||
public interface IFileDownloader : IFileDownloaderCommandable, IFileDownloaderQueryable, IFileDownloaderEventSubscribable | ||
public interface IFileDownloader : | ||
IFileDownloaderCommandable, | ||
IFileDownloaderQueryable, | ||
IFileDownloaderEventSubscribable, | ||
IDisposable | ||
{ | ||
} | ||
} |
10 changes: 8 additions & 2 deletions
10
Laerdal.McuMgr/Shared/FileDownloader/Contracts/Native/INativeFileDownloaderProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
namespace Laerdal.McuMgr.FileDownloader.Contracts.Native | ||
using System; | ||
|
||
namespace Laerdal.McuMgr.FileDownloader.Contracts.Native | ||
{ | ||
internal interface INativeFileDownloaderProxy : INativeFileDownloaderQueryableProxy, INativeFileDownloaderCommandableProxy, INativeFileDownloaderCallbacksProxy | ||
internal interface INativeFileDownloaderProxy : | ||
INativeFileDownloaderQueryableProxy, | ||
INativeFileDownloaderCommandableProxy, | ||
INativeFileDownloaderCallbacksProxy, | ||
IDisposable | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
// ReSharper disable UnusedMember.Global | ||
// ReSharper disable EventNeverSubscribedTo.Global | ||
|
||
using System; | ||
|
||
namespace Laerdal.McuMgr.FileUploader.Contracts | ||
{ | ||
/// <summary>Uploads a file on a specific Nordic-chip-based BLE device</summary> | ||
/// <remarks>For the file-uploading process to even commence you need to be authenticated with the AED device that's being targeted.</remarks> | ||
public interface IFileUploader : IFileUploaderCommandable, IFileUploaderQueryable, IFileUploaderEventSubscribable | ||
public interface IFileUploader : | ||
IFileUploaderCommandable, | ||
IFileUploaderQueryable, | ||
IFileUploaderEventSubscribable, | ||
IFileUploaderCleanupable, | ||
IDisposable | ||
{ | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Laerdal.McuMgr/Shared/FileUploader/Contracts/IFileUploaderCleanupable.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Laerdal.McuMgr.FileUploader.Contracts | ||
{ | ||
public interface IFileUploaderCleanupable | ||
{ | ||
void CleanupResourcesOfLastUpload(); | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Laerdal.McuMgr/Shared/FileUploader/Contracts/Native/INativeFileUploaderCleanupProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Laerdal.McuMgr.FileUploader.Contracts.Native | ||
{ | ||
internal interface INativeFileUploaderCleanupProxy | ||
{ | ||
void CleanupResourcesOfLastUpload(); | ||
} | ||
} |
11 changes: 9 additions & 2 deletions
11
Laerdal.McuMgr/Shared/FileUploader/Contracts/Native/INativeFileUploaderProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
namespace Laerdal.McuMgr.FileUploader.Contracts.Native | ||
using System; | ||
|
||
namespace Laerdal.McuMgr.FileUploader.Contracts.Native | ||
{ | ||
internal interface INativeFileUploaderProxy : INativeFileUploaderQueryableProxy, INativeFileUploaderCommandableProxy, INativeFileUploaderCallbacksProxy | ||
internal interface INativeFileUploaderProxy : | ||
INativeFileUploaderQueryableProxy, | ||
INativeFileUploaderCommandableProxy, | ||
INativeFileUploaderCallbacksProxy, | ||
INativeFileUploaderCleanupProxy, | ||
IDisposable | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
Laerdal.McuMgr/Shared/FirmwareInstaller/Contracts/IFirmwareInstaller.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
// ReSharper disable UnusedMember.Global | ||
// ReSharper disable EventNeverSubscribedTo.Global | ||
|
||
using System; | ||
|
||
namespace Laerdal.McuMgr.FirmwareInstaller.Contracts | ||
{ | ||
/// <summary>Upgrades the firmware on a specific Nordic-chip-based BLE device</summary> | ||
public interface IFirmwareInstaller : IFirmwareInstallerQueryable, IFirmwareInstallerEventSubscribable, IFirmwareInstallerCommandable | ||
public interface IFirmwareInstaller : | ||
IFirmwareInstallerQueryable, | ||
IFirmwareInstallerEventSubscribable, | ||
IFirmwareInstallerCommandable, | ||
IDisposable | ||
{ | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...Mgr/Shared/FirmwareInstaller/Contracts/Native/INativeFirmwareInstallerCleanupableProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Laerdal.McuMgr.FirmwareInstaller.Contracts.Native | ||
{ | ||
internal interface INativeFirmwareInstallerCleanupableProxy | ||
{ | ||
void CleanupResourcesOfLastInstallation(); | ||
} | ||
} |
9 changes: 8 additions & 1 deletion
9
Laerdal.McuMgr/Shared/FirmwareInstaller/Contracts/Native/INativeFirmwareInstallerProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.