EasyManua.ls Logo

Motorola g20 - Table 129. +MIPOPEN Parameters

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...
98-08901C68-O 249
AT Commands Reference
The following table shows the +MIPOPEN parameters.
Example
at+MIPOPEN=1,12,123.343.444.332,234,0 //Opening socket 1, using TCP protocol, from port 12 targeting
123.343.444.332 port 234
+MIPOPEN: 1,1
+MIPOPEN=2,23,123.333.474.392,242,1//Opening socket 2, using UDP protocol, from port 12 targeting 123.343.444.332
port 234
+MIPOPEN: 2,1
at+MIPOPEN: //Invalid command
ERROR
Table 129. +MIPOPEN Parameters
<Parameter> Description
Socket ID A unique number that identifies a connection (provided by
the terminal application).
0 Invalid socket number
1,2,3,4 Valid socket number
Source Port Air network GPRS/GSM (provided by the terminal
application)
Port range 0-FFFF (hexadecimal digits)
Destination IP IP of the destination site in the format AAA.BBB.CCC.DDD.
The range of each octant is 0-255. The value can be
written in 1, 2, or 3 digits.
Destination Port Port of destination site.
Port range: 0-65535 (decimal digits)
Protocol Type of protocol stack.
0TCP
1 UDP
Extended err 3 Operation not allowed
4 Operation not supported
State State of socket or error indication.
0Inactive
1Active
Note
Motorola does not recommend using port numbers below 1024. These numbers are defined to be reserved for
operating systems.

Table of Contents

Related product manuals