Voici plein d'essais des commandes AT
, testée avec le modem MC7304 sur la percepto.
ATI Manufacturer: Sierra Wireless, Incorporated Model: MC7304 Revision: SWI9X15C_05.05.58.00 r27038 carmd-fwbuild1 2015/03/04 21:30:23 IMEI: 356853052724095 IMEI SV: 18 FSN: J3625307860210 +GCAP: +CGSM,+FCLASS,+DS OK
AT&V &C: 2; &D: 2; &E: 0; &F: 0; &S: 0; &W: 0; E: 1; L: 0; M: 0; Q: 0; V: 1; X: 1; Z: 0; \Q: 3; \S: 0; \V: 0; O: 0; S0: 0; S2: 43; S3: 13; S4: 10; S5: 8; S6: 2; S7: 0; S8: 2; S9: 6; S10: 14; S11: 95; S30: 0; S103: 1; S104: 1; ^PREFMODE: 0; ^DSCI: 0; ^CPIN: ,; ^HSMSSS: 0,0,0,0 OK
ATD*99***1# CONNECT 100000000
Note: J'ai bloqué le modem et du redémarrer après?
AT+CPIN=1234
(note: 0 = pas de code pin, 1 = code pin demandé)
AT+CLCK="SC",2,"1234" +CLCK: 0 OK
AT+CLCK="SC",0,"1234" OK
AT+CLCK="SC",1,"1234" OK
Normalement :
AT#USERID="votreuserid"
Essais:
AT+USERID="votreuserid" ERROR AT#USERID="votreuserid" ERROR
AT#PASSW="base"
AT+CGMR SWI9X15C_05.05.58.00 r27038 carmd-fwbuild1 2015/03/04 21:30:23 OK
AT+CIMI 206201005793173 OK ===== get device IMEI ===== <code bash> AT+CGSN 356853052724095 OK
0 : low power mode 1 : online 4 : offline 6 : reset device 7 : turn off radio
AT+CFUN=1 OK
AT+CGMI Sierra Wireless, Incorporated OK
AT+CSQ +CSQ: 8,99 OK
AT+COPS=? +COPS: (2,"BASE","BASE","20620",0),(3,"BEL PROXIMUS","PROXI","20601",0),(3,"B mobistar","mobi*","20610",0),(3,"BEL PROXIMUS","PROXI","20601",2),,(0,1,2,3,4),(0,1,2) OK
ATZ1 ERROR ATZ0 OK
Exemple avec la commande AT+CSQ
lancée juste avant.
AT+CSQ +CSQ: 6,99 OK
A/ +CSQ: 6,99 OK
AT+CUSD=1,"USSD-Command"
Si ça ne marche pas, ajouter “,15” à la fin.
AT+CUSD=1,"USSD-Command",15
AT+CUSD=1,"*444*#",15 OK +CUSD: 0,"Bal = 15.00 Euro valid until 22/09/2017 ",15
Mode PDU :
AT+CMGF=0
Mode texte :
AT+CMGF=1 OK
Pour quitter l'édition du sms, il faut utiliser CTRL+Z
.
AT+CMGS="+32474834208" > Yop > +CMGS: 0 OK
AT+CMGL="ALL" +CMGL: 0,"REC UNREAD","+32474834208",,"16/10/03,14:55:26+08" Yip OK
(refaire la même commande avec “A/” pour voir que le message est à présent “lu”)
A/ +CMGL: 0,"REC READ","+32474834208",,"16/10/03,14:55:26+08" Yip OK
AT+CMGL="REC UNREAD" +CMGL: 1,"REC UNREAD","+32474834208",,"16/10/03,14:57:09+08" Yop OK
AT+CMGL="REC READ" +CMGL: 0,"REC READ","+32474834208",,"16/10/03,14:55:26+08" Yip +CMGL: 1,"REC READ","+32474834208",,"16/10/03,14:57:09+08" Yop OK
AT+CMGD=<index-du-message>
(voir messages précédents) : On supprime le sms qui a l'index “1” (message: Yop) :
AT+CMGD=1 OK
On vérifie :
AT+CMGL="ALL" +CMGL: 0,"REC READ","+32474834208",,"16/10/03,14:55:26+08" Yip OK
AT^HWVER Part=107 version=2.1 OK
AT^SYSINFO ^SYSINFO: 2,3,0,3,1 OK
AT!GRESET
OK
AT!BAND?
Index, Name
00, All Bands
OK
AT!GETRAT? !GETRAT: GSM OK
AT!GSTATUS? !GSTATUS: Current Time: 142 Temperature: 39 Bootup Time: 6 Mode: ONLINE System mode: WCDMA PS state: Not attached WCDMA band: WCDMA 2100 WCDMA channel: 10589 GMM (PS) state:DEREGISTERED NO IMSI MM (CS) state: IDLE NO IMSI WCDMA L1 state:L1M_PCH_SLEEP LAC: 1005 (4101) RRC state: DISCONNECTED Cell ID: 03FA6381 (66741121) RxM RSSI C0: -94 RxD RSSI C0: -106 RxM RSSI C1: -106 RxD RSSI C1: -106 OK
AT+CGDCONT=1,"IP","gprs.base.be" OK AT OK AT!GSTATUS? !GSTATUS: Current Time: 230 Temperature: 38 Bootup Time: 6 Mode: ONLINE System mode: GSM PS state: Not attached GSM band: GSM900 GSM channel: 75 GMM (PS) state:DEREGISTERED NO IMSI MM (CS) state: IDLE NO IMSI Serving cell: 2 (GSM 900 ) RX level (dBm):-89.8750 LAC: 1019 (4121) GPRS state: GPRS IDLE Cell ID: 0000B91D (47389) OK
AT!GSTATUS? !GSTATUS: Current Time: 15608 Temperature: 38 Bootup Time: 0 Mode: ONLINE System mode: GSM PS state: Attached GSM band: GSM900 GSM channel: 978 GMM (PS) state:REGISTERED NORMAL SERVICE MM (CS) state: IDLE NORMAL SERVICE Serving cell: 978 (GSM 900 ) RX level (dBm):-94.2500 LAC: 026D (621) GPRS state: GPRS STANDBY Cell ID: 000057B6 (22454) OK
AT!LTEINFO !LTEINFO: Not Available OK
AT^MODE?
^MODE : 1
OK
AT!GPSLOC?
Not Available
OK
AT!GPSPOSMODE=40 ERROR
AT!GPSSTATUS? Current time: 1980 01 06 6 04:49:23 1980 01 06 6 04:49:23 Last Fix Status = NONE 1980 01 06 6 04:49:23 Fix Session Status = NONE No TTFF available OK
AT+CPINR +CPINR: SIM PIN,3 +CPINR: SIM PUK,10 +CPINR: SIM PIN2,3 +CPINR: SIM PUK2,10 +CPINR: PH-FSIM PIN,255 +CPINR: PH-NET PIN,255 +CPINR: PH-NETSUB PIN,255 +CPINR: PH-SP PIN,255 +CPINR: PH-CORP PIN,255 +CPINR: PH-FSIM PUK,1 +CPINR: PH-NET PUK,1 +CPINR: PH-NETSUB PUK,1 +CPINR: PH-SP PUK,1 +CPINR: PH-CORP PUK,1 OK
AT+CPINR="SIM PIN" +CPINR: SIM PIN,3 OK
AT!ICCID? ICCID: 8932030000084344852 OK
AT!OSINFO?
OSName:
OSVersion:
OK
AT!HOSTDEVINFO?
HostMan:
HostMod:
HostSwV:
HostPlasmaID:
OK
AT*CNTI=? *CNTI: (0,1,2) OK
AT+CGEQMIN? +CGEQMIN: OK
AT+CGEQREQ? +CGEQREQ: OK
AT+CGDATA=? +CGDATA: ("PPP") OK
AT
, par exemple “AT+CSQ”.