File tree Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.0.1
2
+ ### Changed
3
+ - Simplify modem DFU progress indicator temporarily
4
+
1
5
## 2.0.0 - 2021-11-01
2
6
### Added
3
7
- Documentation section in ` About ` pane.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " pc-nrfconnect-programmer" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"description" : " Program a Nordic SoC with HEX files from nRF Connect" ,
5
5
"displayName" : " Programmer" ,
6
6
"repository" : {
Original file line number Diff line number Diff line change @@ -69,6 +69,17 @@ export const programDfuModem =
69
69
progressJson : progress ,
70
70
} : nrfdl . Progress . CallbackParameters ) => {
71
71
let updatedProgress = progress ;
72
+ // temporary until new nRF Command Line Tools comes out which includes proper progress callbacks again
73
+ const skipProgressReport = true ;
74
+ if ( skipProgressReport ) {
75
+ updatedProgress = {
76
+ ...progress ,
77
+ message : 'Uploading image. This might take some time.' ,
78
+ } ;
79
+ dispatch ( modemProcessUpdate ( updatedProgress ) ) ;
80
+ return ;
81
+ }
82
+ // For now we will not get these progress callbacks, until this is fixed in nRF Command Line Tools
72
83
if ( progress . operation === 'erase_image' ) {
73
84
updatedProgress = {
74
85
...progress ,
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ const ModemUpdateDialogView = () => {
53
53
pause ( ) ;
54
54
}
55
55
56
+ const temporarilySkippingProgressBar = true ;
57
+
56
58
return (
57
59
< Modal show = { isVisible } onHide = { onCancel } backdrop = "static" >
58
60
< Modal . Header >
@@ -74,7 +76,7 @@ const ModemUpdateDialogView = () => {
74
76
< b > Status</ b >
75
77
</ Form . Label >
76
78
< div > { progressMsg } </ div >
77
- { isWriting && (
79
+ { isWriting && ! temporarilySkippingProgressBar && (
78
80
< ProgressBar
79
81
hidden = { ! isWriting }
80
82
animated
You can’t perform that action at this time.
0 commit comments