From a3ae736357fac3da69329dc7a28fa3dd78225aad Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Fri, 6 Oct 2017 18:00:02 +0200 Subject: [PATCH] Version 1.5.0 --- README.md | 2 +- build.gradle | 3 +- dfu/build.gradle | 8 +- documentation/javadoc/allclasses-frame.html | 12 +- documentation/javadoc/allclasses-noframe.html | 12 +- documentation/javadoc/constant-values.html | 49 +- documentation/javadoc/deprecated-list.html | 4 +- documentation/javadoc/help-doc.html | 4 +- .../javadoc/index-files/index-1.html | 18 +- .../javadoc/index-files/index-10.html | 10 +- .../javadoc/index-files/index-11.html | 4 +- .../javadoc/index-files/index-12.html | 84 ++- .../javadoc/index-files/index-13.html | 4 +- .../javadoc/index-files/index-14.html | 4 +- .../javadoc/index-files/index-15.html | 26 +- .../javadoc/index-files/index-16.html | 14 +- .../javadoc/index-files/index-17.html | 22 +- .../javadoc/index-files/index-18.html | 4 +- .../javadoc/index-files/index-19.html | 4 +- .../javadoc/index-files/index-2.html | 8 +- .../javadoc/index-files/index-20.html | 8 +- .../javadoc/index-files/index-3.html | 20 +- .../javadoc/index-files/index-4.html | 10 +- .../javadoc/index-files/index-5.html | 4 +- .../javadoc/index-files/index-6.html | 46 +- .../javadoc/index-files/index-7.html | 4 +- .../javadoc/index-files/index-8.html | 4 +- .../javadoc/index-files/index-9.html | 16 +- documentation/javadoc/index.html | 13 +- .../nordicsemi/android/dfu/BuildConfig.html | 4 +- .../android/dfu/DfuBaseService.html | 59 +- .../nordicsemi/android/dfu/DfuController.html | 4 +- .../android/dfu/DfuLogListener.html | 4 +- .../android/dfu/DfuProgressListener.html | 4 +- .../dfu/DfuProgressListenerAdapter.html | 4 +- .../android/dfu/DfuServiceController.html | 4 +- .../android/dfu/DfuServiceInitiator.html | 77 ++- .../android/dfu/DfuServiceListenerHelper.html | 4 +- .../android/dfu/DfuSettingsConstants.html | 4 +- .../no/nordicsemi/android/dfu/R.attr.html | 156 ++++- .../no/nordicsemi/android/dfu/R.bool.html | 275 ++++++++ .../no/nordicsemi/android/dfu/R.color.html | 314 ++++++++++ .../no/nordicsemi/android/dfu/R.dimen.html | 522 ++++++++++++++++ .../no/nordicsemi/android/dfu/R.drawable.html | 170 ++++- .../javadoc/no/nordicsemi/android/dfu/R.html | 36 +- .../no/nordicsemi/android/dfu/R.id.html | 587 ++++++++++++++++++ .../no/nordicsemi/android/dfu/R.integer.html | 275 ++++++++ .../no/nordicsemi/android/dfu/R.layout.html | 340 ++++++++++ .../no/nordicsemi/android/dfu/R.string.html | 53 +- .../no/nordicsemi/android/dfu/R.style.html | 353 +++++++++++ .../nordicsemi/android/dfu/R.styleable.html | 405 ++++++++++++ .../dfu/internal/ArchiveInputStream.html | 4 +- .../android/dfu/internal/HexInputStream.html | 4 +- .../DeviceDisconnectedException.html | 4 +- .../dfu/internal/exception/DfuException.html | 4 +- .../exception/HexFileValidationException.html | 4 +- .../exception/RemoteDfuException.html | 4 +- .../RemoteDfuExtendedErrorException.html | 4 +- .../exception/SizeValidationException.html | 4 +- .../exception/UnknownResponseException.html | 4 +- .../exception/UploadAbortedException.html | 4 +- .../dfu/internal/exception/package-frame.html | 4 +- .../internal/exception/package-summary.html | 4 +- .../dfu/internal/exception/package-tree.html | 4 +- .../dfu/internal/manifest/FileInfo.html | 4 +- .../dfu/internal/manifest/Manifest.html | 4 +- .../dfu/internal/manifest/ManifestFile.html | 4 +- .../SoftDeviceBootloaderFileInfo.html | 4 +- .../dfu/internal/manifest/package-frame.html | 4 +- .../internal/manifest/package-summary.html | 4 +- .../dfu/internal/manifest/package-tree.html | 4 +- .../android/dfu/internal/package-frame.html | 4 +- .../android/dfu/internal/package-summary.html | 4 +- .../android/dfu/internal/package-tree.html | 4 +- .../internal/scanner/BootloaderScanner.html | 4 +- .../scanner/BootloaderScannerFactory.html | 4 +- .../internal/scanner/BootloaderScannerJB.html | 4 +- .../scanner/BootloaderScannerLollipop.html | 4 +- .../dfu/internal/scanner/package-frame.html | 4 +- .../dfu/internal/scanner/package-summary.html | 4 +- .../dfu/internal/scanner/package-tree.html | 4 +- .../nordicsemi/android/dfu/package-frame.html | 12 +- .../android/dfu/package-summary.html | 36 +- .../nordicsemi/android/dfu/package-tree.html | 12 +- .../nordicsemi/android/error/GattError.html | 4 +- .../android/error/LegacyDfuError.html | 4 +- .../android/error/SecureDfuError.html | 4 +- .../android/error/package-frame.html | 4 +- .../android/error/package-summary.html | 4 +- .../android/error/package-tree.html | 4 +- documentation/javadoc/overview-frame.html | 4 +- documentation/javadoc/overview-summary.html | 4 +- documentation/javadoc/overview-tree.html | 12 +- documentation/javadoc/serialized-form.html | 4 +- gradle/wrapper/gradle-wrapper.properties | 4 +- 95 files changed, 4045 insertions(+), 262 deletions(-) create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.bool.html create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.color.html create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.dimen.html create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.id.html create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.integer.html create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.layout.html create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.style.html create mode 100644 documentation/javadoc/no/nordicsemi/android/dfu/R.styleable.html diff --git a/README.md b/README.md index 9364fe74..25800072 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The compat library may be found on jcenter and Maven Central repository. Add it to your project by adding the following dependency: ```Groovy -compile 'no.nordicsemi.android:dfu:1.4.2' +compile 'no.nordicsemi.android:dfu:1.5.0' ``` If you use proguard, add the following line to your proguard rules: diff --git a/build.gradle b/build.gradle index 480b5c87..1be11f7f 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,10 @@ buildscript { repositories { jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' + classpath 'com.android.tools.build:gradle:3.0.0-beta7' /* classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3" // The following dependency has been replaced with newer version according to https://github.com/dcendents/android-maven-plugin diff --git a/dfu/build.gradle b/dfu/build.gradle index 73b51fe4..d49d5ba0 100644 --- a/dfu/build.gradle +++ b/dfu/build.gradle @@ -15,7 +15,7 @@ apply plugin: 'com.jfrog.bintray' ext { PUBLISH_GROUP_ID = 'no.nordicsemi.android' PUBLISH_ARTIFACT_ID = 'dfu' - PUBLISH_VERSION = '1.4.2' + PUBLISH_VERSION = '1.5.0' bintrayRepo = 'android' bintrayName = 'dfu-library' @@ -41,13 +41,13 @@ ext { android { compileSdkVersion 26 - buildToolsVersion '26.0.1' + buildToolsVersion '26.0.2' defaultConfig { minSdkVersion 18 targetSdkVersion 26 - versionCode 14 - versionName "1.4.2" + versionCode 15 + versionName "1.5.0" } buildTypes { release { diff --git a/documentation/javadoc/allclasses-frame.html b/documentation/javadoc/allclasses-frame.html index b915a55d..6a1f9807 100644 --- a/documentation/javadoc/allclasses-frame.html +++ b/documentation/javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -38,8 +38,16 @@

All Classes

  • ManifestFile
  • R
  • R.attr
  • +
  • R.bool
  • +
  • R.color
  • +
  • R.dimen
  • R.drawable
  • +
  • R.id
  • +
  • R.integer
  • +
  • R.layout
  • R.string
  • +
  • R.style
  • +
  • R.styleable
  • RemoteDfuException
  • RemoteDfuExtendedErrorException
  • SecureDfuError
  • diff --git a/documentation/javadoc/allclasses-noframe.html b/documentation/javadoc/allclasses-noframe.html index 5dc11ce6..eb1d988d 100644 --- a/documentation/javadoc/allclasses-noframe.html +++ b/documentation/javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -38,8 +38,16 @@

    All Classes

  • ManifestFile
  • R
  • R.attr
  • +
  • R.bool
  • +
  • R.color
  • +
  • R.dimen
  • R.drawable
  • +
  • R.id
  • +
  • R.integer
  • +
  • R.layout
  • R.string
  • +
  • R.style
  • +
  • R.styleable
  • RemoteDfuException
  • RemoteDfuExtendedErrorException
  • SecureDfuError
  • diff --git a/documentation/javadoc/constant-values.html b/documentation/javadoc/constant-values.html index 72ac3c6d..530d0c29 100644 --- a/documentation/javadoc/constant-values.html +++ b/documentation/javadoc/constant-values.html @@ -2,9 +2,9 @@ - + Constant Field Values - + @@ -115,14 +115,14 @@

    no.nordicsemi.*

    public static final int VERSION_CODE -14 +15 public static final java.lang.String VERSION_NAME -"1.4.2" +"1.5.0" @@ -669,125 +669,132 @@

    no.nordicsemi.*

    "application/zip" + + +public static final java.lang.String +NOTIFICATION_CHANNEL_DFU +"dfu" + + public static final int NOTIFICATION_ID 283 - + public static final int PROGRESS_ABORTED -7 - + public static final int PROGRESS_COMPLETED -6 - + public static final int PROGRESS_CONNECTING -1 - + public static final int PROGRESS_DISCONNECTING -5 - + public static final int PROGRESS_ENABLING_DFU_MODE -3 - + public static final int PROGRESS_STARTING -2 - + public static final int PROGRESS_VALIDATING -4 - + protected static final int STATE_CLOSED -5 - + protected static final int STATE_CONNECTED -2 - + protected static final int STATE_CONNECTED_AND_READY -3 - + protected static final int STATE_CONNECTING -1 - + protected static final int STATE_DISCONNECTED 0 - + protected static final int STATE_DISCONNECTING -4 - + public static final int TYPE_APPLICATION 4 - + public static final int TYPE_AUTO 0 - + public static final int TYPE_BOOTLOADER 2 - + public static final int diff --git a/documentation/javadoc/deprecated-list.html b/documentation/javadoc/deprecated-list.html index dae43e07..90a2112f 100644 --- a/documentation/javadoc/deprecated-list.html +++ b/documentation/javadoc/deprecated-list.html @@ -2,9 +2,9 @@ - + Deprecated List - + diff --git a/documentation/javadoc/help-doc.html b/documentation/javadoc/help-doc.html index b6c2926a..e1628c77 100644 --- a/documentation/javadoc/help-doc.html +++ b/documentation/javadoc/help-doc.html @@ -2,9 +2,9 @@ - + API Help - + diff --git a/documentation/javadoc/index-files/index-1.html b/documentation/javadoc/index-files/index-1.html index d1520865..6f4ef8a6 100644 --- a/documentation/javadoc/index-files/index-1.html +++ b/documentation/javadoc/index-files/index-1.html @@ -2,9 +2,9 @@ - + A-Index - + @@ -73,6 +73,8 @@

    A

    +
    abc_action_bar_embed_tabs - Static variable in class no.nordicsemi.android.dfu.R.bool
    +
     
    abort() - Method in interface no.nordicsemi.android.dfu.DfuController
    Aborts the DFU operation after it has started.
    @@ -83,6 +85,12 @@

    A

    Aborts the upload.
    +
    action_container - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    action_divider - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    action_image - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    ACTION_PAUSE - Static variable in class no.nordicsemi.android.dfu.DfuBaseService
    Pauses the upload.
    @@ -91,6 +99,10 @@

    A

    Resumes the upload that has been paused before using DfuBaseService.ACTION_PAUSE.
    +
    action_text - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    actions - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    ADDRESS_DIFF - Static variable in interface no.nordicsemi.android.dfu.internal.scanner.BootloaderScanner
    The bootloader may advertise with the same address or one with the last byte incremented by this value.
    @@ -110,6 +122,8 @@

    A

    The ArchiveInputStream read HEX or BIN files from the Zip stream.
    +
    async - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    attr() - Constructor for class no.nordicsemi.android.dfu.R.attr
     
    available() - Method in class no.nordicsemi.android.dfu.internal.ArchiveInputStream
    diff --git a/documentation/javadoc/index-files/index-10.html b/documentation/javadoc/index-files/index-10.html index 5c515538..6cb2458a 100644 --- a/documentation/javadoc/index-files/index-10.html +++ b/documentation/javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - + L-Index - + @@ -73,10 +73,16 @@

    L

    +
    layout() - Constructor for class no.nordicsemi.android.dfu.R.layout
    +
     
    LegacyDfuError - Class in no.nordicsemi.android.error
     
    LegacyDfuError() - Constructor for class no.nordicsemi.android.error.LegacyDfuError
     
    +
    line1 - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    line3 - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    LOG_LEVEL_APPLICATION - Static variable in class no.nordicsemi.android.dfu.DfuBaseService
    Log entries level for applications
    diff --git a/documentation/javadoc/index-files/index-11.html b/documentation/javadoc/index-files/index-11.html index c35da3a6..b01c3474 100644 --- a/documentation/javadoc/index-files/index-11.html +++ b/documentation/javadoc/index-files/index-11.html @@ -2,9 +2,9 @@ - + M-Index - + diff --git a/documentation/javadoc/index-files/index-12.html b/documentation/javadoc/index-files/index-12.html index 56bb0026..08a40d3c 100644 --- a/documentation/javadoc/index-files/index-12.html +++ b/documentation/javadoc/index-files/index-12.html @@ -2,9 +2,9 @@ - + N-Index - + @@ -85,10 +85,90 @@

    N

     
    no.nordicsemi.android.error - package no.nordicsemi.android.error
     
    +
    normal - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    NOT_SUPPORTED - Static variable in class no.nordicsemi.android.error.LegacyDfuError
     
    +
    notification_action - Static variable in class no.nordicsemi.android.dfu.R.layout
    +
     
    +
    notification_action_background - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_action_color_filter - Static variable in class no.nordicsemi.android.dfu.R.color
    +
     
    +
    notification_action_icon_size - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_action_text_size - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_action_tombstone - Static variable in class no.nordicsemi.android.dfu.R.layout
    +
     
    +
    notification_background - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    notification_bg - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_bg_low - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_bg_low_normal - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_bg_low_pressed - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_bg_normal - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_bg_normal_pressed - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_big_circle_margin - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    NOTIFICATION_CHANNEL_DFU - Static variable in class no.nordicsemi.android.dfu.DfuBaseService
    +
     
    +
    notification_content_margin_start - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_icon_background - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_icon_bg_color - Static variable in class no.nordicsemi.android.dfu.R.color
    +
     
    NOTIFICATION_ID - Static variable in class no.nordicsemi.android.dfu.DfuBaseService
     
    +
    notification_large_icon_height - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_large_icon_width - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_main_column - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    notification_main_column_container - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    notification_main_column_padding_top - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_media_narrow_margin - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_right_icon_size - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_right_side_padding_top - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_small_icon_background_padding - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_small_icon_size_as_large - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_subtext_size - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_template_custom_big - Static variable in class no.nordicsemi.android.dfu.R.layout
    +
     
    +
    notification_template_icon_bg - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_template_icon_group - Static variable in class no.nordicsemi.android.dfu.R.layout
    +
     
    +
    notification_template_icon_low_bg - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_template_part_chronometer - Static variable in class no.nordicsemi.android.dfu.R.layout
    +
     
    +
    notification_template_part_time - Static variable in class no.nordicsemi.android.dfu.R.layout
    +
     
    +
    notification_tile_bg - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    +
    notification_top_pad - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notification_top_pad_large_text - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    notify_panel_notification_icon_bg - Static variable in class no.nordicsemi.android.dfu.R.drawable
    +
     
    A B C D E F G H I L M N O P R S T U V W  diff --git a/documentation/javadoc/index-files/index-13.html b/documentation/javadoc/index-files/index-13.html index dccf5e77..fd4095e5 100644 --- a/documentation/javadoc/index-files/index-13.html +++ b/documentation/javadoc/index-files/index-13.html @@ -2,9 +2,9 @@ - + O-Index - + diff --git a/documentation/javadoc/index-files/index-14.html b/documentation/javadoc/index-files/index-14.html index f105eb7f..46d4e6c9 100644 --- a/documentation/javadoc/index-files/index-14.html +++ b/documentation/javadoc/index-files/index-14.html @@ -2,9 +2,9 @@ - + P-Index - + diff --git a/documentation/javadoc/index-files/index-15.html b/documentation/javadoc/index-files/index-15.html index 7345b74c..79c15a5c 100644 --- a/documentation/javadoc/index-files/index-15.html +++ b/documentation/javadoc/index-files/index-15.html @@ -2,9 +2,9 @@ - + R-Index - + @@ -79,10 +79,26 @@

    R

     
    R.attr - Class in no.nordicsemi.android.dfu
     
    +
    R.bool - Class in no.nordicsemi.android.dfu
    +
     
    +
    R.color - Class in no.nordicsemi.android.dfu
    +
     
    +
    R.dimen - Class in no.nordicsemi.android.dfu
    +
     
    R.drawable - Class in no.nordicsemi.android.dfu
     
    +
    R.id - Class in no.nordicsemi.android.dfu
    +
     
    +
    R.integer - Class in no.nordicsemi.android.dfu
    +
     
    +
    R.layout - Class in no.nordicsemi.android.dfu
    +
     
    R.string - Class in no.nordicsemi.android.dfu
     
    +
    R.style - Class in no.nordicsemi.android.dfu
    +
     
    +
    R.styleable - Class in no.nordicsemi.android.dfu
    +
     
    read(byte[]) - Method in class no.nordicsemi.android.dfu.internal.ArchiveInputStream
     
    read() - Method in class no.nordicsemi.android.dfu.internal.HexInputStream
    @@ -137,6 +153,12 @@

    R

    resume() - Method in class no.nordicsemi.android.dfu.DfuServiceController
     
    +
    right_icon - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    right_side - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    ripple_material_light - Static variable in class no.nordicsemi.android.dfu.R.color
    +
     
    A B C D E F G H I L M N O P R S T U V W  diff --git a/documentation/javadoc/index-files/index-16.html b/documentation/javadoc/index-files/index-16.html index 0fef04c5..e3c9bf92 100644 --- a/documentation/javadoc/index-files/index-16.html +++ b/documentation/javadoc/index-files/index-16.html @@ -2,9 +2,9 @@ - + S-Index - + @@ -89,6 +89,8 @@

    S

     
    searchFor(String) - Method in class no.nordicsemi.android.dfu.internal.scanner.BootloaderScannerLollipop
     
    +
    secondary_text_default_material_light - Static variable in class no.nordicsemi.android.dfu.R.color
    +
     
    SecureDfuError - Class in no.nordicsemi.android.error
     
    SecureDfuError() - Constructor for class no.nordicsemi.android.error.SecureDfuError
    @@ -268,8 +270,16 @@

    S

     
    STATE_DISCONNECTING - Static variable in class no.nordicsemi.android.dfu.DfuBaseService
     
    +
    status_bar_notification_info_maxnum - Static variable in class no.nordicsemi.android.dfu.R.integer
    +
     
    +
    status_bar_notification_info_overflow - Static variable in class no.nordicsemi.android.dfu.R.string
    +
     
    string() - Constructor for class no.nordicsemi.android.dfu.R.string
     
    +
    style() - Constructor for class no.nordicsemi.android.dfu.R.style
    +
     
    +
    styleable() - Constructor for class no.nordicsemi.android.dfu.R.styleable
    +
     
    A B C D E F G H I L M N O P R S T U V W  diff --git a/documentation/javadoc/index-files/index-17.html b/documentation/javadoc/index-files/index-17.html index 51d51953..f34d3ed5 100644 --- a/documentation/javadoc/index-files/index-17.html +++ b/documentation/javadoc/index-files/index-17.html @@ -2,9 +2,9 @@ - + T-Index - + @@ -77,10 +77,28 @@

    T

    Disconnects from the device and cleans local variables in case of error.
    +
    text - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    text2 - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    TextAppearance_Compat_Notification - Static variable in class no.nordicsemi.android.dfu.R.style
    +
     
    +
    TextAppearance_Compat_Notification_Info - Static variable in class no.nordicsemi.android.dfu.R.style
    +
     
    +
    TextAppearance_Compat_Notification_Line2 - Static variable in class no.nordicsemi.android.dfu.R.style
    +
     
    +
    TextAppearance_Compat_Notification_Time - Static variable in class no.nordicsemi.android.dfu.R.style
    +
     
    +
    TextAppearance_Compat_Notification_Title - Static variable in class no.nordicsemi.android.dfu.R.style
    +
     
    +
    time - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    TIMEOUT - Static variable in interface no.nordicsemi.android.dfu.internal.scanner.BootloaderScanner
    After the buttonless jump from the application mode to the bootloader mode the service will wait this long for the advertising bootloader (in milliseconds).
    +
    title - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    TYPE_APPLICATION - Static variable in class no.nordicsemi.android.dfu.DfuBaseService
    diff --git a/documentation/javadoc/index-files/index-18.html b/documentation/javadoc/index-files/index-18.html index d73f0f69..ed613eda 100644 --- a/documentation/javadoc/index-files/index-18.html +++ b/documentation/javadoc/index-files/index-18.html @@ -2,9 +2,9 @@ - + U-Index - + diff --git a/documentation/javadoc/index-files/index-19.html b/documentation/javadoc/index-files/index-19.html index af5d6fce..9dc1749b 100644 --- a/documentation/javadoc/index-files/index-19.html +++ b/documentation/javadoc/index-files/index-19.html @@ -2,9 +2,9 @@ - + V-Index - + diff --git a/documentation/javadoc/index-files/index-2.html b/documentation/javadoc/index-files/index-2.html index f25bac70..f07f4e33 100644 --- a/documentation/javadoc/index-files/index-2.html +++ b/documentation/javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + @@ -73,6 +73,10 @@

    B

    +
    blocking - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    bool() - Constructor for class no.nordicsemi.android.dfu.R.bool
    +
     
    bootloaderImageSize() - Method in class no.nordicsemi.android.dfu.internal.ArchiveInputStream
    Returns the total size of the Bootloader firmware.
    diff --git a/documentation/javadoc/index-files/index-20.html b/documentation/javadoc/index-files/index-20.html index fae0ab32..d57e55ec 100644 --- a/documentation/javadoc/index-files/index-20.html +++ b/documentation/javadoc/index-files/index-20.html @@ -2,9 +2,9 @@ - + W-Index - + @@ -81,6 +81,10 @@

    W

    Wait until the connection state will change to DfuBaseService.STATE_DISCONNECTED or until an error occurs.
    +
    Widget_Compat_NotificationActionContainer - Static variable in class no.nordicsemi.android.dfu.R.style
    +
     
    +
    Widget_Compat_NotificationActionText - Static variable in class no.nordicsemi.android.dfu.R.style
    +
     
    A B C D E F G H I L M N O P R S T U V W 
    diff --git a/documentation/javadoc/index-files/index-3.html b/documentation/javadoc/index-files/index-3.html index 925b42e1..0f6a8371 100644 --- a/documentation/javadoc/index-files/index-3.html +++ b/documentation/javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -73,18 +73,34 @@

    C

    +
    chronometer - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    close(BluetoothGatt) - Method in class no.nordicsemi.android.dfu.DfuBaseService
    Closes the GATT device and cleans up.
    close() - Method in class no.nordicsemi.android.dfu.internal.ArchiveInputStream
     
    +
    color() - Constructor for class no.nordicsemi.android.dfu.R.color
    +
     
    +
    compat_button_inset_horizontal_material - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    compat_button_inset_vertical_material - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    compat_button_padding_horizontal_material - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    compat_button_padding_vertical_material - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    +
    compat_control_corner_material - Static variable in class no.nordicsemi.android.dfu.R.dimen
    +
     
    connect(String) - Method in class no.nordicsemi.android.dfu.DfuBaseService
    Connects to the BLE device with given address.
    CRC_ERROR - Static variable in class no.nordicsemi.android.error.LegacyDfuError
     
    +
    createDfuNotificationChannel(Context) - Static method in class no.nordicsemi.android.dfu.DfuServiceInitiator
    +
     
    A B C D E F G H I L M N O P R S T U V W  diff --git a/documentation/javadoc/index-files/index-4.html b/documentation/javadoc/index-files/index-4.html index e2b77aea..0deb308f 100644 --- a/documentation/javadoc/index-files/index-4.html +++ b/documentation/javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + D-Index - + @@ -87,6 +87,10 @@

    D

     
    dfu_action_abort - Static variable in class no.nordicsemi.android.dfu.R.string
     
    +
    dfu_channel_description - Static variable in class no.nordicsemi.android.dfu.R.string
    +
     
    +
    dfu_channel_name - Static variable in class no.nordicsemi.android.dfu.R.string
    +
     
    dfu_status_aborted - Static variable in class no.nordicsemi.android.dfu.R.string
     
    dfu_status_aborted_msg - Static variable in class no.nordicsemi.android.dfu.R.string
    @@ -201,6 +205,8 @@

    D

     
    DfuSettingsConstants - Interface in no.nordicsemi.android.dfu
     
    +
    dimen() - Constructor for class no.nordicsemi.android.dfu.R.dimen
    +
     
    disconnect(BluetoothGatt) - Method in class no.nordicsemi.android.dfu.DfuBaseService
    Disconnects from the device.
    diff --git a/documentation/javadoc/index-files/index-5.html b/documentation/javadoc/index-files/index-5.html index 98d22925..a5449bc0 100644 --- a/documentation/javadoc/index-files/index-5.html +++ b/documentation/javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + E-Index - + diff --git a/documentation/javadoc/index-files/index-6.html b/documentation/javadoc/index-files/index-6.html index e7ef6cb5..8bc89a8a 100644 --- a/documentation/javadoc/index-files/index-6.html +++ b/documentation/javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - + F-Index - + @@ -79,6 +79,48 @@

    F

     
    FLAVOR - Static variable in class no.nordicsemi.android.dfu.BuildConfig
     
    +
    font - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    FontFamily - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamily_fontProviderAuthority - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamily_fontProviderCerts - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamily_fontProviderFetchStrategy - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamily_fontProviderFetchTimeout - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamily_fontProviderPackage - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamily_fontProviderQuery - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamilyFont - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamilyFont_font - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamilyFont_fontStyle - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    FontFamilyFont_fontWeight - Static variable in class no.nordicsemi.android.dfu.R.styleable
    +
     
    +
    fontProviderAuthority - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    fontProviderCerts - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    fontProviderFetchStrategy - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    fontProviderFetchTimeout - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    fontProviderPackage - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    fontProviderQuery - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    fontStyle - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    fontWeight - Static variable in class no.nordicsemi.android.dfu.R.attr
    +
     
    +
    forever - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    A B C D E F G H I L M N O P R S T U V W  diff --git a/documentation/javadoc/index-files/index-7.html b/documentation/javadoc/index-files/index-7.html index 147b66a0..2e110639 100644 --- a/documentation/javadoc/index-files/index-7.html +++ b/documentation/javadoc/index-files/index-7.html @@ -2,9 +2,9 @@ - + G-Index - + diff --git a/documentation/javadoc/index-files/index-8.html b/documentation/javadoc/index-files/index-8.html index 5a4af063..da832686 100644 --- a/documentation/javadoc/index-files/index-8.html +++ b/documentation/javadoc/index-files/index-8.html @@ -2,9 +2,9 @@ - + H-Index - + diff --git a/documentation/javadoc/index-files/index-9.html b/documentation/javadoc/index-files/index-9.html index 679f2e38..f609039b 100644 --- a/documentation/javadoc/index-files/index-9.html +++ b/documentation/javadoc/index-files/index-9.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -77,8 +77,18 @@

    I

     
    ic_stat_notify_dfu - Static variable in class no.nordicsemi.android.dfu.R.drawable
     
    +
    icon - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    icon_group - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    +
    id() - Constructor for class no.nordicsemi.android.dfu.R.id
    +
     
    +
    info - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    INSUFFICIENT_RESOURCES - Static variable in class no.nordicsemi.android.error.SecureDfuError
     
    +
    integer() - Constructor for class no.nordicsemi.android.dfu.R.integer
    +
     
    INVALID_OBJECT - Static variable in class no.nordicsemi.android.error.SecureDfuError
     
    INVALID_PARAM - Static variable in class no.nordicsemi.android.error.SecureDfuError
    @@ -103,6 +113,8 @@

    I

    isSecureDfuRequired() - Method in class no.nordicsemi.android.dfu.internal.manifest.Manifest
     
    +
    italic - Static variable in class no.nordicsemi.android.dfu.R.id
    +
     
    A B C D E F G H I L M N O P R S T U V W  diff --git a/documentation/javadoc/index.html b/documentation/javadoc/index.html index a9187246..29eb1ab0 100644 --- a/documentation/javadoc/index.html +++ b/documentation/javadoc/index.html @@ -2,14 +2,15 @@ - + Generated Documentation (Untitled) diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuBaseService.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuBaseService.html index 6a65681e..c3cab68a 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuBaseService.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuBaseService.html @@ -2,9 +2,9 @@ - + DfuBaseService - + @@ -628,97 +628,101 @@

    Field Summary

    MIME_TYPE_ZIP  +static java.lang.String +NOTIFICATION_CHANNEL_DFU  + + static int NOTIFICATION_ID  - + static int PROGRESS_ABORTED
    The upload has been aborted.
    - + static int PROGRESS_COMPLETED
    The connection is successful.
    - + static int PROGRESS_CONNECTING
    Service is connecting to the remote DFU target.
    - + static int PROGRESS_DISCONNECTING
    Service is disconnecting from the DFU target.
    - + static int PROGRESS_ENABLING_DFU_MODE
    Service has triggered a switch to bootloader mode.
    - + static int PROGRESS_STARTING
    Service is enabling notifications and starting transmission.
    - + static int PROGRESS_VALIDATING
    Service is sending validation request to the remote DFU target.
    - + protected static int STATE_CLOSED  - + protected static int STATE_CONNECTED  - + protected static int STATE_CONNECTED_AND_READY  - + protected static int STATE_CONNECTING  - + protected static int STATE_DISCONNECTED  - + protected static int STATE_DISCONNECTING  - + static int TYPE_APPLICATION
    The file contains a new version of Application.
    - + static int TYPE_AUTO
    A ZIP file that consists of more than 1 file.
    - + static int TYPE_BOOTLOADER
    The file contains a new version of Bootloader.
    - + static int TYPE_SOFT_DEVICE
    @@ -738,7 +742,7 @@

    Fields inherited from class android.app.Service

    Fields inherited from class android.content.Context

    -ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, BLUETOOTH_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, FINGERPRINT_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE, RESTRICTIONS_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE +ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, BLUETOOTH_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, FINGERPRINT_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE + + + + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuController.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuController.html index 14fdc953..5d61760c 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuController.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuController.html @@ -2,9 +2,9 @@ - + DfuController - + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuLogListener.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuLogListener.html index ca4d0346..180407bb 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuLogListener.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuLogListener.html @@ -2,9 +2,9 @@ - + DfuLogListener - + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListener.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListener.html index 8e8bb197..2194d61c 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListener.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListener.html @@ -2,9 +2,9 @@ - + DfuProgressListener - + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListenerAdapter.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListenerAdapter.html index 0bece605..286fe8c4 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListenerAdapter.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuProgressListenerAdapter.html @@ -2,9 +2,9 @@ - + DfuProgressListenerAdapter - + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceController.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceController.html index e85e6c92..3a5affce 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceController.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceController.html @@ -2,9 +2,9 @@ - + DfuServiceController - + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceInitiator.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceInitiator.html index d9427a55..89af83a0 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceInitiator.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceInitiator.html @@ -2,9 +2,9 @@ - + DfuServiceInitiator - + @@ -18,8 +18,8 @@ catch(err) { } //--> -var methods = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":42,"i13":42,"i14":42,"i15":42,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var methods = {"i0":9,"i1":42,"i2":42,"i3":42,"i4":42,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":42,"i15":42,"i16":42,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -175,33 +175,37 @@

    Constructor Summary

    Method Summary

    - + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    All Methods Instance Methods Concrete Methods Deprecated Methods All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
    Modifier and Type Method and Description
    static voidcreateDfuNotificationChannel(android.content.Context context) 
    DfuServiceInitiator setBinOrHex(int fileType, int rawResId)
    Deprecated. 
    DfuServiceInitiator setBinOrHex(int fileType, java.lang.String path)
    Deprecated. 
    DfuServiceInitiator setBinOrHex(int fileType, android.net.Uri uri)
    Deprecated. 
    DfuServiceInitiator setBinOrHex(int fileType, android.net.Uri uri, @@ -211,28 +215,28 @@

    Method Summary

    DfuServiceInitiator setCustomUuidsForButtonlessDfuWithBondSharing(java.util.UUID buttonlessDfuServiceUuid, java.util.UUID buttonlessDfuControlPointUuid)
    Sets custom UUIDs for the Buttonless DFU Service from SDK 14 (or later).
    DfuServiceInitiator setCustomUuidsForButtonlessDfuWithoutBondSharing(java.util.UUID buttonlessDfuServiceUuid, java.util.UUID buttonlessDfuControlPointUuid)
    Sets custom UUIDs for the Buttonless DFU Service from SDK 13.
    DfuServiceInitiator setCustomUuidsForExperimentalButtonlessDfu(java.util.UUID buttonlessDfuServiceUuid, java.util.UUID buttonlessDfuControlPointUuid)
    Sets custom UUIDs for the experimental Buttonless DFU Service from SDK 12.x.
    DfuServiceInitiator setCustomUuidsForLegacyDfu(java.util.UUID dfuServiceUuid, java.util.UUID dfuControlPointUuid, @@ -241,7 +245,7 @@

    Method Summary

    Sets custom UUIDs for Legacy DFU and Legacy Buttonless DFU.
    DfuServiceInitiator setCustomUuidsForSecureDfu(java.util.UUID dfuServiceUuid, java.util.UUID dfuControlPointUuid, @@ -249,114 +253,114 @@

    Method Summary

    Sets custom UUIDs for Secure DFU.
    DfuServiceInitiator setDeviceName(java.lang.String name)
    Sets the device name.
    DfuServiceInitiator setDisableNotification(boolean disableNotification)
    Sets whether the progress notification in the status bar should be disabled.
    DfuServiceInitiator setForceDfu(boolean force)
    Setting force DFU to true will prevent from jumping to the DFU Bootloader mode in case there is no DFU Version characteristic (Legacy DFU only!).
    DfuServiceInitiator setInitFile(int initFileResId)
    Deprecated. 
    DfuServiceInitiator setInitFile(java.lang.String initFilePath)
    Deprecated. 
    DfuServiceInitiator setInitFile(android.net.Uri initFileUri)
    Deprecated. 
    DfuServiceInitiator setInitFile(android.net.Uri initFileUri, java.lang.String initFilePath)
    Deprecated. 
    DfuServiceInitiator setKeepBond(boolean keepBond)
    Sets whether the bond information should be preserver after flashing new application.
    DfuServiceInitiator setPacketsReceiptNotificationsEnabled(boolean enabled)
    Enables or disables the Packet Receipt Notification (PRN) procedure.
    DfuServiceInitiator setPacketsReceiptNotificationsValue(int number)
    If Packet Receipt Notification procedure is enabled, this method sets number of packets to be sent before receiving a PRN.
    DfuServiceInitiator setRestoreBond(boolean restoreBond)
    Sets whether the bond should be created after the DFU is complete.
    DfuServiceInitiator setScope(int scope)
    This method allows to narrow the update to selected parts from the ZIP, for example to allow only application update from a ZIP file that has SD+BL+App.
    DfuServiceInitiator setUnsafeExperimentalButtonlessServiceInSecureDfuEnabled(boolean enable)
    Set this flag to true to enable experimental buttonless feature in Secure DFU.
    DfuServiceInitiator setZip(int rawResId)
    Sets the resource ID of the Distribution packet (ZIP) or the a ZIP file matching the deprecated naming convention.
    DfuServiceInitiator setZip(java.lang.String path)
    Sets the path to the Distribution packet (ZIP) or the a ZIP file matching the deprecated naming convention.
    DfuServiceInitiator setZip(android.net.Uri uri)
    Sets the URI to the Distribution packet (ZIP) or to a ZIP file matching the deprecated naming convention.
    DfuServiceInitiator setZip(android.net.Uri uri, java.lang.String path)
    Sets the URI or path of the ZIP file.
    DfuServiceController start(android.content.Context context, java.lang.Class<? extends DfuBaseService> service) @@ -1010,7 +1014,7 @@

    setInitFile

    -
      +
      • start

        public DfuServiceController start(android.content.Context context,
        @@ -1023,6 +1027,15 @@ 

        start

      + + + +
        +
      • +

        createDfuNotificationChannel

        +
        public static void createDfuNotificationChannel(android.content.Context context)
        +
      • +
    diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceListenerHelper.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceListenerHelper.html index df9fa7a0..627e3f69 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceListenerHelper.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuServiceListenerHelper.html @@ -2,9 +2,9 @@ - + DfuServiceListenerHelper - + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/DfuSettingsConstants.html b/documentation/javadoc/no/nordicsemi/android/dfu/DfuSettingsConstants.html index 8b390873..bf0a71d7 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/DfuSettingsConstants.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/DfuSettingsConstants.html @@ -2,9 +2,9 @@ - + DfuSettingsConstants - + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/R.attr.html b/documentation/javadoc/no/nordicsemi/android/dfu/R.attr.html index 7b92e9f6..7d01bdf4 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/R.attr.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/R.attr.html @@ -2,9 +2,9 @@ - + R.attr - + @@ -43,7 +43,7 @@
    static int ic_stat_notify_dfu 
    static intnotification_action_background 
    static intnotification_bg 
    static intnotification_bg_low 
    static intnotification_bg_low_normal 
    static intnotification_bg_low_pressed 
    static intnotification_bg_normal 
    static intnotification_bg_normal_pressed 
    static intnotification_icon_background 
    static intnotification_template_icon_bg 
    static intnotification_template_icon_low_bg 
    static intnotification_tile_bg 
    static intnotify_panel_notification_icon_bg 
    @@ -193,12 +241,120 @@

    ic_action_notify_cancel

    - @@ -243,8 +399,8 @@

    drawable

    diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/package-summary.html b/documentation/javadoc/no/nordicsemi/android/dfu/package-summary.html index 2fe0eb9a..a39131ae 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/package-summary.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/package-summary.html @@ -2,9 +2,9 @@ - + no.nordicsemi.android.dfu - + @@ -153,13 +153,45 @@

    Package no.nordicsemi.android.dfu

      +R.bool +  + + +R.color +  + + +R.dimen +  + + R.drawable   + +R.id +  + + +R.integer +  + + +R.layout +  + R.string   + +R.style +  + + +R.styleable +  + diff --git a/documentation/javadoc/no/nordicsemi/android/dfu/package-tree.html b/documentation/javadoc/no/nordicsemi/android/dfu/package-tree.html index eabbb3b7..f2635a67 100644 --- a/documentation/javadoc/no/nordicsemi/android/dfu/package-tree.html +++ b/documentation/javadoc/no/nordicsemi/android/dfu/package-tree.html @@ -2,9 +2,9 @@ - + no.nordicsemi.android.dfu Class Hierarchy - + @@ -104,8 +104,16 @@

    Class Hierarchy

  • no.nordicsemi.android.dfu.DfuServiceListenerHelper
  • no.nordicsemi.android.dfu.R
  • no.nordicsemi.android.dfu.R.attr
  • +
  • no.nordicsemi.android.dfu.R.bool
  • +
  • no.nordicsemi.android.dfu.R.color
  • +
  • no.nordicsemi.android.dfu.R.dimen
  • no.nordicsemi.android.dfu.R.drawable
  • +
  • no.nordicsemi.android.dfu.R.id
  • +
  • no.nordicsemi.android.dfu.R.integer
  • +
  • no.nordicsemi.android.dfu.R.layout
  • no.nordicsemi.android.dfu.R.string
  • +
  • no.nordicsemi.android.dfu.R.style
  • +
  • no.nordicsemi.android.dfu.R.styleable
  • diff --git a/documentation/javadoc/no/nordicsemi/android/error/GattError.html b/documentation/javadoc/no/nordicsemi/android/error/GattError.html index 22778a78..4b0a8485 100644 --- a/documentation/javadoc/no/nordicsemi/android/error/GattError.html +++ b/documentation/javadoc/no/nordicsemi/android/error/GattError.html @@ -2,9 +2,9 @@ - + GattError - + diff --git a/documentation/javadoc/no/nordicsemi/android/error/LegacyDfuError.html b/documentation/javadoc/no/nordicsemi/android/error/LegacyDfuError.html index add2660c..a33e8c5d 100644 --- a/documentation/javadoc/no/nordicsemi/android/error/LegacyDfuError.html +++ b/documentation/javadoc/no/nordicsemi/android/error/LegacyDfuError.html @@ -2,9 +2,9 @@ - + LegacyDfuError - + diff --git a/documentation/javadoc/no/nordicsemi/android/error/SecureDfuError.html b/documentation/javadoc/no/nordicsemi/android/error/SecureDfuError.html index 1012a032..39298db8 100644 --- a/documentation/javadoc/no/nordicsemi/android/error/SecureDfuError.html +++ b/documentation/javadoc/no/nordicsemi/android/error/SecureDfuError.html @@ -2,9 +2,9 @@ - + SecureDfuError - + diff --git a/documentation/javadoc/no/nordicsemi/android/error/package-frame.html b/documentation/javadoc/no/nordicsemi/android/error/package-frame.html index ca01fb1f..51195249 100644 --- a/documentation/javadoc/no/nordicsemi/android/error/package-frame.html +++ b/documentation/javadoc/no/nordicsemi/android/error/package-frame.html @@ -2,9 +2,9 @@ - + no.nordicsemi.android.error - + diff --git a/documentation/javadoc/no/nordicsemi/android/error/package-summary.html b/documentation/javadoc/no/nordicsemi/android/error/package-summary.html index 3de99613..db8358aa 100644 --- a/documentation/javadoc/no/nordicsemi/android/error/package-summary.html +++ b/documentation/javadoc/no/nordicsemi/android/error/package-summary.html @@ -2,9 +2,9 @@ - + no.nordicsemi.android.error - + diff --git a/documentation/javadoc/no/nordicsemi/android/error/package-tree.html b/documentation/javadoc/no/nordicsemi/android/error/package-tree.html index 8eb327c6..87f1567e 100644 --- a/documentation/javadoc/no/nordicsemi/android/error/package-tree.html +++ b/documentation/javadoc/no/nordicsemi/android/error/package-tree.html @@ -2,9 +2,9 @@ - + no.nordicsemi.android.error Class Hierarchy - + diff --git a/documentation/javadoc/overview-frame.html b/documentation/javadoc/overview-frame.html index fb062c9d..e166f2b6 100644 --- a/documentation/javadoc/overview-frame.html +++ b/documentation/javadoc/overview-frame.html @@ -2,9 +2,9 @@ - + Overview List - + diff --git a/documentation/javadoc/overview-summary.html b/documentation/javadoc/overview-summary.html index 2c9aaebe..7e101981 100644 --- a/documentation/javadoc/overview-summary.html +++ b/documentation/javadoc/overview-summary.html @@ -2,9 +2,9 @@ - + Overview - + diff --git a/documentation/javadoc/overview-tree.html b/documentation/javadoc/overview-tree.html index 1af2688f..13108743 100644 --- a/documentation/javadoc/overview-tree.html +++ b/documentation/javadoc/overview-tree.html @@ -2,9 +2,9 @@ - + Class Hierarchy - + @@ -138,8 +138,16 @@

    Class Hierarchy

  • no.nordicsemi.android.dfu.internal.manifest.ManifestFile
  • no.nordicsemi.android.dfu.R
  • no.nordicsemi.android.dfu.R.attr
  • +
  • no.nordicsemi.android.dfu.R.bool
  • +
  • no.nordicsemi.android.dfu.R.color
  • +
  • no.nordicsemi.android.dfu.R.dimen
  • no.nordicsemi.android.dfu.R.drawable
  • +
  • no.nordicsemi.android.dfu.R.id
  • +
  • no.nordicsemi.android.dfu.R.integer
  • +
  • no.nordicsemi.android.dfu.R.layout
  • no.nordicsemi.android.dfu.R.string
  • +
  • no.nordicsemi.android.dfu.R.style
  • +
  • no.nordicsemi.android.dfu.R.styleable
  • android.bluetooth.le.ScanCallback