Вот что я получаю, когда запускаю команду AT^STGI:
AT^STGI=3,1
^STGI:"456E74657220796F75722050494E",4,2,0,0,4,6,0
Текст гласит: «Введите свой PIN-код:»
Из руководства Huawei (Спецификация командного интерфейса AT беспроводного модуля серии HUAWEI MG323.PDF) — стр. 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)
Я попробовал обе эти строки ниже, но пока не повезло. PIN-код 1234, первая строка 1234 в ASCI, вторая строка шестнадцатеричная.
AT^STGR=3,1,4,1234
AT^STGR=3,1,4,31323334
Синтаксис STGR со страницы 266 говорит
4 = "Get Input" reported by SIM card is supported by MT.
<Data>: indicates that includes the characters input by user.
Любая помощь высоко ценится. Заранее спасибо.
AT^STGR=3,1,4,"1234"
. - person hlovdal   schedule 19.06.2016Parameter Values in the Response When CmdType=3 (Get Input) <CmdIndex>: it is consistent with <CmdIndex> reported by the ^STIN command. <Result>: 0: The user terminated the session. 1: The command is executed successfully. 2: The help information required by the user. 4: "Get Input" reported by SIM card is supported by MT. <Data>: indicates that includes the characters input by user.
- person Azmeer   schedule 20.06.2016