BGS2T AT Command Set
14.7 AT^SXSM
BGS2T_ATC_V01.301 Page 416 of 554 1/31/12
c
Status information from the SIM about the execution of the actual command. It is returned in both cases, on suc-
cessful or failed execution of the command.
0...255
Status information from the SIM about the execution of the actual command. It is returned in both cases, on suc-
cessful or failed execution of the command.
0...255
Response in case of a successful completion of the previously issued SIM command.
If <command>=136 (RUN GSM ALGORITHM):
BGS2T returns SRES and cipher key Kc as calculated by the SIM.
Example
Use <comman
d>=136 (RUN GSM ALGORITHM) to obtain SRES and cipher key Kc values as calculated by the
SIM.
<sw1>
(num)
<sw2>
(num)
<response>
(str)
Byte(s) Description Length
1 - 4 SRES - Signed RESponse 4
5 - 12 Kc - Cipher Key 8
at^sxsm=136,,0,0,16,"0011223
3445566778899AABBCCDDEEFF"
Start SIM command "RUN GSM ALGORITHM" with 16 byte random
number.
^SXSM:
144,0,00112233445566778899AA
BB
SRES (bytes 1-4) and Cypher Key Kc (bytes 5-12) values as returned
by the SIM.
OK