AT Command for 3G Module
From ESS-WIKI
- Brand Name
#atcommand -v /dev/ttyUSB2 -cmd AT+CGMI CMD:AT+CGMI Sierra Wireless, Incorporated
- Model Name
#atcommand -v /dev/ttyUSB2 -cmd AT+CGMM CMD:AT+CGMM MC7354
- FW Info
#atcommand -v /dev/ttyUSB2 -cmd AT+CGMR CMD:AT+CGMR SWI9X15C_05.05.16.03 r22385 carmd-fwbuild1 2014/06/04 15:01:26
- Serial Number
#atcommand -v /dev/ttyUSB2 -cmd AT+CGSN CMD:AT+CGSN 359225051496289
- MI
#atcommand -v /dev/ttyUSB2 -cmd AT+CIMI CMD:AT+CIMI 466014120016052
- CQ
#atcommand -v /dev/ttyUSB2 -cmd AT+CSQ CMD:AT+CSQ +CSQ:99,99
- Open minicom
- AT+CPIN? // Check PIN status, not necessary
- AT+CGDCONT? // query PDP context parameter, not necessary
- AT+CGDCONT=1,"IP","internet" //set PDP context parameter
- AT!GSTATUS? //query operational status
- AT!SCACT=1,1 //activate data connection. AT!SCACT=<state>,<pid>. state=1/0 means act/deactivate; pid=1 (UMTS: all network except Verizon)
- AT+CGPADDR //show PDP addres
- AT!SCACT=0,1 //de-activate data connection, only issue when needed
- Open Terminal to check network status
- ifconfig wwwan0 up // bring wwan0 up
- dhclient wwan0 // enable DHCP protocol and assign IP address for wwan0
- dhclient -r wwan0 // disconnect by release current assigned IP address, only issue when needed