![Lantronix M110 Series Скачать руководство пользователя страница 52](http://html.mh-extra.com/html/lantronix/m110-series/m110-series_command-reference-manual_675725052.webp)
13: Applications Notes
13.1
Cellular Setup Example
The AT#IPCELLULAR command is used to setup cellular network parameters. The configuration of the
cellular network is done by setting the following parameters:
AT#IPCELLULAR=<SIM>,”<APN>”,”<Username>”,”<Password>”
where:
–
SIM : 1 for bottom SIM, 2 for top SIM. Use 1 for mono-SIM models
–
APN : Access Point Name
–
Username : If omitted, the modem will supply a non-blank value when it is read
–
Password : If omitted, the modem will supply a non-blank value when it is read
Examples:
Command
Response
Description
AT#IPCELLULAR=1,<APN>,"a","a"
OK
This command is used to set the
cellular/data network by
configuring the sim slot, APN,
Username and Password
AT#IPCELLULAR?
#IPCELLULAR: SIM1:
"internet","*","*",8
OK
This commands reads what is the
current setting
AT#IPCELLULAR?
#IPCELLULAR:
(1),(64),(25),(25),[(1-11)]
OK
The command is used to give the
valid range of all parameters
13.2
AutoTCP Client Setup Example
Note-1: AutoTCP should be disabled before changing any AT#IPCELLULAR and AT#IPTCP parameters
Note-2: AT#IPCELLULAR parameters must be set up correctly before AutoTCP can be used.
The AT#IPTCP command is used to setup TCP Client socket parameters:
AT#IPTCP=<UART/USB>,”<IP-port>”,”<Client/Socket>”,”<IP-address>”
where:
–
UART/USB : 1 for UART; 2 for USB
–
IP-port : port of the TCP Socket Server
–
Client/Socket : Use "C" for modem as TCP client
M110 Series Cellular Modem mPACK Command Reference
51