9.15.1.5 +SOCKTLS

This command is used to enable TLS on a socket.

Security – Default Security for the command is: GGGG

Table 9-131. Command Syntax

Command

Description

Security

AT+SOCKTLS=<SOCK_ID>,<TLS_CONF>

Apply TLS configuration

GGGG

Table 9-132. Command Parameter Syntax

Parameter Name

Type

Description

<SOCK_ID>

Integer

The socket ID. Valid range is 1-65535

<TLS_CONF>

Integer

TLS certificate configuration

Table 9-133. Response Syntax

Response

Description

+SOCKTLS:<SOCK_ID>

TLS succeed

Table 9-134. Response Element Syntax

Element Name

Type

Description

<SOCK_ID>

Integer

The socket ID. Valid range is 1-65535