1 configuration, Configuration via rs 232, Configuration via ip – 2N M2M Solution 2N SmartCom - User Manual 1.9.0 User Manual

Page 30

Advertising
background image

30

2N TELEKOMUNIKACE a.s., www.2n.cz

®

4.1 Configuration

The basic

configuration and firmware download take place during the

2N SmartCOM

®

manufacturing process. In general, no additional configuration is necessary except for
GPRS connection to the Internet on the GSM module and the port baud rates, which
may be different depending on the providers and types of peripherals. You can

configure

in one of the following two ways.

2N SmartCOM

®

Via the RS-232 serial interface; or
Via the IP interface.

Configuration via RS 232

The RS-232 port is always in the data mode upon power up, which means that it

retransmits all captured events to GPRS port 10001. Therefore, to configure 2N

®

via the serial port, switch the port into the command mode first and then

SmartCOM
get connected to it using your PC serial port. The baud rate is 115,200 bps by default.
Now enter the following sequence of characters, preceded and followed by a 1–second
delay, into the terminal:

+++

When

answers OK, you can start configuring the device using the AT

2N SmartCOM

®

commands listed in

.

Subs. 4.2

Restart the RS-232 port when you have finished configuring to return into the data
mode. Send the following command:

at^scport1="restart"

Configuration via IP

If you know the

public IP address, you can configure the device

2N SmartCOM

®

remotely too using the IP protocol. If not, connect to

using RS-232 as

2N SmartCOM

®

described above and send one of the following commands (for GPRS/Ethernet):

at^sccfg="local_ip"
at^sceth="local_ip"

2N SmartCOM

®

will send you the IP address as negotiated with the provider or

assigned by the DHCP server in the Ethernet case. If a fixed public IP address is
activated on the SIM card, the SIM will always use this IP address. If a dynamic public
IP address is used, check the IP address whenever your restart the device.

Advertising