What is the proper Huawei AT-command for STK to enter data

1k Views Asked by At

This is what I get when I run AT^STGI command:

AT^STGI=3,1    
^STGI:"456E74657220796F75722050494E",4,2,0,0,4,6,0

The text says "Enter your PIN:"

From Huawei Manual (HUAWEI MG323 Series Wireless Module AT Command Interface Specification.PDF) - page 260

4 = (text code) 8-bit coding    
2 = (rspFormat) Digits (0-9, *, #, +)    
0 = (PackMode) Uncompressed mode    
0 = (EchoMode) disable    
4 = (size min)    
6 = (size max)    
0 = (help info)

I tried both these lines below but NO luck so far. PIN is 1234, the first line is 1234 in ASCI, second line is hex.

AT^STGR=3,1,4,1234
AT^STGR=3,1,4,31323334

STGR syntax from page 266 says

4 = "Get Input" reported by SIM card is supported by MT.
<Data>: indicates that includes the characters input by user.

Any help is highly appreciated. Thanks in advance.

1

There are 1 best solutions below

0
On

Found the answer: you need to press CTRL+Z at the end.