Request
Response
AT+getSockOpt=[socketID],[level],[option]
+getSockOpt:[value1],...[valueX] or error
Arguments:
socketID: socket descriptor
level : SOCKET or IP
option : see table
and
timeout usec: Time in microseconds
Table 48: AT+getSockOpt
8.4.5. Socket data exchange
Once a socket is created and set up the data transfer can be done using send and receive
commands using the commands described in this section.
Request
Response
AT+recv=[socketID], [format], [length]
+recv:[socketID], [length],[data]
or error
Arguments:
socketID : socket descriptor
format : data format 0=binary, 1=base64 (binary to
text encoding)
length : Max number of bytes to receive
Table 49: AT+recv
The module allocates memory for data reception, depending on the length field
of the receive command. If not enough memory can be allocated an error is
returned. We recommend to use a maximum length field of 1460.
Calypso reference manual version 1.2
© April 2019
www.we-online.com/wireless-connectivity
54