EasyManua.ls Logo

Motorola g20 - Page 262

Motorola g20
352 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT Commands Reference
248 98-08901C68-O
at+MIPCALL=0 //The terminal hangs up the link
OK
4.15.2.2 +MIPOPEN, Open a Socket (UDP or TCP)
This command causes the g20 to initialize a new socket and open a connection with a remote side. Each socket allocates an
accumulating buffer whose size is 1500 bytes.
Set Command
Read Command
The Read command returns the number of sockets that can be opened.
Example
+MIPOPEN: 1 2 3 4 //All sockets closed
+MIPOPEN: 1 3 4 //Socket 2 opened
Test Command
Command Response/Action
+MIPOPEN= <Socket ID>, <Source
Port>, <Destination IP>,
<Destination Port>, <Protocol>
OK
+MIPOPEN: <Socket ID>,<State>
or:
ERROR: <err>
Command Response/Action
+MIPOPEN? +MIPOPEN:<SocketID>,<state>,<CR><LF>
For all ACTIVE sockets.
Command Response/Action
+MIPOPEN=? +MIPOPEN: (1-4),(0-65535),(<IP>),(0-65535),(0-1)

Table of Contents

Related product manuals