4.1 Configuration by Terminal

The basic 2N® SmartCom PRO configuration and firmware download take place during the 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 2N® SmartCom PRO  in one of the following two ways.

  • 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® SmartCom PRO  via the serial port, switch the port into the command mode first and then 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 2N® SmartCom PRO  answers OK, you can start configuring the device using the AT commands listed in Sub. 6.

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 2N® SmartCom PRO  public IP address, you can configure the device remotely too using the IP protocol. If not, connect to 2N® SmartCom PRO  using RS 232 as described above and send one of the following commands (for GPRS/Ethernet): 

at^sccfg="local_ip"<br>
at^sceth="local_ip"

2N® SmartCom PRO  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.

Caution

  • Make sure that the IP address assigned to the SIM card is public. It is because you will not be able to establish remote connection to 2N® SmartCom PRO  in the STANDALONE mode if an IP address from the provider's internal range is used. The 2N® SmartCom PRO  address need not be public if you use the TCPCLIENT server connection.

If you know the public IP address, launch the Putty and get connected via port 10000, which, together with the serial port, can also be used for configuring. Port 10000 is used for configuration, input data reading and output control in the IP domain. It is in the command mode upon power up and thus need neither be switched nor restarted after configuration.  

Note

  • This port requires the safety password if configured so.

Caution

  • If your 2N® SmartCom PRO  fails to respond to incoming TCP connections, check the status of the port to which you are connecting. If the port is in the command mode, notification on incoming connection is sent to the line (RING is displayed). Hence, enter the 'ata' command for answer or set automatic answering by parameter ats0. Refer to the General Commands subsection in the List of supported AT commands below.