
This command will set the current TCP/IP gateway of the modem.
Default:
0.0.0.0
Storage:
&W
Command Values:
AT+LCETHG=
<Gateway IP> Sets the TCP/IP gateway address.
AT+LCETHG?
Queries the TCP/IP gateway address.
9.4 AT+LCETHR Print The Route Table
This command will print a copy of the modem’s routing table.
Default:
0.0.0.0
Storage:
N/A
Command Values:
AT+LCETHR?
Prints the modem’s route table.
9.5 AT+LCPROX Define A New Proxy
The AT+LCPROX command is used to configure the CDM820’s onboard
microprocessor to function as a TCP/UDP/GRE proxy. Note that this functionality of
only available on the CDM820. This is a custom-designed proxy which resides in layer 4
of the OSI networking model. Please refer to the examples at the end of this section for
more information on how to set up the proxy for your needs.
How It Works:
The command line arguments for AT+LCPROX are as follows:
AT+LCPROX
=<
id
>,<
type
>,<
count
>,<
listenport
>,<
remoteport
>,<
remoteaddress
>
The first argument <
id
> specifies the proxy configuration number. This setting can be
thought of as a filename under which the proxy configuration is stored in the modem’s
memory. Each separate proxy line must have a unique identification. If you create a
proxy configuration with the same <
id
> as a pre-existing proxy, the old proxy line will be
erased and overwritten by the new configuration.
The second argument <
type
> tells the modem how to handle the data it receives. The four
possible <
type
> are as follows:
1=TCP Transport
2=UDP Transport
3=GRE Local End
4=GRE Remote End
The <
type
> argument is used to configure the proxy to operate in TCP or UDP mode, 1
and 2, respectively. As far as configuration is concerned, TCP and UDP data transmission
are both configured in the same manner. Only the <
type
> is altered to specify TCP or
UDP.