LISA-C200 & FW75-C200
AT commands examples - Application Note
CDMA-CS-12000
Preliminary
Page 15 of 41
Second scenario: Network coverage lost after AT+USOWR command, binary mode
Command
Response
Description
AT+CMEE=2
OK
Set verbose error messages
AT+CREG=1
OK
+CREG=1 enables the URC notification for terminal
registration
AT+USOCR=6
+USOCR:18
OK
+USOCR=6 creates a TCP socket, the response is that
a Socket 18 was created.
at+usoco=18,"108.217.247.74",
1505
OK
Connect socket 18 to the port 1505 of the IP address
108.217.247.74
AT+USOWR=18,15
@
Request to write 15 bytes of information into socket
18, the @ prompt sign is returned allowing the user to
enter the characters.
Test number 001
After the @ sign, the user can start typing the
message, the message will be truncated at the length
specified at the +USOWR command.
+CREG:4145,7,0
OK
The +CREG URC is reported with the last digit
showing the terminal isn’t registered to the current
network
+CREG:4145,7,1
OK
A new +CREG URC is reported back, showing the
terminal has re-acquired CDMA coverage and is now
back in service.
+USOWR:18,15
OK
The new +USOWR URC is reported back, this time
showing the 15 earlier characters were successfully
written into TCP Socket 18.
Third scenario: Network coverage lost during AT+USOWR command, binary mode
Command
Response
Description
AT+CMEE=2
OK
Set verbose error messages
AT+CREG=1
OK
+CREG=1 enables the URC notification for terminal
registration
AT+USOCR=6
+USOCR:19
OK
+USOCR=6 creates a TCP socket, the response is a
Socket 19 was created.
at+usoco=19,"108.217.247.74",
1505
OK
Connect socket 19 to the port 1505 of the IP address
108.217.247.74
AT+USOWR=19,120
@
Request to write 120 bytes of information into socket
19, the @ prompt sign is returned allowing the user to
enter the characters.
qwertqwertqwertqwertqwertqwer
tqwertqwertqwertqwertqwertqwe
rtqwertqwert
After the @ prompt sign, the user can start typing the
message.
+CREG:4145,7,0
OK
The +CREG URC is reported with the last digit
showing the terminal isn’t registered to the current
network
qwertqwertqwertqwertqwertqwer
tqwertqwertqwertqwert
The user can still keep writing the message into the
terminal emulator. The message will be truncated at
the length specified in the +USOWR command.
+CREG:4145,7,1
OK
A new +CREG URC is reported back, showing the
terminal has re-acquired CDMA coverage and is now
back into CDMA service.
+USOWR:19,120
OK
The new +USOWR URC is reported back, this time
showing the total amount of characters were
successfully written into TCP Socket 19.