GSM-Forum

GSM-Forum (https://forum.gsmhosting.com/vbb/)
-   GSM Programming & Reverse Engineering (https://forum.gsmhosting.com/vbb/f83/)
-   -   [HELP] Huawei AT Commands (https://forum.gsmhosting.com/vbb/f83/help-huawei-commands-965054/)

arvie 03-30-2010 13:34

[HELP] Huawei AT Commands
 
what is the AT Commands for:
1. Verifying if modem is lock or unlocked?
2. Sending unlock codes.
3. locking modems?
4. number of unlock trial attempts.
5. reset attempts counter <-- kahit ito na lang :D

I read the sticky thread about serial ports..
my modem is unlocked.. so i dont know if the command works..

fr3nsis 03-30-2010 13:50

1)with unaccepted sim
-> AT^CARDLOCK?
<-^CARDLOCK: 1,10,0 ............ locked
<-^CARDLOCK: 2,10,0 ............ unlocked

2)->AT^CARDLOCK="11111111" where 11111111 is code
<- OK
<- ERROR

3)i dont know
4)i dont know maybe just sniff other tool
5)i dont know maybe just sniff other tool

sergeymkl 03-30-2010 13:56

4. second number of reply to CARDLOCK inquiry.

Gehstock 03-30-2010 14:16

AT^CARDUNLOCK="NCK Code" ---> Counter Reset???

arvie 03-30-2010 14:29

Quote:

Originally Posted by fr3nsis (Post 5644801)
1)with unaccepted sim
-> AT^CARDLOCK?
<-^CARDLOCK: 1,10,0 ............ locked
<-^CARDLOCK: 2,10,0 ............ unlocked

Quote:

Originally Posted by sergeymkl (Post 5644818)
4. second number of reply to CARDLOCK inquiry.

<-^CARDLOCK: 1,10,0 ............ locked
<-^CARDLOCK: 2,10,0 ............ unlocked
<-^CARDLOCK: A,B,C ............
A = is to verify if locked or unlocked
B = attempts left? or total given attempts?
C = is for?


Quote:

Originally Posted by Gehstock (Post 5644903)
AT^CARDUNLOCK="NCK Code" ---> Counter Reset???

you want to say is..
if the modem is unlocked.. the counter is reset. :)

fr3nsis 03-30-2010 14:35

i dont have huawei modem for test , but using zte this are sniff for huawei reser counter

AT+CGSN<CR> [len=8]
<LF>
<CR> [len=3]
<LF>AT+CGSN<CR> [len=8]
<CR>[len=0]
<LF>358066025153304<CR> [len=16]
<LF><CR> [len=1]
<LF>OK
AT^CARDUNLOCK="bddca6434df67ee438cc790e9774319b"<C R> [len=49]
<LF>
<CR> [len=3]
<LF><CR> [len=1]
<LF>+ZUSIMR:2<CR> [len=10]
<LF>AT^CARDUNLOCK="bddca6434df67ee438cc790e9774319 b"<CR> [len=49]
<CR>[len=0]
<LF>ERROR
AT^SIMLOCK=2<CR> [len=13]
<LF>
<CR> [len=6]
<LF>AT^SIMLOCK=2<CR> [len=13]
<CR>[len=0]
<LF>ERROR
AT^CARDLOCK="59936818"<CR> [len=23]
<LF>
<CR> [len=6]
<LF>AT^CARDLOCK="59936818"<CR> [len=23]
<CR>[len=0]
<LF>ERROR
AT+CLCK="PN",0,"59936818"<CR> [len=26]
<LF>
<CR> [len=6]
<LF>AT+CLCK="PN",0,"59936818"<CR> [len=26]
<CR>[len=0]
<LF>+CME ERROR
AT^SIMLOCK=2<CR> [len=13]
<LF>
: phone failure<CR> [len=26]
<LF>AT^SIMLOCK=2<CR> [len=13]
<CR>[len=0]
<LF>ERROR

fr3nsis 03-30-2010 14:57

here is more readable .... on yellow sended frames

http://img714.imageshack.us/img714/7258/81950978.jpg

Gehstock 03-30-2010 15:06

Ah AT^CARDUNLOCK="HASH"

arvie 03-30-2010 16:49

Quote:

Originally Posted by fr3nsis (Post 5645060)
here is more readable .... on yellow sended frames

http://img714.imageshack.us/img714/7258/81950978.jpg

ERRORs?

AT^CARDUNLOCK="bddca6434df67ee438cc790e9774319b"<C R> [len=49] <-- COnstant values? :D

fr3nsis 03-30-2010 16:53

99,99% no

errors because is zte modem ... i dont have huawei

mustipusti 03-30-2010 19:17

wtf i get this
Quote:

Reading...
AT^CARDLOCK?

^CARDLOCK: 3,0,0
OK
?? what is cardlock:3???
it is a huawei E160G from t-mobile

fr3nsis 03-30-2010 19:45

if you know russian mybe this can help

LINK

platforms 03-30-2010 22:22

What about relocking it to a prefered provider?

arvie 03-30-2010 23:43

sir fr3nsis..
the yellow are the inputs?

dr_aybyd 03-31-2010 08:35

@arvie

yup the yellow colors are the inputs

-> AT^CARDLOCK?
<-^CARDLOCK: 1,10,0 ............ locked
<-^CARDLOCK: 2,10,0 ............ unlocked


See the blue color. If reply is 1 means lockec to that sim present.
if reply is 2 means unlocked to that present sim.


All times are GMT +1. The time now is 04:37.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -

Page generated in 0.14536 seconds with 7 queries

SEO by vBSEO