This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
openwrt
mirror of
git://git.openwrt.org/openwrt/openwrt.git
Watch
1
Star
0
Fork
You've already forked openwrt
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
555c592304
openwrt
/
package
/
network
/
utils
/
wwan
/
files
/
data
/
12d1-14cb
6 lines
55 B
Plaintext
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 K4510",
"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
}