Skip to content

Commit

Permalink
FBEditor Version 0.6.9.7
Browse files Browse the repository at this point in the history
FBEditor Version  0.6.9.7

Release Version 0.6.9.7 -> Eclipse 4 und Java 1.7 / Java 1.6 ab Firmware Version xxx.06.xx

Kennwort der Sicherungsdatei

Eine kleine Änderung beim Upload
nur ab Firmware Version xxx.06.xx
ansonsten ist alles wie bei der Version  0.6.9.6
  • Loading branch information
mypikachu committed Apr 9, 2018
1 parent 6f5d823 commit 7fd455b
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions src/de/FBEditor/struct/FBFWVN.java
Expand Up @@ -56,7 +56,11 @@ public final void FBFWVN0(String sFBFWV_IN)
isOK = false;
isFritzboxLanguageOK = false;

Pattern status1Pattern = Pattern.compile("<body>([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^<]*)</body>", Pattern.CASE_INSENSITIVE);
// 15.04.2015
int ii = 0;
String ss = "";

Pattern status1Pattern = Pattern.compile("<body>([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)-([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^-<]*)[|-]?([^<]*)</body>", Pattern.CASE_INSENSITIVE);
Matcher status1Matcher = status1Pattern.matcher(sFBFWV_IN);

if (status1Matcher.find(0) == true) {
Expand All @@ -66,8 +70,9 @@ public final void FBFWVN0(String sFBFWV_IN)
if (status1Matcher.groupCount() >= 9) {

for (int i = 0; i <= status1Matcher.groupCount(); i++) {
S10[i] = status1Matcher.group(i);
//System.out.println( S10[i]);
// 15.04.2015
ss = status1Matcher.group(i);
S10[i - ii] = ss;
}

if (S10[8].length() >= 5) {
Expand All @@ -87,14 +92,23 @@ public final void FBFWVN0(String sFBFWV_IN)
if (status1Matcher.groupCount() >= 10) {
sFBFWV100 = S10[10];
}
// 15.08.2015
if (status1Matcher.groupCount() >= 11) {
if (!"".equals(S10[11]) && S10[11].length() > 2) {
S10[11] = S10[11].substring(0, 2);
}
sFBFWV110 = S10[11];
if (!"".equals(S10[11]) && S10[11].length() == 2) {
isFritzboxLanguageOK = true;
}
}

isOK = true;
// 15.04.2015
if (sFBFWV81.length() > 3) {
System.out.println("isOK = false");
} else {
isOK = true;
}

}
}
Expand Down

0 comments on commit 7fd455b

Please sign in to comment.