u-blox EVK-R4 Series User Manual page 25

Cellular evaluation kits
Table of Contents

Advertisement

C.3 Opening a UDP socket
Command sent by DTE (user)
AT+CMEE=2
AT+CGATT?
AT+CEREG?
AT+COPS=0
AT+COPS?
AT+USOCR=17
AT+USOST=0,"195.34.89.241",
7,13,"TestNumberOne"
AT+USORF=0,13
AT+USOCL=0
UBX-16029216 - R07
C1-Public
DCE response (module)
OK
+CGATT: 1
OK
+CEREG: 0,1
OK
OK
+COPS: 0,0,"Verizon
Wireless",7
OK
+USOCR: 0
OK
+USOST: 0,13
OK
+UUSORF: 0,13
+USORF: 0,"195.34.89.241"
,7,13,"TestNumberOne"
OK
OK
Appendix
Description
Enables the cellular module to report verbose error result
codes.
Verifies the SARA-R4 module is attached to the network.
Verify the network registration status.
Register the module on the network.
The cellular module automatically registers itself on the
cellular network. This command is necessary only if the
automatic registration failed (AT+CEREG? returns 0,0).
Read the operator name and radio access technology
(RAT).
Create a UDP socket.
Connecting and storing text on the server.
Echo server returning the message.
Reading the message from the server.
Closing the socket.
EVK-R4 - User guide
Page 25 of 31

Advertisement

Table of Contents
loading

Table of Contents