File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2766,6 +2766,7 @@ private void handleBoardInfo() {
27662766 String vid = "" ;
27672767 String pid = "" ;
27682768 String iserial = "" ;
2769+ String protocol = "" ;
27692770 boolean found = false ;
27702771
27712772 for (BoardPort port : ports ) {
@@ -2774,6 +2775,7 @@ private void handleBoardInfo() {
27742775 vid = port .getVID ();
27752776 pid = port .getPID ();
27762777 iserial = port .getISerial ();
2778+ protocol = port .getProtocol ();
27772779 found = true ;
27782780 break ;
27792781 }
@@ -2784,6 +2786,11 @@ private void handleBoardInfo() {
27842786 return ;
27852787 }
27862788
2789+ if (protocol .equals ("network" )) {
2790+ statusNotice (tr ("Network port, can't obtain info" ));
2791+ return ;
2792+ }
2793+
27872794 if (vid == null || vid .equals ("" ) || vid .equals ("0000" )) {
27882795 statusNotice (tr ("Native serial port, can't obtain info" ));
27892796 return ;
You can’t perform that action at this time.
0 commit comments