9.15.1.10 +SOCKCL

This command is used to close a socket.

Security – Default Security for the command is: GGGG

Table 9-145. Command Syntax

Command

Description

Security

AT+SOCKCL=<SOCK_ID>

Close socket

GGGG

Table 9-146. Command Parameter Syntax

Parameter Name

Type

Description

<SOCK_ID>

Integer

The socket ID. Valid range is 1-65535

Table 9-147. Response Syntax

Response

Description

+SOCKCL:<SOCK_ID>

Socket close response

Table 9-148. Response Element Syntax

Element Name

Type

Description

<SOCK_ID>

Integer

The socket ID. Valid range is 1-65535