EXTRA_PROGRESS
An extra field to send the progress or error information in the DFU notification. The value may contain:
- Value 0 - 100 - percentage progress value
- One of the following status constants:
- An error code with ERROR_MASK if initialization error occurred
- An error code with ERROR_REMOTE_MASK if remote DFU target returned an error
- An error code with ERROR_CONNECTION_MASK if connection error occurred (e.g. GATT error (133) or Internal GATT Error (129))
boolean error = progressValue >= DfuBaseService.ERROR_MASK;