9.17.1.1 +TLSC

This command is used to read or set the TLS configuration. This command is a configuration command which supports setting and getting parameter values. The behaviour of configuration commands is described in general in the 9.2.3 Configuration Commands section.

Security – Default Security for the command is: GGGG

Table 9-174. Command Syntax

Command

Description

Security

AT+TLSC

Query configuration list

GGGG

AT+TLSC=<CONF>

Query all configuration elements

GGGG

AT+TLSC=<CONF>,<ID>

Query a single element

GGGG

AT+TLSC=<CONF>,<ID>,<VAL>

Set a single element

GGGG

Table 9-175. Command Parameter Syntax

Parameter Name

Type

Description

<CONF>

Integer

Configuration number

<ID>

Integer

Parameter ID number

<VAL>

Integer String Byte Array

Parameter value

Table 9-176. Response Syntax

Response

Description

+TLSC:<CONF>,<CONF>

List response

+TLSC:<ID>,<VAL>

Read response

Table 9-177. Response Element Syntax

Element Name

Type

Description

<CONF>

Integer

Configuration number

<ID>

Integer

Parameter ID number

<VAL>

Any

Parameter value

Table 9-178. Configuration Parameters

ID

Name

Type

Description

Security

1

<CA_CERT_NAME>

String

CA certificate name Maximum length is 32

GGGG

2

<CERT_NAME>

String

Certificate name Maximum length is 32

GGGG

3

<PRI_KEY_NAME>

String

Private key name Maximum length is 32

GGGG

4

<PRI_KEY_PASSWORD>

String

Private key password Maximum length is 32

GGGG

5

<SERVER_NAME>

String

Server name Maximum length is 32

GGGG

6

<DOMAIN_NAME>

String

Domain name Maximum length is 32

GGGG

7

<CIPHER_SUITES_IDX>

Integer

Cipher suite index. Valid range is 1-2

GGGG