Huawei Set Modem Mode 3G/GPRS

To set the operating mode of Huawei 3G sticks, use these AT commands
(at your own risk). Apparently the setting is saved and used in the
future as well.

Any : AT^SYSCFG=2,0,3FFFFFFF,2,4
2G only : AT^SYSCFG=13,1,3FFFFFFF,2,4
3G only : AT^SYSCFG=14,2,3FFFFFFF,2,4
2G preferred : AT^SYSCFG=2,1,3FFFFFFF,2,4
3G preferred : AT^SYSCFG=2,2,3FFFFFFF,2,4

To set the band used, you could use these:

Any band: 3FFFFFFF
EGSM(900): 00000100
DCS(1800): 00000080
PCS(1900): 00200000
GSM850: 00080000
WCDMA2100: 00400000

On Mac OS X, you can use

screen /dev/tty.HUAWEIMobile-Modem

You can use Ctrl-a k to terminate screen.

AT^SYSCFG Huawey command reference

To see the supported values, you can query your own modem sending the “AT^SYSCFG=?” command.

AT^SYSCFG=$mode,$acqOrder,$band,$roam,$srvDomain

$mode
2=Auto-Select
13=GSM only
14=WCDMA only
16=no Change

$acqOrder
0=Automatic
1=GSM prefered
2=WCDMA prefered
3=no Change

$band
3fffffff = All
other (query list with “AT^SYSCFG=?”)

$roam
0=Not Supported
1=Supported
2=no Change

$srvDomain
0=Circuit-Switched only
1=Packet-Switched only
2=Circuit- & Packet-Switched
3=Any
4=no Change

/etc/ppp/chatscripts/mode.3G-only

AT\^SYSCFG=14,2,3fffffff,0,1

/etc/ppp/chatscripts/mode.3G-pref

AT^SYSCFG=2,2,3fffffff,0,1

/etc/ppp/chatscripts/mode.GPRS-only

AT\^SYSCFG=13,1,3fffffff,0,0

/etc/ppp/chatscripts/mode.GPRS-pref

AT\^SYSCFG=2,1,3fffffff,0,0

/etc/ppp/chatscripts/mode.NONE

AT

, , , , , , ,

One Response to Huawei Set Modem Mode 3G/GPRS

  1. Peter Wippermann August 18, 2016 at 11:30 am #

    If anybody’s looking for a step-by-step tutorial to get to the point to apply these commands, I documented them here: https://devallthethings.wordpress.com/2016/08/18/fix-busy-line-bug-of-huawei-e5330-without-switchprojectmode-html/

Leave a Reply

*

Powered by recycled bites and bytes.