git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make the request observer work correctly, remove response logging in main class
[linksys-wrt3g-tools.git]
/
Wrt3g
/
HtmlParser.php
diff --git
a/Wrt3g/HtmlParser.php
b/Wrt3g/HtmlParser.php
index f369bd1648366145847adaa8f52c60ded611985b..bd613acbcc7f6b467631a8647a9e479f1924f425 100644
(file)
--- a/
Wrt3g/HtmlParser.php
+++ b/
Wrt3g/HtmlParser.php
@@
-20,8
+20,10
@@
class Wrt3g_HtmlParser
'GPRS_MSG.WWBEAR_GPRS' => 'GPRS',
'GPRS_MSG.WWBEAR_UMTS' => 'UMTS',
'GPRS_MSG.None' => null,
'GPRS_MSG.WWBEAR_GPRS' => 'GPRS',
'GPRS_MSG.WWBEAR_UMTS' => 'UMTS',
'GPRS_MSG.None' => null,
+ 'GPRS_MSG.FAIR' => 'fair',
'GPRS_MSG.GOOD' => 'good',
'GPRS_MSG.EXCELLENT' => 'excellent',
'GPRS_MSG.GOOD' => 'good',
'GPRS_MSG.EXCELLENT' => 'excellent',
+ 'GPRS_MSG.NOSIGNAL' => 'no signal',
'GPRS_MSG.CTIME' => 'connection time',
'GPRS_MSG.CFW' => 'card firmware',
'GPRS_MSG.CMOD' => 'card model',
'GPRS_MSG.CTIME' => 'connection time',
'GPRS_MSG.CFW' => 'card firmware',
'GPRS_MSG.CMOD' => 'card model',
@@
-208,6
+210,10
@@
class Wrt3g_HtmlParser
}
}
}
}
+ if (preg_match('/Capture\\(share.firmwarever\\):(.+?)</', $body, $arMatches)) {
+ $arRaw['router firmware'] = trim($arMatches[1]);
+ }
+
return $arRaw;
}
}
\ No newline at end of file
return $arRaw;
}
}
\ No newline at end of file