LISA-C200 & FW75-C200
AT commands examples - Application Note
CDMA-CS-12000
Preliminary
Page 20 of 41
Command
Response
Description
main
+USOST: 108,4
OK
Write data bytes.
It is not possible to write fewer bytes than the
number specified with AT+USOWR.
If more bytes are written than specified in the
threshold, the remaining bytes will be truncated.
The interface is blocked until all bytes are
written.
If the command response is returned, then the data is
sent to lower level of protocol stack.
This is not an acknowledgment received from
the remote host confirming the data was
received.
at+usocl=108
OK
Closing the socket.
6.2
Socket Read (+USORF)
Command
Response
Description
AT+CMEE=2
OK
Set verbose error messages
AT+USOCR=17
+USOCR:18
OK
A UDP socket has been created (#18)
+UUSORF: 18,15
The URC +UUSORF notifies that there is a packet of
15 bytes ready to be read in socket #18.
AT+USORF=18,15
+USORF:
18,"108.217.247.74",220,15,"0
123456789qwert"
OK
A request to read 15 characters of data to socket #18
is sent.
The command response indicates:
Read socket identifier (#18)
Remote IP address
Remote UDP port
Number of read data bytes
Read data bytes (between quotation marks)
AT+USOCL=18
OK
Closing the UDP socket, terminal goes back to idle
state
For UDP Socket implementation it is highly recommended to use AT coUSOST and +USORF
instead of +USOCO, +USOWR and +USORD.
6.3
Direct Link (+USODL)
6.3.1
Enter and exit from Direct Link Mode
Command
Response
Description
AT+CMEE=2
OK
Set verbose error messages
AT+USOCR=17
+USOCR:18
OK
A UDP socket has been created (#18)
AT+USOCO=18,"108.217.247.74",1
500
OK
A socket connection is made to the IP Address
108.217.247.74 port 1500
AT+USODL=18
CONNECT
With this command, a Direct Link Socket connection is
established, the URC confirms the connection.
1234567890
qwerty
1234567890
qwerty
The prompt stays idle waiting for information, in this
case, the user entered characters and the terminal
emulator showed the characters back.