AT Commands Description

1. AT Commands Description

AT commands are issued to Pace ISDN TA to control its operation and software configuration. AT commands can only be entered while the modem is in command mode. The format for entering AT commands is:

  TYPE:   ATXn

where X is the AT command, and n is the specific value for that command.

  PRESS:   Enter

Any command issued is acknowledged with a response in either text or numeric values known as result codes. These are described in details further in this manual.

In the following listing, all commands and command values accepted by Pace ISDN TA are described. any entries other than those shown cause the ERROR result code.

  +++ Escape Sequence

The escape sequence allows Pace ISDN TA to exit data mode and enter on-line command mode. While in on-line command mode, you may communicate directly to Pace ISDN TA using AT commands. Once you are finished, you may return to data mode using ATO command.

A pause, the length which is set by the Escape Guard Time (S12), must be used before and after an escape sequence is issued. This pause prevents the modem from interpreting the escape sequence as data. the value of the escape sequence character may be changed using register S2

1.1 General Service Selection

These commands and parameters allow to select the general behaviour of Pace ISDN TA.

 

Command

Range

Default

Description

S110

1..255

10

Current DTE channel identifier

S111

1.255

 

Service supplied by DTE channel

1 : Voice service 7 : PAD/X.25 service

3 : Raw data service 8 : V.120 service
5 : V.14

O

   

Enter data or PAD mode. (Go back to on-line mode)

&M

&M0

&M1

&M2

0..2

0

Communications mode

Asynchronous

Synchronous, (not supported in this firmware release)

Synchronous, DTR dialling, (not supported in this firmware release)

&O 

1..255

1

Select DTE channel driven by serial port

&Q

&Q0

&Q1, &Q4

&Q2

&Q5

0..6

0

Communications mode

Asynchronous

Synchronous, (not supported in this firmware release)

Synchronous, DTR dialing, (not supported in this firmware release)

Asynchronous with error correction

 

1.2  Call Control

These commands and parameters are used for setting up and clearing an ISDN call (or an analogue GSTN call).

 

Command

Range

Default

Description

S0

0.255

0

Number of rings before auto answering

0 = No automatic answer Non zero = Automatic answer

S1

0..255

 

Ring counter. For ISDN, number of pending non answered incoming calls

S6

0..255

0

Pause before blind dialing. Irrelevant for ISDN. Units: Seconds

S7

0..255

60

Connection completion timeout (delay for successful call establishment). Units: Seconds

S8

0..255

2

Comma dial modifier. Irrelevant for ISDN. Units: Seconds

S115

0..255

0

Miscellaneous call processing options. Clear call on ALERT

0 = Nothing special

1 = Outgoing calls cleared when ALERT is received from ISDN

A

   

Answer an incoming call

D

   

Dial a number. For ISDN, argument is an ISDN address and optional subaddress (introduced by a star ‘*’). For ISDN + PAD, argument is an ISDN address, followed by an optional subaddress (introduced by a star ‘*’) followed by an optional X.25 VC address (introduced by a colon ‘:’), followed by an optional DTE channel number (introduced by a colon ‘:’). For analogue GSTN, argument is a dial string: DTMF digits (0..9), ‘T’ (tone), ‘,’ (pause). Unrecognised characters have a null effect.

H

0..1

0

Hook control.

H0 = Hang up, clear call

H1 = Seize the line (analogue GSTN only)

P

   

Select pulse dialing. Irrelevant for ISDN

T

   

Select tone dialing. Irrelevant for ISDN

&Zn=

   

Enter dial directory. Argument ia a dial string. If the dial string starts with ‘/’, DTR dialing will be performed using a ‘*D’ command, else using ‘D’ command. n is the directoy number 0..9

 

1.2.1  Pace ISDN TA DTE Channels

In your Pace ISDN TA TA, the following DTE channels and associated number ID are defined:

 

1 : Asynchronous transparent using X.25/PAD to X.25/PAD (special PAD profile) with optional V.42bis data compression.

 

6 : Telephony (used only as a test case).

 

7 : PPP asynchronous to synchronous conversion (ISO 4335 HDLC Addendum).

 

8 : Asynchronous transparent using V.14 rate adaptation (padding with STOP bits).

 

10 : Asynchronous transparent using V.120 rate adaptation with V.42bis data compression (negotiation according to ITU standard). DTE-Channel 10 is the factory default DTE channel

 

11 : X.25/PAD through one B channel connected to an PSDN through a gateway.

 

12 : X.25/PAD through the D channel (SAPI 16, Manual TEI).

 

13 : Asynchronous transparent through 2xB aggregated channels and using V.120 rate adaptation, X.25 MultiLink Procedure, and V.42bis data compression.

 

14 : X.25/VideoPAD through one B channel.

 

15 : X.25/VideoPAD though the D channel (SAPI 16, Manual TEI).

 

Each DTE CHANNEL can support one or several calls according to the services. Each call is identified by a global call ID number.

The current DTE channel is selected using &O command or through the setting of the S110 register. The default DTE channel is set using the configuration parameter « #default_dte_channel ». The factory default DTE channel is 10 (asynchronous transparent using V.120 rate adaptation).

 

1.2.2  Examples of Dial Commands

 

The outgoing call is, by default, established on the currently selected DTE channel. Use the &O command to select the DTE channel. S110 contains the identifier of the current DTE channel.

By extension, it is possible to 'dial ' on a D-channel, that is, to request establishment of an X.25 virtual circuit in D-channel packet mode. In this case, the ISDN address must be 'D' or 'd', or must be empty.

 

Also, it is possible to dial using a specific DTE channel, specified in the dial string. In this case, the DTE channel number is supplied after the X.25 address, introduced by a colon.

 

The general syntax for a dial command is therefore :

 

ATDisdn_nb*sub_addr[&isdn_nb2]:x25_addr:dte_channel_id

 

where:

 

isdn_nb*sub_addr is an ISDN number, followed by an optional subaddress. If this field is empty, or replaced by 'D' or 'd', X.25 virtual circuit establishment is requested on the D-channel.

 

isdn_nb2 is used for establishing a 2 B channels call (DTE channel 13) in North America when connected to a DMS-100 switches. Only the last different digits can be provided, the number is padded according to the first number.

 

x25_addr is an X.25 address. If this field is empty, address 0 is used. This field is unused if the call is not for an X.25 communication.

 

dte_channel_id is the number of the DTE channel to use. If this field is empty, the current DTE channel is used.

 

These extensions to the dial command allow a DTE 'modem' application to run and drive all the services offered by Pace ISDN TA, without modifications of the application. The extended dial strings (which now contains 'service' information) can be stored in the application's directory.

 

 

 

Dialing over an ISDN access

 

ATD69855044   calls the ISDN address 69855044

ATD69855044*5   calls the equipment at ISDN address 69855044, with subaddress 5.

ATD&O13

ATD69855044*5&5  calls the equipment at ISDN address 69855044 and 6985045, with subaddress 5.

 

Dialing over an ISDN access, using a PAD DTE channel

 

ATD36086464:1750123456 calls the ISDN address 36086464 (in this case, ISDN address of the ISDN access point to the Transpac X.25 public network), and establish a virtual circuit (X.25 call) with the equipment at X.25 address 1750123456.

ATD69855044  calls the X.25 equipment at ISDN address 69855044, establish a virtual circuit using the default X.25 address (typically 0). This command is useful for performing point to point, PAD to PAD, data transfer. Bit 5 of register S112 must be set to 1. If this bit is set to 0, the virtual circuit is not established, when the ISDN call is established the PAD prompt is presented to the user.

ATD69855044*4:1750123456  669855044 is the ISDN address, 4 is the ISDN subaddress, 1750123456 is the X.25 address.

 

Establishing a PAD/X.25 communication on the D-channel

 

ATD:1750123456 or  Establish a virtual circuit with the X.25 equipment at X.25 address 1750123456, ATDD:1750123456 using D-channel packet mode

 

Establishing communications, with DTE channel specification

 

ATD36086464:1750123456:11   Use DTE channel 11 to perform the X.31 case A outgoing call.

 

ATD:1750123456:12  Use DTE channel 12 to perform X.25 connection establishment on the D-    channel.

ATD69855044*2::1  DTE channel 1 is a PAD DTE channel, use DTE channel 1 to perform an ISDN call, followed by an X.25 (DTE-DTE) virtual circuit establishment.

 

If DTE channel 6 is a telephony DTE channel, use DTE channel 6 to perform a telephony outgoing call.

 

1.2.3  Extended Call Control

 

The following commands are 'extended' call commands for ISDN. They allow to manage several calls simultaneously. The following lexical elements are used :

 

call_id: Integer, call identifier.

uui: User to user information. When present, delimited by quotes. Example : "Hello".

addr, addr*sub, addr*sub&addr: ISDN address and subaddress. A star '*' separates the address and subaddress. Subaddress is optional. In case of V.120 MLP or ML PPP using 2 B channel a second address can be added using « & » separator. Only the last digits of the second address is required. The first digits are copied from the first address.

rate:  Rate of the data in B channel 64 or 56 kbps.

x25_addr: Optional X.25 address. When present, introduced by a colon ':'.

cause: Call clearing cause, two hexadecimal digits.

 

 

 

 

 Examples :

123 dial number 123

123*456 dial 123 subaddress 456

12345678*13&9 dial 12345678 and 12345679 with with address 13.

 

Command

Description

*D/addr*sub

&addr@rate:x25_addr@rate

/uui

Dial one or two numbers, with optional UUI.

Optionally establish X.25 virtual circuit. If no ISDN number is supplied, call will be established using the 'overlap sending' mode provided that the service

required an ISDN call. Rate is used for forcing a 56kbps data call in case of data

service (used in North America). In case of service 13 needing two B channels it is sometimes necessary to call two different numbers (Nortel Switch used in North America), the second call number is added using & separator. If no additionnal number, the second call uses the same number as the first call. The subaddress stays the same for the two calls.

*Dcall_id/addr_digits

supply one or several ISDN number digits, for overlap sending dialing

*Acall_id,uui

answer a call, with optional UUI

*Hcall_id,uui,cause

clear a call, with optional UUI, and optional cause

*Scall_id

suspend a call

*Ucall_id

resume a call

 

 

1.2.4  Examples of Extended Call Control Commands

 

Suppose we have an Pace ISDN TA with the following configuration :

- DTE channel 6 is a voice DTE channel (S111 is 1), able to support one call, with (call) user reference 6.

- DTE channel 11 is a PAD DTE channel (S111 is 7), able to support one call, with user reference 11.

 

Suppose also that, for both channels, S112 is set to 35 (maximum information and PAD automatic VC establishment). Indications sent by Pace ISDN TA are in italic:

 

Establishment of two successive voice calls

 

AT&O6*D/11 select DTE channel 6, dial ISDN address 11.

OK:6,0,6 immediate acknowlegment, call 6 is being established on network access 0 and DTE channel 6.

PROGRESS:6,0,0,6,1 Progress indication for call (6) DTE channel 6 channel B1 due to interworking with analogue telephone network.

ALERT:6,0,6,1 Called terminal RINGING and returning ALERT indication.

CONNECTED:6,,0,6,1 First call (6) is established, B1 channel is selected.

CLEARED:6,10 Clear of call (6) with a normal cause (10).

 

AT*D/69855044*5/"Hello" while the first call is being established, call the equipment at ISDN address 69855044 and ISDN subaddress 5, and transfer the user to user information "Hello". Note that there is no need to enter an &O6 command, current DTE channel is already DTE channel 6.

OK:6,0,6 Immediate acknowlegment, call 6 is being established on network access 0 and DTE channel 6.

CONNECTED:6,"Welcome",0,1,2  

 Second call (6) is established, B2 is selected. The remote has
answered with user to user information "Welcome".

AT*H0/6 Clear the call 6.

 

 

 

 

 

Establishment of a PAD call (see also examples related to the D command)

 

AT&O11*D/36086464:1750123456

 Select DTE channel 11, dial ISDN address 36086464 (ISDN access point to the Transpac X.25 network), call the equipment at X.25 address 1750123456

OK:11,0,11 Iimmediate acknowlegment, call 11 is being established on network access 0 and DTE channel 11

CONNECTED:11,,0,11,1 call (11) is established, B1 channel is selected

(CD ON) virtual circuit is established

 

DTE controlled answer to two incoming voice calls

 

DTE channel 1 is not in auto answering mode (S0 = 0)

 

RING:6,1,,44332211*2,0,1,6,1,5044 

Incoming call, call number 6, voice service (1), no UUI sent by the remote   calling equipment, calling address and subaddress : 44332211, 2, network   access 0, DTE channel 6, B channel B1, called address (as supplied by the   ISDN) is 5044. We decide not to answer now, and let the call ring.
RING:1,7,"Hello",88776655,0,1,2,5044*4

 second incoming call, call number 1, Pad service (7), UUI
"Hello" sent by the remote calling equipment, calling
address : 88776655, network access 0, DTE channel 1, B
channel B2, called address and subaddress (as supplied by
the ISDN) are 5044, 4.

AT&O1*A1,"Welcome" we decide to answer to the second call. We first select DTE channel 1 (&O1), answer to call number 1 and send the UUI "Welcome".

CONNECTED:1,,0,1,2 call (1) is established, B2 channel is selected.

CLEARED:6,10 first call (6), which was still ringing, is terminated (for example, the remote  end rejected the call).

 

Automatic answer to two incoming calls for different services

 

DTE channel 6 and 11 are autoanswering (S0 = 1 for both DTE channels)

RING:6,1,,44332211*2,0,6,1,5044 

 Incoming call, call number 6, voice service (1), no UUI sent by the remote calling equipment, calling address and subaddress : 44332211, 2, network access 0, DTE channel 6, B channel B1, called address (as supplied by the ISDN) is 5044.

 

CONNECTED:6,,0,1,1 Call (6) is automatically established on DTE channel 1, B1 channel.

RING:11,7,,88877766,0,11,2,5044 

 Incoming call, call number 11, PAD service (7), no UUI sent by the remote calling equipment, calling address  : 8887766, network access 0, DTE channel 11, B channel B2, called address (as supplied by the ISDN) is 5044.

CONNECTED:11,,0,11,2 Call (11) is automatically established on DTE channel 2, B2 channel.

 

 

1.3  DTE-DCE Interface

 

These commands and parameters allow to set up the DTE-DCE port.

 

Command

Range

Default

Description

S2

0..255

43

escape sequence character '+'. A value greater than 127 disables +++ recognition and processing.

S3

0..127

13

command line termination character <cr>

S4

0..127

10

response formatting character <lf>

S5

0..127

8

command line editing character <bs>

S25

0..255

5

DTR hysteresis. Units are hundredths of seconds, or seconds (in &Q1 with &D2 mode, wait for DTR on).

S39

0..4

3

DTE-DCE flow control
0 : no flow control
3 : RTS-CTS flow control
4 : XON-XOFF flow control

S95

0..255

0

negotiation indications options. Sum of :
1 : display junction speed, not line speed in CARRIER indications
2 : append /ARQ if error corrected link
4 : enable CARRIER indications
8 : enable PROTOCOL indications
16 : unused
32 : enable COMPRESSION indications
64 : unused

S112

0..255

32

Detailed indications format. Encoding is the sum of the following bitfields :
1 (bit 0, rightmost) : incoming call message format
0 : AT format (RING)
1 : extended format (RING:)
2 (bit 1) : extended indications aspect

0 : short form
1 : long form
8 (bit 3) : AT indications aspect
0 : AT standard form
1 : AT extended form (RING message with calling party number,

NO CARRIER message with cause in decimal)
32 (bit 5) : PAD VC establishment message aspect

0 : upon call establishment, PAD banner and prompt are displayed.

VC (virtual circuit) may be established manually.
1 : upon call establishment, VC is established automatically, no

PAD message is displayed.
128 (bit 7) : for extended format, generation of supplementary indications
0 : no supplementary indications are displayed
1 : supplementary indications (ALERT:) are displayed

Other bits are reserved and shall be set to 0.

S113

0..255

1

More detailed indications format. Encoding is the sum of the following bitfields :
1 (bit 0, rightmost) : # parameters format
0 : # parameters are displayed in long form: factory value,profile

value
1 : # parameters are displayed in short form: current value.

S114

0..255

19

DTE-DCE asynchronous serial speed and asynchronous clock selection
75 : 75 bps 19 or 192 : 19200 bps
3 : 300 bps 28 : 28800 bps
12 or 1 : 1200 bps 38 : 38400 bps
24 or 2 : 2400 bps 57 : 57600 bps
48 or 4 : 4800 bps 115 : 115200 bps
72 or 7 : 7200 bps 230 : 230400 bps (Autobaud should be OFF)
96 or 9 : 9600 bps 255 : select internal clock. Asynchronous

clock information is derived from

Ultalink hardware
14 or 144 : 14400 bps 0 : select external clock. Asynchronous

clock information is supplied by the DTE

S117

0..255

0

RING repetition timer. Useful for ISDN incoming calls. For an incoming call, duration, in seconds, between successive RING indications. 0 means : a single RING message is displayed.

S123

0..1

0

&D processing
0 : use &D setting for determining behaviour upon DTR drop
1 : ignore &D value, force &D0 (DTR drop does nothing)

S124

0..255

1

Autobaud usage. Encoding is the sum of the following bitfields :
1 (bit 0, rightmost) : Autobaud usage
0 : Autobaud not in usage (necessary for speed >= 230,4kbps).
1 : Autobaud in usage (speed < 230,4kbps).


E0 

E1 

0..1

1

Command Echo

no command echo
command echo

Q

Q0

Q1

0..1

0

result codes suppression

enable result codes

disable result codes

V

V0

V1

0..1

1

result codes display format

numeric form of AT command.

verbose (litteral) form.

W

W0

 

W1

 

W2

 

0..2

0

negotiation progress indications

CONNECT reports DTE speed. If S95 is 0, disable extended negotiation message

CONNECT reports DTE speed. If S95 is 0, enable the CARRIER and PROTOCOL indications

CONNECT reports line speed. If S95 is 0, disable extended negotiation indications

X

 

X0

 

X1

 

X2

 

X3

 

X4

 

0..4

4

Result code selection and call progress monitoring. Subject to regulation constraints.

Busy detection disabled, dial tone detection disabled. Only CONNECT is allowed. W and S95 contents are irrelevant
Busy detection disabled, dial tone detection disabled. CONNECT xxx enabled
Busy detection disabled, dial tone detection enabled. CONNECT xxx enabled.

Busy detection enabled, dial tone detection disabled. CONNECT xxx enabled
Busy detection enabled, dial tone detection enabled. CONNECT xxx enabled

&C

 

&C0

&C1

&C2

0..2

0

CD (109, RLSD, DCD) behaviour for synchronous modes, CD follows 'carrier' state. For asynchronous modes :
CD is always on
CD tracks 'carrier'

CD on when on line, off when 'carrier' lost, on when idle

&D

&D0

 

 

 

&D1

 

 

&D2 

 

 

&D3

 

0..3

0

DTR (108) behaviour. See also S123

&Q0, &Q5 : DTR has no effect

&Q1 : DTR drop clears the call
&Q2 : DTR drop clears the call. DTR off to on starts dialing
&Q0, &Q1, &Q5 : DTR drop puts Pace ISDN TA in command state

&Q2 : DTR drop clears the call. DTR off to on starts dialing
&Q0, &Q5 : DTR drop clears the call
&Q1 : DTR drop clears the call. DTR must be on within S25 upon CONNECT. No autoanswer if DTR not present &Q2 : DTR drop clears the call. DTR off to on starts dialing. No autoanswer if DTR not present

&Q0, &Q1, &Q5 : DTR drop resets Pace ISDN TA  

&Q2 : DTR drop resets Pace ISDN TA. DTR off to on starts dialing

&K

&K0

&K1, &K3

&K2, &K4

0..4

3

DTE-DCE flow control

no flow control

RTS-CTS flow control

XON-XOFF flow control

&R

&R0

&R1

0..1

0

CTS (106) behaviour in synchronous modes (&Q1, &Q2)
CTS tracks RTS in the on-line state
CTS is on in the on-line state

&S

&S0 

&S1, &S2

0..2

0

DSR (107) behaviour in asynchronous modes (&Q0, &Q5)

DSR is always on

DSR on while on-line, off when idle

       

    

 

 

1.4  General Control, Profiles and Identification

 

Command

Range

Default

Description

S121

0..255

0

&F processing
0 : Usual processing (restart software using factory defaults)
255 : Do nothing

Other value: Switch to the specified DTE channel

S122

0..255

0

Z processing
0 : usual processing (restart software using stored profile)
255 : do nothing
Other value : switch to the specified DTE channel

I

I0

I1

I2

I3

I4

I5

I10

0..4

0

Identification and internal tests :

product numerical Identification

display ROM checksum

perform ROM checksum test

product name, revision level,

encoded product information

product auto-documentation, DTE channels summary

product litteral Identification

&V

   

display DTE channel settings and phone number directory

\S

   

display DTE channel settings and phone number directory

#V

   

display Pace ISDN TA settings

#H

0..7

 

display help page

Z

   

software restart, using stored profile.  See also S122

#Z

   

restart using current settings

&F

   

software restart, using factory defaults. See also S121

&W

   

save current parameters in stored profile. The parameters saved depend upon Pace ISDN TA functionality.

&Y

0, 255

0

select default profile upon Pace ISDN TA restart. 255 means : no profile, use factory defaults

/

   

product identification

 

 

1.5 Test Commands

These commands and parameters are useful for testing.

 

Command

Description

S141

local B-channel 1 loopback (data received from ISDN in the B1 channel are echoed to the ISDN)
0 : do not loopback B1
1 : loopback B1. Loopback must be performed
after the call is established

S142

local B-channel 1 loopback (data received from ISDN in the B2 channel are echoed to the ISDN)
0 : do not loopback B2
1 : loopback B2. Loopback must be performed
after the call is established


Previous Section | Contents | Next Section

Hosted by www.city-visitor.com