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-143. Command Syntax

Command

Description

Security

AT+SOCKTLS=<SOCK_ID>,<TLS_CONF>

Apply TLS configuration

GGGG

Table 9-144. 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-145. Response Syntax

Response

Description

+SOCKTLS:<SOCK_ID>

TLS succeed

Table 9-146. Response Element Syntax

Element Name

Type

Description

<SOCK_ID>

Integer

The socket ID. Valid range is 1-65535