Skip to end of metadata
Go to start of metadata

This subsection describes all the AT commands that can be used for 2N® SmartCOM configuration, including precise format and function specification.

2N® SmartCOM GSM Commands

These commands help configure the connection to the GPRS network.

at^sccfg="mode",2
  • Enter the command to set the 2N® SmartCOM operating mode. There are three options:
      • TCPCLIENT mode (1) - 2N® SmartCOM connects and retransmits data from its ports to the selected server.
      • STANDALONE mode (3) - 2N® SmartCOM works as a server to which clients get connected (transparent TCP – serial port transmission).
      • DATA_OFF mode - 2N® SmartCOM GSM/UMTS module does nor log in to the data network but waits for SMS.

Tip

Icon
  • Enter the mode number or name or select a port. The AT command then looks as follows:
at^sccfg="mode","tcpclient"

Caution

Icon
  • The ETH port is visible in the network in the DATA_OFF mode. PING is possible, but establishes no outgoing connection and rejects any incoming connection.
at^sccfg="gprs_apn","internet.open"
  • Enter the command to set the APN to the mobile provider. The configuration for O2 CZ is used as an example.
at^sccfg="gprs_user","internet" at^sccfg="gprs_pass","hds6cd5"
  • These two commands help set the user name and password for authentication by the provider. Most providers use no authentication. If your provider requires one, ask the provider to supply the necessary data.
at^sccfg="local_ip"
  • Enter the command to make 2N® SmartCOM return the IP addressed assigned by the provider.
at^sccfg="server_ip","90.182.112.54"
  • Enter the command to set the IP address of the server to which 2N® SmartCOM should connect in mode 1.
at^sccfg="server_port","1564"
  • Enter the command to set the server port to which 2N® SmartCOM should connect in mode 1.
at^sccfg="auth_pass","xJ32ppp_v1"
  • Enter the command to set the authorisation password for the above specified server.
at^sccfg="sim_pin","1156"
  • Enter the command to set the PIN to be entered upon power up.
at^sccfg="auth_ip",1
  • Switch on / off access authorisation according to IP addresses.
at^sccfg="encrypt",1
  • Set the encryption mode for 2N® SmartCOM - server communication. The setting options are 0–2.
    • Mode 0 DISABLED – 2N® SmartCOM encrypts no data.
    • Mode 1 OPTIONAL – 2N® SmartCOM encrypts data if the counterparty requires so.
    • Mode 2 FORCED – 2N® SmartCOM encrypts all outgoing data.
at^sccfg="encrypt_key","E2978FE2978FE2978FE2978FE2978F20"
  • Set the encryption key using 32 valid (hexa) characters, which makes 16 ASCII, via the ControlPanel.
at^sccfg="save"
  • Enter the command to save changes.
at^sccfg="restart"
  • Enter the command to restart 2N® SmartCOM.
at^sccfg="srestart"
  • Save the changes and restart 2N® SmartCOM.
at^sccfg?
  • This command displays the currently set interface values.
  • ^SCCFG: "MODE",1
  • ^SCCFG: "GPRS_APN","publicip.t-mobile.cz"
  • ^SCCFG: "GPRS_USER","internet"
  • ^SCCFG: "GPRS_PASS","hfsdj515d"
  • ^SCCFG: "LOCAL_IP","89.24.3.195"
  • ^SCCFG: "SIM_PIN","1234"
  • ^SCCFG: "AUTH_IP",0
at^sccfg=?
  • This command displays the port value setting options.
  • ^SCCFG: "MODE",1-3
  • ^SCCFG: "GPRS_APN","32"
  • ^SCCFG: "GPRS_USER","32"
  • ^SCCFG: "GPRS_PASS","32" 
  • ^SCCFG: "LOCAL_IP" 
  • ^SCCFG: "SIM_PIN","16" 
  • ^SCCFG: "AUTH_IP,0-1
  • ^SCCFG: "SAVE" 
  • ^SCCFG: "RESTART"
  • ^SCCFG: "SRESTART"

Port 1 (RS 232) SC Commands

These commands are used for setting the RS 232 parameters. 

at^scport1="baudrate",9600
  • Enter the command to set the baud rate to 9,600 bps.
at^scport1="baudrate",115200
  • Enter the command to set the baud rate to 115,200 bps.
at^scport1="baudrate",230400
  • Enter the command to set the baud rate to 230 400bps.
  • The baud rate can be set to 110 – 230,400 in standard steps.
at^scport1="data_bits",8
  • Enter the command to set the data bits to 8. Setting options: 5-8.
at^scport1="stop_bits",2
  • Enter the command to set the stop bits to 2. Setting options: 1-2.
at^scport1="parity",2

Enter the command to set the parity check type. Setting options: 0-4.

      • 0 – none
      • 1 – even
      • 2 – odd
      • 3 – constant 1
      • 4 - constant 0
at^scport1="flowcontrol",1
  • Enter the command to set the flow control type. Setting options 0-1.
      • 0 - no flow control
      • 1 - hardware flow control
at^scport1="save"
  • Enter the command to save the changes.
at^scport1="restart"
  • Enter the command to restart the port.
at^scport1="srestart"
  • Enter the command to save the changes and restart the interface.
at^scport1?
  • Enter the command to display the currently set port values.
at^scport1=?
  • Enter the command to display the port setting options.
  • ^SCPORT1: "BAUDRATE",110-230400
  • ^SCPORT1: "DATA_BITS",5-8
  • ^SCPORT1: "STOP_BITS",1-2
  • ^SCPORT1: "PARITY",0-4 
  • ^SCPORT1: "FLOWCONTROL",0-1
  • ^SCPORT1: "SAVE"
  • ^SCPORT1: "RESTART"
  • ^SCPORT1: "SRESTART"

Port 2 (RS 485/M-Bus) SC Commands

These commands are used for setting the RS 485/M-Bus parameters.  

at^scport2="baudrate",9600
  • Enter the command to set the baud rate to 9,600 bps.
at^scport2="baudrate",115200
  • Enter the command to set the baud rate to 115,200 bps.
at^scport2="baudrate",230400
  • Enter the command to set the baud rate to 230,400 bps.
  • The baud rate can be set to 110 – 230,400 in standard steps.
at^scport2="data_bits",8
  • Enter the command to set the data bits to 8. Setting options: 5-8.
at^scport2="stop_bits",2
  • Enter the command to set the stop bits to 2. Setting options: 1-2.
at^scport2="parity",2
  • Enter the command to set the parity check type. Setting options: 0-4.
at^scport2="save"
  • Enter the command to save the changes.
at^scport2="restart"
  • Enter the command to restart the port.
at^scport2="srestart"
  • Enter the command to save the changes and restart the interface.
at^scport2?
  • Enter the command to display the currently set port values.
  • ^SCPORT2: "BAUDRATE",9600
  • ^SCPORT2: "DATA_BITS",8
  • ^SCPORT2: "STOP_BITS",1
  • ^SCPORT2: "PARITY",0
at^scport2=?
  • Enter the command to display the port setting options.

Relay Outputs

These commands are used for relay output control.  

at^screl1?
  • Enter the command to identify the status of relay 1.
at^screl1=0
  • Enter the command to open relay 1.
at^screl1=0,0
  • Enter the command to open relay 1. The relay will be open after the terminal restart.
at^screl1=0,1
  • Enter the command to open relay 1. The relay will be closed after the terminal restart.
at^screl1=0,2
  • Enter the command to open relay 1. The relay will be in the position as before restart after the terminal restart.
at^screl1=1
  • Enter the command to close relay 1.
at^screl1=1,0
  • Enter the command to close relay 1. The relay will be open after the terminal restart.
at^screl1=1,1
  • Enter the command to close relay 1. The relay will be closed after the terminal restart.
at^screl1=1,2
  • Enter the command to close relay 1. The relay will be in the position as before restart after the terminal restart.
at^screl2?
  • Enter the command to identify the status of relay 2.
at^screl2=0
  • Enter the command to change the status of relay 2.
at^screl2=0,0
  • Enter the command to change the status of relay 2. The relay will be in this position after restart.
at^screl2=0,1
  • Enter the command to change the status of relay 2. The relay will be in the opposite position after restart.
at^screl2=0,2
  • Enter the command to change the status of relay 2. The relay will be in the position as before restart after the terminal restart.
at^screl2=1
  • Enter the command to change the status of relay 2.
at^screl2=1,0
  • Enter the command to change the status of relay 2. The relay will be in the opposite position after restart.
at^screl2=1,1
  • Enter the command to change the status of relay 2. The relay will be in this position after restart.
at^screl2=1,2
  • Enter the command to change the status of relay 2. The relay will be in the position as before restart after the terminal restart.

ADC – Input Circuits

These commands help control the input circuits, set calibration and make measurements.

at^scadc1="get_value"
  • Enter the command to measure the value of the selected port and send the measured value.
at^scadc1="adc_value"
  • Enter the command to make the measurement and return the A/D converter value.
at^scadc1="calib_min"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scadc1="calib_max"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scadc1="threshold_low",200
  • Manual calibration setting (minimum values). Setting options: 0 – 960.
at^scadc1="threshold_high",250
  • Manual calibration setting (maximum values). Setting options: 0 – 960.
at^scadc1="save"
  • Enter the command to save the changes.
at^scadc1?
  • Enter the command to display the currently set port values.
at^scadc1=?
  • Enter the command to display the port setting options.
at^scadc2="get_value"
  • Enter the command to measure the value of the selected port and send the measured value.
at^scadc2="adc_value"
  • Enter the command to make the measurement and return the A/D converter value.
at^scadc2="calib_min"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scadc2="calib_max"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scadc2="threshold_low",300
  • Manual calibration setting (minimum values). Setting options: 0 – 960.
at^scadc2="threshold_high",350
  • Manual calibration setting (maximum values). Setting options: 0 – 960.
at^scadc2="save"
  • Enter the command to save the changes.
at^scadc2?
  • Enter the command to display the currently set port values.
at^scadc2=?
  • Enter the command to display the port setting options.
at^scdin1="get_value"
  • Enter the command to detect the logical level on the port and send value 1/0.
at^scdin1="adc_value"
  • Enter the command to make the measurement and return the A/D converter value.
at^scdin1="calib_min"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scdin1="calib_max"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scdin1="threshold_low",400
  • Manual calibration setting (minimum values). Setting options: 0 – 960.
at^scdin1="threshold_high",450
  • Manual calibration setting (maximum values). Setting options: 0 – 960.
at^scdin1="save"
  • Enter the command to save the changes.
at^scdin1?
  • Enter the command to display the currently set port values.
at^scdin1=?
  • Enter the command to display the port setting options.
at^scdin2="get_value"
  • Enter the command to detect the logical level on the port and send value 1/0.
at^scdin2="adc_value"
  • Enter the command to make the measurement and return the A/D converter value.
at^scdin2="calib_min"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scdin2="calib_max"
  • Enter the command to make automatic port calibration according to the currently measured value.
at^scdin2="threshold_low",500
  • Manual calibration setting (minimum values). Setting options: 0 – 960.
at^scdin2="threshold_high",550
  • Manual calibration setting (maximum values). Setting options: 0 – 960.
at^scdin2="save"
  • Enter the command to save the changes.
at^scdin2?
  • Enter the command to display the currently set port values.
at^scdin2=?
  • Enter the command to display the port setting options.

S0 – Pulse Counting

The commands below are used for pulse counter state setting and reading out on S0 inputs.

at^scpulse1="state"
  • Enter the command to know the current states of the input 1 counter.
    • COUNTING- counting in progress
    • STOPPED- counting stopped
at^scpulse1="get_value"
  • Enter the command to read out the counter state.
at^scpulse1="set_value",100
  • Enter the command to set the count of counter pulses in case you do not want to start from 0. In this case, 100 will be set. The available range is 0 – 4294967295.
at^scpulse1="stimer",60
  • Enter the command to define the intervals in seconds for storing the counter value in the EEPROM. The available range is 5 – 10000s.
at^scpulse1="start"
  • Enter the command to enable pulse counting on input 1.
at^scpulse1="stop"
  • Enter the command to disable pulse counting on input 1.
at^scpulse1="clear"
  • Enter the command to clear the input 1 counter.
at^scpulse1="save"
  • Enter the command to store the counter value in the EEPROM manually.
at^scpulse1?
  • Enter the command to display the current interface settings.
at^scpulse1=?
  • Enter the command to display the setting options for the interface.
at^scpulse2="state"
  • Enter the comma1nd to know the current states of the input 2 counter.
    • COUNTING- counting in progress
    • STOPPED- counting stopped
at^scpulse2="get_value"
  • Enter the command to read out the counter state.
at^scpulse2="set_value",100
  • Enter the command to set the count of counter pulses in case you do not want to start from 0. In this case, 100 will be set. The available range is 0 – 4294967295.
at^scpulse2="stimer",60
  • Enter the command to define the intervals in seconds for storing the counter value in the EEPROM. The available range is 5 – 10000s.
at^scpulse2="start"
  • Enter the command to enable pulse counting on input 2.
at^scpulse2="stop"
  • Enter the command to disable pulse counting on input 2.
at^scpulse2="clear"
  • Enter the command to clear the input 2 counter.
at^scpulse2="save"
  • Enter the command to store the counter value in the EEPROM manually.
at^scpulse2?
  • Enter the command to display the current interface settings.
at^scpulse2=?
  • Enter the command to display the setting options for the interface.

General Commands

General commands for 2N® SmartCOM.

at
  • A terminal function control command, which executes no action and always gets the OK answer.
ate
  • Enter the command to disable echo (replies are displayed only instead of commands).
ate0
  • Enter the command to disable echo.
ate1
  • Enter the command to enable echo.
at+cgmi
  • Enter the command to display the 2N® SmartCOM manufacturer – 2N Telekomunikace a.s.
at+cgmm
  • Enter the command to display the model - 2N® SmartCOM.
at+cgmr
  • Enter the command to display the current firmware version - SC_vxx.xx.
at+cgsn
  • Enter the command to display the GSM module IMEI.
at+cimi
  • Enter the command to display the SIM card IMSI.
at+gmi
  • Enter the command to display the 2N® SmartCOM manufacturer – 2N Telekomunikace a.s.
at+gmm
  • Enter the command to display the model - 2N® SmartCOM.
at+gmr
  • Enter the command to display the current firmware version - SC_vxx.xx.
at+gsn
  • Enter the command to display the GSM module IMEI.
ati
  • Enter the command to display the model - 2N® SmartCOM.
ati3
  • Enter the command to display the current firmware version - SC_vxx.xx.
ati4
  • Enter the command to display the 2N® SmartCOM serial number.
ato
  • Enter the command to switch the port from the command mode to the transparent mode.
ata
  • Enter the command to switch the port from the command mode to the transparent mode during an incoming TCP connection ringing.
ath
  • Enter the command to terminate (reject) an incoming TCP connection ringing.
ats0?
  • Enter the command to display the automatic answering of incoming calls.
    • 0 - means that incoming calls will be ignored and should be answered manually using the ata command.
    • Digit – count of rings after which the incoming call is answered automatically.
ats0=5
  • Enter the command to set the count of rings before automatic answering to 5. The port is automatically switched into the transparent modes after an incoming RING.
at^sc232at=1
  • Enter the command to set the AT mode upon power up.
      • 0 - disabled. The port will be in the DATA mode upon power up.
      • 1 - enabled. The port will be in the CMD mode upon power up.
at^sc232at?
  • Enter the command to display the automatic AT mode setting state.
at^sc232at=?
  • Enter the command to to display the automatic AT mode setting options.
at^sccfgall?
  • Enter the command to display the currently set values for all interfaces.
  • ^SCCFG: "MODE","TCPCLIENT"
  • ^SCCFG: "GPRS_APN","internet.t-mobile.cz"
  • ^SCCFG: "GPRS_USER","internet" 
  • ^SCCFG: "GPRS_PASS","internet" 
  • ^SCCFG: "LOCAL_IP","85.44.9.234" 
  • ^SCCFG: "SERVER_IP","90.182.12.134" 
  • ^SCCFG: "SERVER_PORT",1620
  • ^SCCFG: "AUTH_PASS","hjwej549f"
  • ^SCCFG: "SIM_PIN","2494" 
  • ^SCCFG: "AUTH_IP",0
  • ^SCPORT1: "BAUDRATE",115200
  • ^SCPORT1: "DATA_BITS",8
  • ^SCPORT1: "STOP_BITS",1
  • ^SCPORT1: "PARITY",0
  • ^SCPORT1: "FLOWCONTROL",0
  • ^SCPORT2: "BAUDRATE",115200
  • ^SCPORT2: "DATA_BITS",8
  • ^SCPORT2: "STOP_BITS",1
  • ^SCPORT2: "PARITY",0

Access Authorisation According to IP Addresses

These commands are used for setting 5 IP addresses authorised for access to this terminal. Connections coming from other IP addresses will be ignored.

at^sccfg="auth_ip",1
  • Switch on / off access authorisation according to IP addresses.
at^scipauth="add","54.182.153.21"
  • Enter the command to add an IP address to the list end. When the maximum count of addresses in the list is reached, the command will be rejected.
at^scipauth="remove",1-5
  • Enter the command to remove an IP address from the list. Select the position using parameters 1 to 5.
at^scipauth="clear"
  • Enter the command to delete all IP addresses from the list.
at^scipauth?
  • Enter the command to write out the list of set IP addresses.
SCIPAUTH: 1> "90.182.112.54" SCIPAUTH: 2> "90.182.112.5"
at^scipauth=?
  • Enter the command to display the setting options for the interface.
SCIPAUTH: "ADD","15" SCIPAUTH: "REMOVE",1-5 SCIPAUTH: "CLEAR"

Test Command

This command is used for terminal testing. Enter this command to monitor the terminal state for provider's or 2N® SmartCOM Server connection troubleshooting purposes, for example.

at^sctest
  • Enter the command to test the basic functions of the terminal: GSM module login to the provider's network, GPRS data connection operability and 2N® SmartCOM Server connection, for example. You will get the following reply, for example:
    • at^sctest
    • OK
    • Entering the test mode
    • GSM state: GPRS running
    • -testing GSM module: running
    • -testing MUX running: OK
    • -testing MUX command: OK
    • -testing SIM presence: OK
    • -checking SIM state: SIM ready
    • -checking GSM registration: local network
    • -testing signal strength: -65dBm (STRONG)
    • -reading operator name: "T-Mobile CZ"
    • -reading local address: "10.168.174.3"
    • SmartCOM mode: "TCPCLIENT"
    • SmartCOM state: Client authenticated
    • Leaving the test mode
    • OK

Caution

Icon
  • When you have sent the command to 2N® SmartCOM, the data channel serving the peer on TCP port 10002 will be closed. It is because this channel is used for GSM module communication during command execution. When the command has been executed, the original channel setup is restored and a new incoming connection is awaited.

Other Commands – Boot, State, Service, Others

These commands are used for firmware upgrade and servicing of the GSM module.

at^scupg="http://star.2n.cz/~fejfar/SmartCOM_SC_v00-04.bin"
  • The command is used for firmware upgrade. It includes the address of the server where it is located and the version to be downloaded.
at^screstart
  • The command is used for terminal restart.
at^scfres
  • This command makes the factory reset of the 2N® SmartCOM unit connected.
at^sc232lock=0-1
  • Enter the command to enable RS-232 authentication, i.e. password authorisation for connection. 0 = disabled, 1 = enabled.
at^sc232lock?
  • Enter the command to display the current RS-232 lock setting state.
at^sc232lock=?
  • Enter the command to display the RS-232 lock setting options.
at+csq
  • Enter the command to display the signal intensity.
    • +CSQ: 99,99
at^scop?
  • Enter the command to display the GSM provider to which 2N® SmartCOM is currently logged in.
at^scms?
  • This command specifies the GSM module.
    • WISMO228
    • WAVECOM MODEM
    • L23_00gg.WISMO228 140711
at^iccid?
  • Enter the command to display the SIM ICCI (Integrated Circuit Card IDentifier).
at^scpras?
  • Enter the command to display the remaining PIN entering attempts.
at^sig?
  • Enter the command to display signal intensity in dBm.
    • ^SIG: -65dBm (STRONG)
at^scerr?
  • Enter the command to write out the error buffer status.
  • ^SCERR: 72> 8,10 
  • ^SCERR: 73> 8,10
at^scerrclear
  • Enter the command to delete the error buffer contents.

Charger (for 2N® SmartCOM PRO Only)

These commands are implemented in the charger-containing 2N® SmartCOM PRO version only.

at^scchg="max_voltage",6800
  • Enter the command to set the maximum accumulator voltage in mV.
at^scchg="max_current",350
  • Enter the command to set maximum charging current in mA.
at^scchg="state"
  • Enter the command to know the current charging state.
    • ACTIVE- charging activated.
    • STOPPED- charging stopped.
at^scchg="start"
  • Enter the command to enable the charging function.
at^scchg="stop"
  • Enter the command to disable the charging function.
at^scchg="save"
  • Enter the command to save the currently made changes.
at^scchg="srestart"
  • Enter the command to save the changes and modify the charging parameters immediately.
at^scchg?
  • Enter the command to display the current charger settings and charging state.
at^scchg=?
  • Enter the command to display the charger setting options.

Warning

Icon
  • Remember to set the charger parameters before connecting the accumulator and starting the charging process. Make sure that the settings are in compliance with the accumulator manufacturer's catalogue values to avoid accumulator damage, fire or explosion.

Caution

Icon
  • Use a 6V or 12V gel-lead-acid accumulator only for charging. Make sure that the charging voltage is at least 1V higher than the maximum voltage of the accumulator connected.

Real Time Clock (for 2N® SmartCOM PRO Only)

These commands are implemented in the real time clock containing 2N® SmartCOM PRO version only.

at^scclk="RR/MM/DD,hh:mm:ss+ZZzz"
  • Enter the command to set the real time clock. The ZZzz parameter means a time zone, denoting ZZ hours and zz minutes shift against the GMT.
at^scclk?
  • Enter the command to display the current time in the following format:

^SCCLK: "12/04/19,16:00:25+0200"
(April 19, 2012, 16:00:25, time zone: 2 hours from GMT)

Wireless M-Bus (for 2N® SmartCOM PRO Only)

These commands are implemented in the 2N® SmartCOM PRO version only, which contains an optional Wireless M-Bus module.

at^scwmbus="dev_add","MAN",12345678<,600>
  • Enter the command to add an item to a table of meters to be read. 'MAN' is a three-character abbreviation for the manufacturer, followed by the meter serial number. The last parameter denotes the minimum time interval in seconds between two stored readings of the meter to be added. If the last parameter is not entered, all messages received from the meter are stored.
at^scwmbus="decrypt",1
  • Enter the command to enable decryption of messages captured on the module. Setting options: 0 - 1.
at^scwmbus="key_add",1,A5B95C144134DE257AF2ED4F384C7EB7
  • Enter the command to set the encryption key for meter 1.
at^scwmbus="dev_remove",1
  • Enter the command to remove an item from the meter table; the parameter sets the meter position in the table.
at^scwmbus="dev_clear"
  • Enter the command to clear the whole meter table.
at^scwmbus="get_oldest"
  • Enter the command to write out the oldest record from the Wireless M-Bus meter data space. Example of a reply:
  • ^SCDATA: "WMBUS",<timestamp>,<id>,<rssi>,<len>,"<binary data in hexadecimal format>"

Meaning of parameters:

    • timestamp – record receiving time (UNIX timestamp)
    • id – record code in circular buffer
    • rssi – signal strength in dBM during message receiving
    • len – received message length in bytes

Tip

Icon
  • You can find different message formats is earlier FW versions: ^SCWMBUS: <timestamp>,<id>,<rssi>,<len>,"<binary data in hexadecimal format>"
  • There is a difference in data contents in this message: three information bytes on the Radiocrafts module are added to the end.
at^scwmbus="get_oldest"<,n>
  • Enter the command to enable mass read-out of the messages. The optional n parameter defines how many messages are to be read out.
at^scwmbus="del_oldest"
  • Enter the command to delete the oldest record from the Wireless M-Bus meter data space. Delete the oldest record and enter the 'get_oldest' command to read the oldest but one record.
at^scwmbus="del_oldest"<,n>
  • Enter the command to enable mass deletion of the messages. The optional n parameter defines how many messages are to be deleted.
at^scwmbus="del_all"
  • Enter the command to delete all records from the Wireless M-Bus meter data space.
at^scwmbus="mode",11
  • Enter the command to set the device operating mode.
    • 1 - T1
    • 3- S1
    • 8- C1
    • 11- T1+C
    • 17 - N1

Note

Icon
  • The 17 - N1 mode is available only if the terminal is equipped with a WMbus module, which supports the mode.


at^scwmbus="get_space"
  • Enter the command to display free memory space for WM-bus message storing.
at^scwmbus="mess_cnt"
  • Enter the command to display the count of WM-bus messages received.
at^scwmbus="RF_channel",1
  • Enter the command to define the WMbus transmission channel. Setting options: 1 - 10.
  1. 169.406250 MHz (Channel 1a)
  2. 169.418750 MHz (Channel 1b)
  3. 169.431250 MHz (Channel 2a)
  4. 169.443750 MHz (Channel 2b)
  5. 169.256250 MHz (Channel 3a)
  6. 169.458750 MHz (Channel 3b)
  7. 169.437500 MHz (Channel g)
  8. 169.412500 MHz (Channel 1)
  9. 169.437500 MHz (Channel 2)
  10. 169.462500 MHz (Channel 3)
at^scwmbus="preamble_len",0
  • Enter the command to define the frame format. 0 means 4 (short) / Frame format A. 1 - 70 (long) / Frame format A.
at^scwmbus="Install_mode",0
  • Enter the command to switch the normal and filter off options. In the normal mode, data are received from the defined modules only and the other modules are ignored. In the filter off mode, the module receives and saves all data from all modules.
    Setting options: 0 - normal, 1 - filter off.
at^scwmbus="restart"
  • Enter the command to restart the WMbus module.
at^scwmbus="sniff"
  • Enter the command to enable the 'sniff' mode to make the WMbus module capture and display all messages from the devices in the vicinity. After the command is entered, the connect message gets displayed and the terminal starts writing out the messages. Press Enter to quit. The disconnect message will be displayed for confirmation.
at^scwmbus="module_type"
  • Enter the command to display information on the WMbus module. Response example: ^SCWMBUS: "MODULE_TYPE","RC1180-MBUS3,2.00,3.14"
at^scwmbus?
  • Enter the command to display the currently set Ethernet parameters.
at^scwmbus=?
  • Enter the command to display the Wireless M-Bus setting options.

Ethernet (for 2N® SmartCOM PRO ETH Only)

These commands are implemented in the Ethernet containing 2N® SmartCOM PRO ETH version only.

at^sceth="ip_method","DHCP"
  • Enter the command to set the method of IP address setting:
      • DHCP – automatic IP address setting from DHCP server.
      • FIXED – manual IP address setting.
at^sceth="local_ip"
  • Enter the command to return the current IP address used on the Ethernet port.
at^sceth="fixed_ip","192.168.1.1"
  • Manual IP address setting.
at^sceth="mask","255.255.255.0"
  • Manual network mask setting.
at^sceth="gateway","192.168.1.254"
  • Manual default gateway setting.
at^sceth="dns1","0.0.0.0"
  • Manual primary DNS setting.
at^sceth="dns2","0.0.0.0"
  • Manual secondary DNS setting.
at^sceth="save"
  • Enter the command to save changes.
at^sceth="restart"
  • Enter the command to restart the Ethernet port.
at^sceth="srestart"
  • Enter the command to save the changes and restart the Ethernet port.
at^sceth?
  • Enter the command to display the currently set Ethernet parameters.
  • ^SCETH: "IP_METHOD","FIXED"
  • ^SCETH: "LOCAL_IP","192.168.1.1"
  • ^SCETH: "FIXED_IP","192.168.1.1" 
  • ^SCETH: "MASK","255.255.255.0"
  • ^SCETH: "GATEWAY","192.168.1.254"
  • ^SCETH: "DNS1","192.168.1.1"
  • ^SCETH: "DNS2","0.0.0.0"
at^sceth=?
  • Enter the command to display the Ethernet setting options.
  • ^SCETH: "IP_METHOD","FIXED"|"DHCP"
  • ^SCETH: "LOCAL_IP"
  • ^SCETH: "FIXED_IP","7-15"
  • ^SCETH: "MASK","7-15"
  • ^SCETH: "GATEWAY","7-15"
  • ^SCETH: "DNS1","7-15"
  • ^SCETH: "DNS2","7-15"
  • ^SCETH: "SAVE"
  • ^SCETH: "RESTART"
  • ^SCETH: "SRESTART"
at^scchprim="GSM"
  • Enter the command to set the primary channel to be used for creating IP connections.
      • GSM – connections will be created via GPRS.
      • ETH – connections will be created via Ethernet.
at^scchprim?
  • Enter the command to display the currently set primary channel.
at^scchled1="GSM"
  • Enter the command to set the LED function.
      • GSM – LED shows the state of GPRS connection.
      • ETH – LED shows the state of the Ethernet interface.
at^scchled1?
  • Enter the command to display the currently set LED function.

SC Ping

These commands are available in the 2N® SmartCOM and 2N® SmartCOM PRO versions only. Enter the commands to set periodical pinging to the set address in defined intervals. Use SC Ping to ensure the correct function of NFG syntax in UDF or keep firewall connection if the terminal is in the STANDALONE mode.

at^scping="host","8.8.8.8"
  • Enter the command to set the Host IP address to which the ICMP request shall be sent.
at^scping="interval",5
  • Enter the interval in minutes. 0 means that periodical pings are deactivated.
at^scping="test"
  • Enter the 'test' command to test configuration before saving. The currently changed value is always saved and thus no restart is needed during setting and functionality check.
at^scping="save"
  • Enter the command to save the changes.
at^scping="restart"
  • Enter the command to restart the function.
at^scping="srestart"
  • Enter the command to save the changes and reset the ping parameters immediately.
at^scping?
  • Enter the command to display the current interface values.
    • SCPING: "HOST","8.8.8.8"
    • SCPING: "INTERVAL",0
at^scping=?
  • Enter the command to display the interface setting options.
SCPING: "HOST","1-32" SCPING: "INTERVAL",0-65534 SCPING: "TEST" SCPING: "SAVE" SCPING: "RESTART" SCPING: "SRESTART"

ZigBee (for 2N® SmartCOM PRO Only)

These commands are available in the 2N® SmartCOM PRO and 2N® SmartCOM PRO ETH versions only, which are equipped with an optional ZigBee module. You can define up to 16 devices to be saved in the database and communicated with.

at^sczb="add",<16 HEX>
  • Enter the command to add a device to the table. "<16 HEX>" is a 16-character IEEE address. Contact your meter manufacturer for these parameters.

Tip

Icon
  • The IEEE ZigBee addresses have the following format: 00:15:bc:00:1d:00:0e:c5. The AT command for adding a device with the selected address is as follows: 
at^sczb="add",0015bc001d000ec5
  • The command adds the device to the first vacant place in the table.
at^sczb="del",<dev_id>
  • Enter the command to remove a device from the table. Setting options: 1 - 16.
at^sczb="onoff_get",<dev_id>
  • Enter the command to write out the state of the relay with the selected ID.
at^sczb="onoff_set",<dev_id>,<state>
  • Enter the command to set the selected relay state for the device with the selected ID. 'dev_id' specifies the meter position in the table and 'state' (0/1) defines the relay state (OFF/ON).
at^sczb="metering_getactive"
  • Enter the command to read out the current immediate consumption from the meter with the selected ID.
at^sczb="metering_getsumt"
  • Enter the command to read out the current total consumption from the meter with the selected ID.
at^sczb="module_type"
  • Enter the command to display information on the ZigBee module. Response example: ^SCZB: "MODULE_TYPE","RC2400,2.01,"
at^sczb=?
  • Enter the command to display the command parameters.
  • ^SCZB: "ADD",<16 HEX>
  • ^SCZB: "DEL",1-16
  • ^SCZB: "ONOFF_SET",1-16,0-1
  • ^SCZB: "ONOFF_GET",1-16
  • ^SCZB: "METERING_GETACTIVE",1-16
  • ^SCZB: "METERING_GETSUM",1-16
at^sczb?
  • Enter the command to display the list of devices including their attributes, states and options; see below.
  • ^SCZB: ID, STATE, IEEE ADDR, CAP ONOFF, CAP METERING, ONOFF GET, METERING ACTIVE, METERING SUM, SIGNAL 
  • ^SCZB: 1, RUNNING, 00:15:bc:00:17:00:12:27, TRUE, TRUE, 1, 340W, 3 kWh, 17%
  • ^SCZB: 2, RUNNING, 00:15:bc:00:1d:00:0e:c5, TRUE, TRUE, 1, 0 W, 0 kWh, 0%
  • ^SCZB: 3, RUNNING, 00:15:bc:00:1d:00:06:ed, TRUE, TRUE, 1, 0 W, 0 kWh, 0%
  • ^SCZB: 4, SLOT FREE, 00:00:00:00:00:00:00:00, FALSE, FALSE, 0, 0 W, 0 kWh, 0%
  • ^SCZB: 5, SLOT FREE, 00:00:00:00:00:00:00:00, FALSE, FALSE, 0, 0 W, 0 kWh, 0%
  • ^SCZB: 6, SLOT FREE, 00:00:00:00:00:00:00:00, FALSE, FALSE, 0, 0 W, 0 kWh, 0%
  • ^SCZB: 15, SLOT FREE, 00:00:00:00:00:00:00:00, FALSE, FALSE, 0, 0 W, 0 kWh, 0%
  • ^SCZB: 16, SLOT FREE, 00:00:00:00:00:00:00:00, FALSE, FALSE, 0, 0 W, 0 kWh, 0%
  • No labels