Commit e49fa190 authored by Florian Bruhin's avatar Florian Bruhin Committed by Jouke Witteveen
Browse files

Make it possible to pass a custom SYSCFG for mobile_ppp connections

parent e1fad0d7
......@@ -19,4 +19,5 @@ AccessPointName=apn
# Mode can be one of 3Gpref, 3Gonly, GPRSpref, GPRSonly, None
# These only work for Huawei USB modems; all other devices should use None
# If Mode is set to SYSCFG=..., a custom AT^SYSCFG line is sent instead.
......@@ -438,7 +438,8 @@ type:
This option is used to specify the connection mode. Can be one of
`3Gpref', `3Gonly', `GPRSpref', `GPRSonly', `None'. This generates
AT commands specific to certain Huawei modems; all other devices
should use `None'.
should use `None'. If `Mode` is set to `SYSCFG=...`, a custom
`AT^SYSCFG` line is sent instead.
An initialization string sent to the modem before dialing. This
......@@ -43,6 +43,8 @@ TIMEOUT 3
3Gpref) printf "\^SYSCFG=2,2,3fffffff,0,1";;
GPRSonly) printf "\^SYSCFG=13,1,3fffffff,0,0";;
GPRSpref) printf "\^SYSCFG=2,1,3fffffff,0,0";;
SYSCFG=*) printf "\^$Mode";;
# If set to "None", this is a no-op
${AccessPointName:+'OK-AT-OK' 'AT+CGDCONT=1,$(quote_word "IP"),$(quote_word "$AccessPointName")'}
'OK' 'ATDT${PhoneNumber:-*99#}'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment