This website requires JavaScript.
Explore
Help
Register
Sign in
KumiSystems
/
openwrtv4
Watch
1
Star
0
Fork
You've already forked openwrtv4
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
ad510c4d62
openwrtv4
/
package
/
network
/
utils
/
wwan
/
files
/
data
/
12d1-140b
6 lines
96 B
Text
Raw
Normal View
History
Unescape
Escape
wwan: add a generic 3g/4g proto this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need for a stick and setup uci automagically Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42837
2014-10-08 08:01:20 +00:00
{
"desc": "HUAWEI/Option EC1260 Wireless Data Modem HSD USB Card",
"control": 2,
"data": 0
wwan: json format in some modem definitions Method used: ``` cd package/network/utils/wwan/files/data sed -e 's/}}/}/g' -i * sed -e 's/}\t"acm": 1/\t"acm": 1/g' -i * sed -e 's/}\t"generic": 1/\t"generic": 1/g' -i * ``` Manually adjusted commas. Validated with ``` for f in `ls` ; do echo $f ; python -m json.tool < $f || break ; done ``` Thanks to @lynxis for pointing out the commas. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-04 13:16:00 +00:00
}
Reference in a new issue
Copy permalink