====== Connexion à un modem 3G via Minicom, exemple Proximus ======
pi@raspberrypi(rw):~$ sudo minicom ttyUSB2
Bienvenue avec minicom 2.7
OPTIONS: I18n
Compilé le Jan 12 2014, 05:42:53.
Port /dev/ttyUSB2, 19:07:44
Tapez CTRL-A Z pour voir l'aide concernant les touches spéciales
ATZ
OK
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Connecté 0:0 | ttyUSB2
ATI
Manufacturer:
Model: +CGMM: DWM-221
Revision: 2.3.2
IMEI: 353880061962187
+GCAP: +CGSM,+FCLASS,+DS
OK
Mettre le code pin (1234 n'est pas mon vrai code...) :
AT+CPIN=0000
+CME ERROR: incorrect password
AT+CPIN=1234
OK
Ne plus demander le code pin dans le futur pour se connecter :
AT+CLCK="SC",0,"1234"
OK
Réactiver la demande du code pin :
AT+CLCK="SC",1,"1234"
OK
Voir si la demande du code pin est activée (''CLCK: 1'') ou désactivée (''CLCK: 0'') :
AT+CLCK="SC",2
+CLCK: 0
Force du signal (5 à 22) :
AT+CSQ
+CSQ: 15,99
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: 0; Z: 0; \Q: 3; \S: 0; \V: 0; O: 0; S0: 0; S2: 43; S3: 13; S4: 10;
S5: 8; S6: 2; S7: 50; S8: 2; S9: 6; S10: 14; S11: 95; S30: 0; S103: 1;
S104: 1; +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0;
+DS: 0,0,2048,6; +CMEE: 2; +WS46: 12; +CFUN:; +BMSETCUSTVER: ;
+BMEFSVER: ; +BMCGMR: 1158590976; +BMGMI: 1158590968; +QCGMI: 1158590968;
+BMGMM: 1158590960; +QCGMM: 1158590960; +BMCALLEN: 0; +BMMODODR: 2;
+BMSN: ""; +QCSN: ""; +BMIMEI: 1158590936; +QCIMEI: 1158590936;
+BMESN: 1158590928; +BMMEID: 1158590920; +BMTFLAG: ; +BMCK: 1158590912;
+BMPCMLOOP: 0; +CBST: 0,0,1;
+CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
+CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0; +CGREG: 0;
+CEREG: 0; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0;
+CGDCONT: (1,"IPV4V6","","0.0.0.0",0,0); +CGDSCONT: ; +CGTFT: ;
+CGEQREQ: ; +CGEQMIN: ; +CGEQOS: ; +CGQREQ: ; +CGQMIN: ; +CGEREP: 0,0;
+CGDATA: "PPP"; +CGCLASS: "A"; +CGPIAF: 0,0,0,0; +CGSMS: 1; +CSMS: 0;
+CMGF: 0; +CSAS: 0; +CRES: 0; +CSCA: "+32475161616",145; +CSMP: ,,0,0;
+CSDH: 0; +CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
+ESA: 0,,,,0,0,255,; +CMOD: 0; +CEMODE: 0; +CVHU: 1; +CPIN: ,;
+CMEC: 0,0,0,0; +CIND: 0,2,1,1,0,0,1,2; +CMER: 0,0,0,0,0; +CGATT: 1;
+CGACT(1,4); +CPBS: "ME"; +CPMS: "ME","ME","ME"; +CNMI: 0,0,0,0,0;
+CMMS: 0; +FTS: 0; +FRS: 0; +FTH: 3; +FRH: 3; +FTM: 96; +FRM: 96;
+CCUG: 0,0,0; +COPS: 0,0,""; +CUSD: 0; +CAOC: 1; +CCWA: 0; +CCLK: "";
+CPOL: 0,2,"",0,0,0,0; +CPLS: 0; +CTZR: 0; +CTZU: 0; +CLIP: 0; +COLP: 0;
+CDIP: 0; +CLIR: 0; +CSDF: 1; +CEN: 0; +EB: 1,0,30; +EFCS: 1; +ER: 0;
+ESR: 1; +ETBM: 1,1,20; +MA: ; +MR: 0; +MS: ; +MV18R: 0; +MV18S: 0,0,0;
+CXT: 0; +CDR: 0; +CDS: 0,1,2048,6; +CFC: 0; +CFG: ""; +CQD: 10;
+CCRC: 0; +QCMUX: C,2; +CRM: 0; +CTA: 30; +ILRR: 0; +QCPIN: ,; +FAA: 0;
+FAP: 0,0,0; +FBO: 0; +FBU: 0; +FCQ: 1,0; +FCC: 0,1,0,0,0,0,0,0; +FCR: 0;
+FCT: 1E; +FEA: 0; +FFC: 0,0,0,0; +FHS: 0; +FIE: 0; +FIP: 0;
+FIS: 0,1,0,0,0,0,0,0; +FLI: ""; +FLO: 1; +FLP: 0; +FMS: 0;
+FNR: 0,0,0,0; +FNS: ""; +FPA: ""; +FPI: ""; +FPP: 0; +FPR: 8; +FPS: 1;
+FPW: ""; +FRQ: 0,0; +FRY: 0; +FSA: ""; +FSP: 0; *CNTI: 0; ^PREFMODE: 0;
^DSCI: 0; ^CPIN: ,
OK