Electronics Projects, Circuit Diagrams

Electronic Circuits Design of Electronics Projects

Circuite electronice, scheme si montaje

Author Topic: AT commands for Huawei modems ( microsd problem)  (Read 42354 times)

Offline eltech

  • Administrator
  • Sr. Member
  • *****
  • Posts: 302
  • Rating: 4
    • Electroniq.net
AT commands for Huawei modems ( microsd problem)
« on: August 30, 2009, 05:37:55 PM »
Can someone help with some AT commands for Huawei modems .
The microsd memory card is not recognize by the modem  .
I  used some some commands like at^u2diag=0 and  at^u2diag=1 to enable and disable the USB MASS STORAGE DEVICES  but is not working .
Other AT commands supported by the Huawei USB modem are :
Code: [Select]
+CLAC:&C,&D,&E,&F,&S,&V,&W,E,I,L,M,Q,V,X,Z,T,P,\Q,\S,\V,%V,D,A,H,O,S0,S2,S3,S4,S
5,S6,S7,S8,S9,S10,S11,S30,S103,S104,+FCLASS,+ICF,+IFC,+IPR,+GMI,+GMM,+GMR,+GCAP,
+GSN,+DR,+DS,+WS46,+CLAC,+CCLK,+CBST,+CRLP,+CV120,+CHSN,+CSSN,+CREG,+CGREG,+CFUN
,+GCAP,+CSCS,+CSTA,+CR,+CEER,+CRC,+CMEE,+CGDCONT,+CGDSCONT,+CGTFT,+CGEQREQ,+CGEQ
MIN,+CGQREQ,+CGQMIN,+CGEQNEG,+CGEREP,+CGPADDR,+CGCLASS,+CGSMS,+CSMS,+CMGF,+CSAS,
+CRES,+CSCA,+CSMP,+CSDH,+CSCB,+FDD,+FAR,+FCL,+FIT,+ES,+ESA,+CMOD,+CVHU,+CGDATA,+
CSQ,+CBC,+CPAS,+CPIN,+CMEC,+CKPD,+CGATT,+CGACT,+CGCMOD,+CPBS,+CPBR,+CPBF,+CPBW,+
CPMS,+CNMI,+CMGL,+CMGR,+CMGS,+CMSS,+CMGW,+CMGD,+CMGC,+CNMA,+CMMS,+FTS,+FRS,+FTH,
+FRH,+FTM,+FRM,+CHUP,+CC
I think that maybe is required a firmware update .

Offline eltech

  • Administrator
  • Sr. Member
  • *****
  • Posts: 302
  • Rating: 4
    • Electroniq.net
Re: AT commands for Huawei modems ( microsd problem)
« Reply #1 on: September 06, 2009, 07:21:24 PM »
I think that is needed to upgrade firmware but i can't find it .
I found some interesting AT commands for Huawei modems that can enable or disable some features using AT^U2DIAG=n command .
The n is the number of command , M = modem , CD = CD-rom drive  , SD= microsd drive ,UI=PC UI interface , N=network adaptor ,SC=smartcard.

n   M   CD   SD   UI   N   SC   remarks   supported by   not supported by
0   +         +               
1   +   +                     
3   +         +      +   won't work on devices without SC*      
5      +      +   +      won't work on devices without N*      
9      +         +   +   won't work on devices without N & SC*      
10   +   +            +   won't work on devices without SC*      
12      +      +   +      won't work on devices without N*      
255   +   +   +   +   ?   ?   reset to factory defaults   K3715, E160E   E176
256   +      +   +         for most devices: everything enabled except for flashmemory, microSD-drive will be available under Windows even without drivers installed   K3715, E160E   E176
257   +   +   +                  
259   +      +   +      +   won't work on devices without SC*   E176   
261      +   +      +   +   won't work on devices without N & SC*      
265      +   +      +   +   won't work on devices without N & SC*      
266   +   +   +         +   won't work on devices without SC*      
267      +   +      +      won't work on devices without N*      
268      +   +   +   +      won't work on devices without N*      

Offline eltech

  • Administrator
  • Sr. Member
  • *****
  • Posts: 302
  • Rating: 4
    • Electroniq.net
Re: AT commands for Huawei modems ( microsd problem)
« Reply #2 on: September 10, 2009, 03:29:44 PM »
I solve the problem with At^U2DIAG=267 ( modem is Huawei E169 / K3520 ) .
This commands work but maybe not for all type of Huawei modems  and the effect maybe is not the same  on all devices .

Offline rromcic

  • Newbie
  • *
  • Posts: 3
  • Rating: 0
Re: AT commands for Huawei modems ( microsd problem)
« Reply #3 on: September 26, 2009, 11:04:25 AM »
Help me please :(

I change my modem E180 with AT command AT^U2DIAG=0 in only modem mode, but i need to restore CD
AT^U2DIAG=255 not work

i type

AT^U2DIAG=267 my modem is switch in network card mode

How to restore in modem mode :((((

Offline eltech

  • Administrator
  • Sr. Member
  • *****
  • Posts: 302
  • Rating: 4
    • Electroniq.net
Re: AT commands for Huawei modems ( microsd problem)
« Reply #4 on: September 26, 2009, 06:21:47 PM »
AT^U2DIAG=0 is to disable CD
AT^U2DIAG=1 is to enable CD
Try AT^U2DIAG=255
To disable the network card try to connect to modem using Hyper Terminal on serial port number where is connect the Huawei modem .
If you don't receive Ok after you send the AT command restart the computer (unplug the modem ) .
If you can't type the commands in the Hyper Terminal window copy command and paste to host .
Send the AT commands to modem even if you don't receive OK response .
This commands works but not in the same way for all types of Huawei modems .

Offline rromcic

  • Newbie
  • *
  • Posts: 3
  • Rating: 0
Re: AT commands for Huawei modems ( microsd problem)
« Reply #5 on: September 27, 2009, 12:17:59 PM »
To disable the network card try to connect to modem using Hyper Terminal on serial port number where is connect the Huawei modem .

Hyper terminal work only on modem (serial port), my huawei is switch as network card (no serial port) :(