AT Commands Phone Terminal Terminated
32
4.6.1 Commands
AT+CSCC
Secure Control Command
4.6.2 Use scenarios
Accessory Authentication
This use scenario consist of the following parts:
• The accessory requests a challenge token for command set ‘199’. (Ericsson accessories command set).
• The phone returns the challenge parameter.
• The accessory inputs challenge parameter to authentication algorithm and gets a token.
• Accessory enables command set ‘199’ with the calculated token.
• Phone compares the received token with calculated and responds
OK
if they are equal, or
ERROR
if they are
not equal.
4.6 Ensemble C22: Accessory Authentication
Description:
This command is used for authentication of accessories.
Set command:
AT+CSCC=
<mode>,<cmd_set>[,<token>]
Set command reCSCC:
<challenge>
Read command:
AT+CSCC?
Displays the current <mode>, <cmd_set>, and <token> settings.
Note:
If the set command has not been executed before the read command is executed,
the read command returns "OK"
Test command:
AT+CSCC=?
Shows if the command is supported.
Test command
response:
+CSCC: (list of supported <mode>s),(list of supported <cmd_set>s)
Parameters:
<mode>:
<mode>
Description
1
Request challenge token to enable access to specified
command set (<token> not used>)
2
Enable access to specified command set (<token> required)
<cmd_set>:
<cmd_set>
Description
0-127
Reserved by ETSI
128-198
Reserved for future use
199
Command set for Ericsson accessories for 3 volt platform
200-255
Reserved for future use
<token>:
1-byte IRA string. 1-byte token from the authentication algorithm.
<challenge>:
1 byte to be converted into a token by the authentication algorithm.
AT command
Response
Comment
AT+CSCC=1,199
Step 1