Mipopen, open a socket (udp or tcp), Mipopen, open a socket (udp or tcp) -277, Mipcall parameters -277 – PIONEERPOS AT Commands G24-LC User Manual

Page 341

Advertising
background image

Chapter 3: AT Commands Reference

April 15, 2008

G24-L AT Commands Reference Manual

3-277

The following table shows the +MIPCALL parameters.

Example

AT+MIPCALL=1,"internet","User1","Pswd"//Connecting the provider 'Orange' and getting an IP

+MIPCALL: "123.145.167.230"

AT+MIPCALL=0

//The terminal hangs up the link

OK

+MIPOPEN, Open a Socket (UDP or TCP)

This command causes the G24-L to initialize a new socket and open a connection with a remote
side. Each socket allocates an accumulating buffer whose size is 1372 bytes.

Note:

The +MIPOPEN command returns a +MIPSTAT unsolicited event if it fails, for example,
if it was rejected by the remote side.

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.

Table 3-195: +MIPCALL Parameters

<Parameter>

Description

<status>

0

Disconnect

1

Connected

"APN"

APN of service provider (in quotation marks). Contact your service provider for
details.

"User name"

User name in provider server (in quotation marks). Contact your service provider for
details.

"Password"

Password for provider server (in quotation marks). Contact your service provider for
details.

Local
IP-address

IP address given by server after PPP negotiation.

Command Type

Syntax

Response/Action

Remarks

Set

+MIPOPEN=

<Socket ID>,
<Source Port>,
<"Destination
Address">,
<Destination
Port>, <Protocol>

OK

+MIPOPEN: <Socket ID>,<State>

or:

ERROR: <err>

Advertising
This manual is related to the following products: