AT Command for 3G Module

From ESS-WIKI
Jump to: navigation, search
  • 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
  1. AT+CPIN? // Check PIN status, not necessary
  2. AT+CGDCONT? // query PDP context parameter, not necessary
  3. AT+CGDCONT=1,"IP","internet" //set PDP context parameter
  4. AT!GSTATUS? //query operational status
  5. AT!SCACT=1,1 //activate data connection. AT!SCACT=<state>,<pid>. state=1/0 means act/deactivate; pid=1 (UMTS: all network except Verizon)
  6. AT+CGPADDR //show PDP addres
  7. AT!SCACT=0,1 //de-activate data connection, only issue when needed
  • Open Terminal to check network status
  1. ifconfig wwwan0 up // bring wwan0 up
  2. dhclient wwan0 // enable DHCP protocol and assign IP address for wwan0
  3. dhclient -r wwan0 // disconnect by release current assigned IP address, only issue when needed