dfu redirection

This commit is contained in:
hiar
2025-10-01 16:36:26 +02:00
committed by Himali Aryal
parent 56db87dd5c
commit 900eaebdb1
6 changed files with 100 additions and 14 deletions

View File

@@ -4,5 +4,13 @@ import no.nordicsemi.android.toolbox.lib.utils.Profile
data class DFUServiceData(
override val profile: Profile = Profile.DFU,
val dfuAppName : String? = null,
): ProfileServiceData()
val dfuAppName : DFUsAvailable? = null,
): ProfileServiceData()
enum class DFUsAvailable {
DFU_SERVICE,
SMP_SERVICE,
MDS_SERVICE,
LEGACY_DFU_SERVICE,
EXPERIMENTAL_BUTTONLESS_DFU_SERVICE;
}