Mipodm, Open A Socket (Udp Or Tcp) In Online Data Mode - Motorola AT Commands G24-L Developer's Manual

At commands reference manual
Hide thumbs Also See for AT Commands G24-L:
Table of Contents

Advertisement

Example
AT+MIPOPEN=1,1200,"123.245.213.012",1234,0//Opening socket 1, using TCP protocol, from port 1200,
targeting 123.245.213.012 port 1234
+MIPOPEN=2,1300,"123.133.074.192",1242,1//Opening socket 2, using UDP protocol, from port 1300,
targeting 123.133.074.192 port 1242
AT+MIPOPEN=1,1222,"123.245.213.012",1234,0//Opening socket 1, using TCP protocol, from port 1222,
targeting 123.245.213.012 port 1234
AT+MIPOPEN:
ERROR
AT+MIPOPEN?
+MIPOPEN: 3 4
OK
AT+MIPOPEN=1,0,"WWW.GOOGLE.COM",80,0//TCP
OK
+MIPOPEN: 1,1
AT+MIPOPEN=1,0,"www.google.com",80,0//TCP
OK
+MIPOPEN: 1,1
AT+MIPOPEN=2,0,"www.google.com",80,1//UDP
OK
+MIPOPEN: 2,1

+MIPODM, Open a Socket (UDP or TCP) in Online Data Mode

This command causes the G24-L to initialize a new socket that waits for a connection from a
remote machine or opens a connection with a remote side (according to received parameters) and
switch it to Online (raw data transfer) Data Mode and open a connection with a remote side.
Notes:
April 15, 2008
//Invalid command
//Terminal checking the free sockets
MIPxxx is a complete set of GPRS commands. This set should not be used with other
GPRS commands, such as CGATT, CGACT, and so on.
Online Data Mode allows the user to transfer raw data from terminal to Network and vice
versa over a GPRS channel. Currently, only RS232 connection to terminal with hardware
flow control is supported.
Each socket allocates an accumulating buffer whose size is 1372 bytes. When the user
sends amount of data, less then buffer size, the data is being sent to Network after a
spooling timeout (200 mS), otherwise the data is being sent to Network immediately.
Only one socket is allowed at the same time in Online Data Mode.
G24-L AT Commands Reference Manual
Chapter 3: AT Commands Reference
3-279

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G24-lc

Table of Contents