Page 1
SM-56 Security Modem Data Comm for Business, Inc. PO Box 6329 Champaign, IL 61826-6329 July 7, 2009 (217) 897-6600 Firmware Version: 1.0 www.dcbnet.com...
Table of Contents PRODUCT DESCRIPTION....................4 CONFIGURATION EXAMPLES..................5 Setting Defaults and Protecting High S-Registers..............5 Encrypted Connection........................ 6 Configuring the Ethernet Interface....................7 Dial-In User Authentication Example..................8 One-Time Pass-Code Example....................9 INTERFACE SPECIFICATION..................10 RS-232 Interface........................10 Cables............................10 SWITCHES AND INDICATORS..................11 DTE Baud Rate Configuration....................
Page 3
Select Guard Tone..........................26 Select Pulse Dial Make/Break Ratio...................... 26 Display Current Configuration and Stored Profiles................26 Display Last Connection Statistics......................27 Display Ethernet Status......................... 28 Display DHCP Status..........................28 Report Line Signal Level........................28 Report Line Signal Quality........................28 Modulation Control Commands....................
Product Description Thank you for your purchase or interest in the DCB SM-56 modem. If you are taking the time to read this introduction, you are probably still in the evaluation phase, trying to understand what the SM-56 is and how it can be applied to your particular application.
The following examples will step through configuring most of the non standard features. When dealing with an SM-56 in an unknown state, it is best to first issue a factory reset that will reset all features. The following commands show how to achieve this: AT&F2...
Encrypted Connection The method used to encrypt a dial-up connection is proprietary to the SM-56. So, in order to implement an encrypted connection, an SM-56 is required at each end. Once configuration is complete, dial-out can be performed manually or under software control. The status LED on the front of the modem will illuminate after the connection is established to indicate the modems are operating in encrypted mode.
Configuring the Ethernet Interface This example will show how to configure the Ethernet Interface with a static IP address. The default IP address is 192.168.0.11. AT+IP=192.168.0.25 ; Set the IP address to 192.168.0.25 AT+SM=255.255.255.0 ; Set the subnet mask to 255.255.255.0 AT+GW=192.168.0.1 ;...
Dial-In User Authentication Example This example will show how to configure 4 dial-in users, each showing a different type of action. Upon dialing in, the user will be prompted for a user name and password. Upon successful authentication, the indicated action will be performed. AT&F2 ;...
One-Time Pass-Code Example This example will show how to configure the modem for one-time pass-code authentication. The modem will generate a list of 80 pass-codes. When a dial-in user connects to the modem, he will be prompted for one of the pass-codes.
Interface Specification RS-232 Interface Signal Direction input Tx Data input Rx Data output RLSD (DCD) output Not used output input Not used Cables Cables to provide a standard 25 pin or 9 pin DCE interface are included with the modem. Connect the PC Direct adapter to the modem and use the patch cord and Remote PC adapters to connect to the DTE device.
Switches and Indicators DTE Baud Rate Configuration The SM-56 does not support auto-baud on the DTE interface. DIP switches 2, 3, and 4 located on rear of the modem are used to set the baud rate. Baud Rate Down Down...
AT Commands, S-Registers, and Result Codes Introduction The AT commands are used to control the operation of your modem. They are called AT commands because the characters AT must precede each command to get the ATtention of the modem. AT commands can be issued only when the modem is in command mode or online command mode. The modem is in command mode whenever it is not connected to another modem.
Remote Escape Code Sequence --- When the modem has established a connection and has entered online data mode, it is possible to break into the data transmission from the remote side of the connection in order to issue further commands to the modem in an online command mode.
AT Command Summary Command Description Page &C RLSD (DCD) Option &D DTR (Data Terminal Ready) Option &F Restore Factory Configuration (Profile) &G Select Guard Tone &K Flow Control &M Connection Mode &P Select Pulse Dial Make/Break Ratio &Q Connection Mode &R RTS/CTS (Request to Send/Clear to Send) Option &S...
Page 15
Set Gateway Address Hide Encryption Key Set IP Address Set Encryption Key +LOG Display Activity Log Modulation Selection +NAME Set Modem Name Protect S-Registers 96 – 255 from &F command Enable/Disable One-time Pass-code Authentication +PCODE Generate One-time Pass-code List +PING Set Subnet Mask +RPASS Set Remote ESC Password...
Page 16
Set Tone Dial Default Result Code Form Connect Message Control Extended Result Codes Soft Reset and Restore Profile...
Generic Modem Control Commands Soft Reset and Restore Profile Command: Description: Causes the modem to perform a soft reset and restore (recall) the configuration profile. If no value is specified, zero is assumed. Default: None Values: Number corresponding to the selected profile: Z0 Soft reset and restore stored profile 0.
S-Parameter descriptions. A configuration (profile) consists of a subset of S-Parameters. Since the SM-56 contains a set of non-standard S-Registers, used for security, the &F command can be limited to reset only the standard S- Registers by using the +H command.
Read/Modify S-Register Report Command: Set Command: Sn=value Description: The S command is used to display or set the value of an S-Register. There are 256 S-Registers indexed from 0 to 255. Each S-Register is 8-bits wide and may hold a value between 0 and 255. Result Codes: OK .
DTE-Modem Interface Commands The parameters defined in this section control the operation of the interface between the DTE and modem. Command Echo Command: Description: The modem enables or disables the echo of characters to the DTE. The parameter value, if valid, is written to S14 bit 1. Default: Defined Values: Disables command echo.
Extended Result Codes Command: Description: Selects the subset of the result code messages used by the modem to inform the DTE of the results of commands. Blind dialing is enabled or disabled by country parameters. If the user wishes to enforce dial tone detection, a "W" can be placed in the dial string (see D command).
DSR (Data Set Ready) Override Command: &S Description: Selects how the modem will control DSR. The SM-56 does not have a DSR signal. This command is provided for compatibility. Default: Defined Values: &S0 DSR will remain ON at all times.
Call Control Commands Dial Command: Description: Directs the modem to go on-line, dial according to the string entered and attempt to establish a connection. If no dial string is supplied, the modem will go on-line and attempt the handshake in originate mode. Note: If the ATD command is issued before the S1 register has cleared, the modem will respond with the NO CARRIER result code.
Return to command state. Added to the end of a dial string, this causes the modem to return to the command state after it processes the portion of the dial string preceding the ";". This allows the user to issue additional AT commands while remaining off-hook. The additional AT commands may be placed in the original command line following the ";"...
Speaker Volume Command: Description: Sets the speaker volume control. The parameter value, if valid, is written to S22 bits 0 and 1. This command is implemented for compatibility. The SM-56 hardware does not support volume control. Default: Defined Values: Low volume.
Select Guard Tone Command: &G Description: Causes the modem to generate the guard tone selected by this command (DPSK modulation modes only). The parameter value, if valid, is written to S23 bits 6 and 7. This command may not be permitted in some countries. Default: Defined Values: &G0 Disables guard tone.
TELEPHONE NUMBERS: 0 = 1 = 2 = 3 = Display Last Connection Statistics Command: &V1 Description: Displays the last connection statistics in the following format (shown with typical results): TERMINATION REASON LOCAL REQUEST LAST TX rate 26400 BPS HIGHEST TX rate 26400 BPS LAST RX rate.
Modulation Control Commands Modulation Selection Command: Description: This extended-format compound parameter controls the manner of operation of the modulation capabilities in the modem. It accepts six subparameters. Syntax: +MS=[<carrier>[,<automode>[,<min_tx_rate>[,<max_tx_rate> [,<min_rx_rate> [,<max_rx_rate>]]]]]] Where possible <carrier>, <min_tx_rate>, <max_tx_rate>, <min_rx_rate>, and <max_rx_rate> values are listed in Table 1-3. Table 1-3.
<min_tx_rate> and <max_tx_rate> Numeric values which specify the lowest (<min_tx_rate>) and highest (<max_tx_rate>) rate at which the modem may establish a transmit connection. Non-zero values for this subparameter are decimal encoded, in units of bit/s. The possible values for each modulation are listed in Table 1-3.
Fallback/Fall Forward. When %E2 is active, the modem monitors the line quality (EQM). When line quality is insufficient, the modem will initiate a rate renegotiation to a lower speed within the V.34/V.32 bis/V.32 (RC336) modulation speeds. The modem will keep falling back within the current modulation if necessary until the speed reaches 2400 bps (V.34) or 4800 bps (V.32).
Connection Mode Command: &Q Command: &M Description: The &Q command is used to control the connection mode. It is used in conjunction with S36 and S48. The &M0 command is provided for compatibility and is equivalent to &Q0 Default: Defined Values: &Q0 Selects direct asynchronous operation.
Security Commands Enable/Disable User Authentication Command: Description: Enables/disables user authentication for dial-in connections. When enabled, one or more users must be defined using the +USER command. Upon connection, the caller will be prompted for a user-name and password. The user is allowed three attempt to enter a valid user-name and password.
Default: null string Defined Values: The string may be 0 to 19 characters in length. Result Codes: Otherwise ERROR Enable/Disable Encryption Command: Description: Enables/disables AES based authentication and encryption. When enabled, both modems will perform a cipher based authentication handshake to determine that each have the same key. After authentication, a session key is exchanged which will be used to encrypt all further communications.
Display Activity Log Command: +LOG Description: Display the activity Log. The activity log contains the last 400 events pertaining to dial-in, dial-out, authentication, and connect time. The event log is cached in volatile RAM and flushed to non volatile flash memory no more than every 30 minutes in order to preserve flash memory life.
Enable/Disable One-time Pass-code Authentication Command: Description: Enables/disables one-time pass-code authentication for dial-in connections. When enabled, the modem will prompt for a one-time pass- code. The user must enter the correct pass-code before access is allowed. The user is allowed 3 chances to enter the correct pass-code otherwise the call is disconnected.
Set User Report Command: +USER? Set Command: +USERn=name,password,action Description: This command is used to configure remote users. It applies to both dial-in and Telnet users. The modem can store 10 distinct users, indexed from 0 to 9. The action field only applies to dial-in users. It specifies what operation to perform after the user has authenticated.
Ethernet Commands Enable Ethernet Port Command: Description: Enable/Disable the 10/100 Ethernet Port. The state of the Ethernet port is stored in S-Register 96. Default: Defined Values: +N0 Disable the Ethernet port. +N1 Enable the Ethernet port (default.) Result Codes: Otherwise ERROR Set IP Address Report Command: +IP?
Ping host Command: +PING=host Description: Sends a ping request to the given host. The host is specified as an IP address or, if a DNS server is configured, as a host name. Default: Result Codes: Otherwise ERROR Set Telnet Port Report Command: +TP? Set Command:...
Xmodem file transfer feature found in most terminal emulation applications. Only use a firmware image obtained from DCB. Also, if key hiding is enabled with the +H1 command, the encryption key will be erased before the new firmware is loaded. This is to protected against using modified firmware to steal key values.
S-Registers Certain modem values, or parameters, are stored in memory locations called S-registers. Use the S command to read or to alter the contents of S-registers (see previous section). Register value may be stored on one of two user profiles with the command &W.
Page 42
0.1 s 1–255 Carrier Detect Response Time: Supported for backward compatibility only. No value can be written. Responds with default value. 0.1 s 1–255 Lost Carrier to Hang Up Delay: Sets the length of time, in tenths of a second that the modem waits before hanging up after a loss of carrier.
Page 43
Register Unit Range Default Description 52 (34h) V.24/General Bit-Mapped Options Status: Indicates the status of command options. Bits 0 - 1 Reserved (0) Bit 2 CTS behavior (&Rn) CTS tracks RTS (&R0) CTS always on (&R1) (Default.) Bits 3-4 DTR behavior (&Dn) &D0 selected &D1 selected &D2 selected (Default.)
Page 44
Register Unit Range Default Description 73 (49Ah) General Bit-Mapped Options Status: Indicates the status of command options. Default: 73 (49h) (01001001b) Bits 0, 1, 3 Synchronous/asynchronous selection (&Mn/&Qn) 3 1 0 0 0 0 &M0 or &Q0 0 0 1 &M1 or &Q1 0 1 0 &M2 or &Q2...
Page 45
LAPM Failure Control: This value indicates what should happen upon a LAPM failure. These fallback options are initiated immediately upon connection if S48=128. If an invalid number is entered, the number is accepted into the register, but S36 will act as if the default value has been entered.
Page 46
Register Unit Range Default Description 195 (C3h) General Bit-Mapped Options Status. Indicates the status of command options. Default: 13 (C3h) (00001101b) Bits 0 -1 Compression selection (%Cn) Disabled (%C0) MNP 5 (%C1) V.42 bis (%C2) MNP 5 and V.42 bis (%C3) (Default.) Bits 2, 6 Auto retrain and fallback/fall forward (%En) Bit 6...
Page 47
Register Unit Range Default Description 0–26 Call Failure Indication. When the modem issues a NO CARRIER result code, a value is written to S86 Register to help determine the reason for the failed connection. S86 records the first event that contributes to a NO CARRIER message.
Page 48
Register Unit Range Default Description decimal 0-255 Dial-in User Authentication Enable. A value of 16 indicates user authentication for dial-in connections is disabled. All other values indicate user authentication is enabled. The +A command sets this register. See the +USER command for configuring user names and passwords.
Result Codes In command mode your modem can send responses called result codes to your computer. Result codes are used by communications programs and can also appear on your monitor. Short Long Form Form CONNECT RING NO CARRIER ERROR CONNECT1200 NO DIAL TONE BUSY NO ANSWER...
Page 50
Short Long Form Form +MRR: 24000 +MRR: 26400 +MRR: 28800 CONNECT 16800 CONNECT 21600 CONNECT 24000 CONNECT 26400 CONNECT 28800 +DR: A LT +DR: V 42B +DR: N ONE +ER: N ONE +ER: L APM +MRR: 31200 +MRR: 33600 +ER: A LT +ER: A LT-CELLULAR LINE-IN-USE CONNECT 33600...
Warranty and Repair This DCB product is warranted to be free of defects in materials and workmanship for two years. Data Comm for Business, Inc. will repair or replace any equipment proven to be defective within the warranty period. All warranty work is F.O.B. Champaign, IL. This warranty is exclusive of abuse, misuse, accidental damage, acts of God or consequential damages, etc.
Need help?
Do you have a question about the SM-56 and is the answer not in the manual?
Questions and answers