-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from Flasher-Dev/master
Add Parallel DFU Support
- Loading branch information
Showing
13 changed files
with
603 additions
and
202 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Thu Jul 13 09:14:07 BRT 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |
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
17 changes: 17 additions & 0 deletions
17
android/src/main/kotlin/dev/steenbakker/nordicdfu/DfuService2.kt
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,17 @@ | ||
package dev.steenbakker.nordicdfu | ||
|
||
import android.app.Activity | ||
import no.nordicsemi.android.dfu.DfuBaseService | ||
|
||
class DfuService2 : DfuBaseService() { | ||
override fun getNotificationTarget(): Class<out Activity?> { | ||
return NotificationActivity::class.java | ||
} | ||
|
||
override fun isDebug(): Boolean { | ||
// Override this method and return true if you need more logs in LogCat | ||
// Note: BuildConfig.DEBUG always returns false in library projects, so please use | ||
// your app package BuildConfig | ||
return true | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
android/src/main/kotlin/dev/steenbakker/nordicdfu/DfuService3.kt
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,17 @@ | ||
package dev.steenbakker.nordicdfu | ||
|
||
import android.app.Activity | ||
import no.nordicsemi.android.dfu.DfuBaseService | ||
|
||
class DfuService3 : DfuBaseService() { | ||
override fun getNotificationTarget(): Class<out Activity?> { | ||
return NotificationActivity::class.java | ||
} | ||
|
||
override fun isDebug(): Boolean { | ||
// Override this method and return true if you need more logs in LogCat | ||
// Note: BuildConfig.DEBUG always returns false in library projects, so please use | ||
// your app package BuildConfig | ||
return true | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
android/src/main/kotlin/dev/steenbakker/nordicdfu/DfuService4.kt
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,17 @@ | ||
package dev.steenbakker.nordicdfu | ||
|
||
import android.app.Activity | ||
import no.nordicsemi.android.dfu.DfuBaseService | ||
|
||
class DfuService4 : DfuBaseService() { | ||
override fun getNotificationTarget(): Class<out Activity?> { | ||
return NotificationActivity::class.java | ||
} | ||
|
||
override fun isDebug(): Boolean { | ||
// Override this method and return true if you need more logs in LogCat | ||
// Note: BuildConfig.DEBUG always returns false in library projects, so please use | ||
// your app package BuildConfig | ||
return true | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
android/src/main/kotlin/dev/steenbakker/nordicdfu/DfuService5.kt
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,17 @@ | ||
package dev.steenbakker.nordicdfu | ||
|
||
import android.app.Activity | ||
import no.nordicsemi.android.dfu.DfuBaseService | ||
|
||
class DfuService5 : DfuBaseService() { | ||
override fun getNotificationTarget(): Class<out Activity?> { | ||
return NotificationActivity::class.java | ||
} | ||
|
||
override fun isDebug(): Boolean { | ||
// Override this method and return true if you need more logs in LogCat | ||
// Note: BuildConfig.DEBUG always returns false in library projects, so please use | ||
// your app package BuildConfig | ||
return true | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
android/src/main/kotlin/dev/steenbakker/nordicdfu/DfuService6.kt
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,17 @@ | ||
package dev.steenbakker.nordicdfu | ||
|
||
import android.app.Activity | ||
import no.nordicsemi.android.dfu.DfuBaseService | ||
|
||
class DfuService6 : DfuBaseService() { | ||
override fun getNotificationTarget(): Class<out Activity?> { | ||
return NotificationActivity::class.java | ||
} | ||
|
||
override fun isDebug(): Boolean { | ||
// Override this method and return true if you need more logs in LogCat | ||
// Note: BuildConfig.DEBUG always returns false in library projects, so please use | ||
// your app package BuildConfig | ||
return true | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
android/src/main/kotlin/dev/steenbakker/nordicdfu/DfuService7.kt
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,17 @@ | ||
package dev.steenbakker.nordicdfu | ||
|
||
import android.app.Activity | ||
import no.nordicsemi.android.dfu.DfuBaseService | ||
|
||
class DfuService7 : DfuBaseService() { | ||
override fun getNotificationTarget(): Class<out Activity?> { | ||
return NotificationActivity::class.java | ||
} | ||
|
||
override fun isDebug(): Boolean { | ||
// Override this method and return true if you need more logs in LogCat | ||
// Note: BuildConfig.DEBUG always returns false in library projects, so please use | ||
// your app package BuildConfig | ||
return true | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
android/src/main/kotlin/dev/steenbakker/nordicdfu/DfuService8.kt
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,17 @@ | ||
package dev.steenbakker.nordicdfu | ||
|
||
import android.app.Activity | ||
import no.nordicsemi.android.dfu.DfuBaseService | ||
|
||
class DfuService8 : DfuBaseService() { | ||
override fun getNotificationTarget(): Class<out Activity?> { | ||
return NotificationActivity::class.java | ||
} | ||
|
||
override fun isDebug(): Boolean { | ||
// Override this method and return true if you need more logs in LogCat | ||
// Note: BuildConfig.DEBUG always returns false in library projects, so please use | ||
// your app package BuildConfig | ||
return true | ||
} | ||
} |
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.