9.15.1.9 +SOCKRDBUF

This command is used to read data from a socket buffer

Security – Default Security for the command is: GGGG

Table 9-155. Command Syntax

Command

Description

Security

AT+SOCKRDBUF=<SOCK_ID>,<OUTPUT_MODE>,<LENGTH>

Socket read

GGGG

Table 9-156. Command Parameter Syntax

Parameter Name

Type

Description

<SOCK_ID>

Integer

The socket ID. Valid range is 1-65535

<OUTPUT_MODE>

Integer

The format the DTE wishes to receive the data
  • 1 – ASCII or hex string
  • 2 – Binary

<LENGTH>

Integer

The number of bytes the DTE wishes to read