Preview only show first 10 pages with watermark. For full document please download

I-modul Isdn Hix V4

   EMBED


Share

Transcript

Designer's Guide i-modul ISDN HIX V4 Copyright © July 12 INSYS MICROELECTRONICS GmbH Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg. Trademarks The use of a trademark not shown below is not an indication that it is freely available for use. MNP is a registered trademark of Microcom Inc. IBM PC, AT, XT are registered trademarks of International Business Machine Corporation. INSYS®, e-Mobility LSG® and e-Mobility PLC® are registered trademarks of INSYS MICROELECTRONICS GmbH. Windows™ is a registered trademark of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. Publisher: INSYS MICROELECTRONICS GmbH Hermann-Köhl-Str. 22 D-93049 Regensburg, Germany Phone: +49 941 58692 0 Fax: +49 941 58692 45 E-mail: [email protected] Internet: http://www.insys-icom.com Date: Jul-12 Item: 31-22-04.028 Version: 1.0 Language: EN Content 1 2 Technical Data .........................................................................................6 1.1 Physical Features...................................................................................................6 1.2 Technological Features ..........................................................................................7 1.3 Certifications..........................................................................................................7 Connections.............................................................................................8 2.1 PCB Layout............................................................................................................8 2.2 Pin Layout Terminal Strip P1 .................................................................................9 2.3 Pin Layout Terminal Strip P2 .................................................................................9 2.4 Pin Layout Terminal Strip P3 ...............................................................................10 2.5 2.6 PIN Specifications................................................................................................11 2.5.1 Reset input ............................................................................................. 11 2.5.2 Indication Signals ................................................................................... 11 Connection Example for Serial Interface..............................................................12 2.7 Connection Example for Codec Interface ............................................................13 3 Function Overview .................................................................................14 4 Meaning of the Symbols and the Formatting in this Manual..................15 5 Operating Principle ................................................................................16 5.1 6 Operation with the Terminal Program..................................................................16 Functions ...............................................................................................18 6.1 Establishing or Accepting a Data Connection ......................................................18 6.1 Querying the Alarm Inputs...................................................................................20 6.2 6.6 Automatic Call .....................................................................................................21 6.2.1 Configuring an Automatic Call ............................................................... 21 6.2.2 Disabling an Automatic Call ................................................................... 24 Data flow control .................................................................................................25 6.3.1 Hardware Data Flow Control (RTS/CTS)................................................. 25 6.3.2 Software Data Flow Control with XON/XOFF ........................................ 26 Remote Configuration..........................................................................................27 6.4.1 Remotely Configuring the i-modul ISDN HIX V4 ................................... 27 6.4.2 Configuring the Remote Configuration Number .................................... 28 6.4.3 Configuring the Remote Configuration Password ................................. 28 6.4.4 Configuring the Permitted Callers for Remote Configuration ................ 29 Connection Configuration of the i-modul ISDN HIX V4 at the ISDN Basic Access ............................................................................................................................30 6.5.1 Configuration at Multipoint Interface (PMP, Point-to-Multipoint).......... 30 6.5.2 Configuration at Point-to-Point Interface (PTP, Point-to-Point).............. 30 Control Outputs ...................................................................................................31 6.7 TA+Configurator..................................................................................................32 6.8 Configuring the Transfer Protocol........................................................................33 6.9 Outputting CLIP of Incoming Calls ......................................................................34 6.3 6.4 6.5 6.10 Resetting the Device............................................................................................35 4 Jul-12 Contents 7 ISDN Error Messages.............................................................................36 7.1 Extended Error Messages with ISDN...................................................................38 8 Maintenance ..........................................................................................42 9 Firmware History ...................................................................................44 10 AT Command Reference ........................................................................45 11 Special ISDN Parameters .......................................................................53 12 S Register ..............................................................................................55 13 TA+Configurator Command Reference ..................................................56 14 Special AT Commands for Voice Functions ...........................................58 14.1 AT Commands for Accepting Voice Connections ................................................58 14.2 AT Commands for Controlling Voice Connections...............................................60 14.3 Responses of AT Commands for Voice Connections...........................................62 14.4 AT Commands for DTMF Detection.....................................................................65 15 Voice Connections at the Point-To-Point Connection.............................66 15.1 Incoming Voice Call .............................................................................................66 15.2 Outgoing Voice Call .............................................................................................66 16 Example for Handling Connections ........................................................67 16.1 Initiating and Ending an Outgoing Data Connection............................................67 16.2 Initiating and Ending an Outgoing Voice Connection ..........................................67 16.3 Accepting an Incoming Voice Connection...........................................................68 16.4 Holding Connections ...........................................................................................69 17 CE/EMC Compliant Integration ..............................................................70 17.1 Your Application ..................................................................................................70 17.2 Application Interface / Terminal Strip P1 .............................................................70 17.3 Network Interface / Terminal Strip P2 (for Modem /ISDN)...................................70 17.4 Antenna Connection (if equipped) .......................................................................71 17.5 Further Recommendations ..................................................................................71 17.6 Reference Documents .........................................................................................71 18 Declaration of Conformity ......................................................................72 19 Tables and Diagrams..............................................................................73 19.1 List of Tables .......................................................................................................73 19.2 List of Diagrams ..................................................................................................73 20 Jul-12 Index......................................................................................................74 5 Technical Data i-modul ISDN HIX V4 1 Technical Data 1.1 Physical Features All specified data was measured with nominal input voltage, at full load, and an ambient temperature of 25 °C. The limit value tolerances are subject to the usual variations. Physical Feature Value Operation voltage VCC +5 V (± 5%) DC HIGH level alarm input VIH > 2 V (max. VCC) LOW level alarm input VIL < 0.8 V HIGH level alarm output VOH > 2.4 V (3.3 V CMOS compatible) LOW level alarm output VOL < 0.4 V Input current of GND to internal VCC Typical 0.5 mA Maximum output current for state LOW IOLmax 1.6 mA Maximum output current for state HIGH IOHmax 100 μA Total current consumption in idle approx. 25 mA Total current consumption in active state approx. 60 mA Total maximum current consumption max. 110 mA Weight approx. 18 g Dimensions (Length x Width x Height) 56.4 mm x 56.4 mm x 13.1 mm Height of the terminal strip above PCB 6.5 mm PCB thickness 1.6 mm Temperature range 0°C – 70°C Maximum permissible humidity 95% non-condensing Table 1: Physical Features 6 i-modul ISDN HIX V4 1.2 Technical Data Technological Features Technological Feature Description Transmission speed in B channel: 64000 bps Transmission speed in D channel: 9600 bps (X31-D) Transmission standards B channel V.110, V.120, X75, X31/X25, HDLC (transparent), PPP sync-async, BAP/BACP/ML-PPP, bit-transparent Transmission standards D channel DSS1 Command sets Hayes dial (AT command set), V25bis async. Hotline 108 DTR SMS Sending T-Mobile, Vodafone, E-Plus I/O 2 inputs, 2 outputs Voice functionality yes Table 2: Technological Features 1.3 Certifications The i-modul ISDN HIX V4 has the following license number for the connection to the PSTN: CE-0682 for Europe (EC), Switzerland and Norway. The i-modul ISDN HIX V4 is conform to the European safety requirements IEC 60 950. The i-modul ISDN HIX V4 has been developed in compliance with the following guidelines and standards:  R&TTE 1999/5/EG  DIN EN 55022 Class B  DIN EN 61000-6-2  DIN EN 60950-1  CTR3 7 Connections i-modul ISDN HIX V4 2 Connections 2.1 PCB Layout P3 P2 P1 Figure 1: PCB layout, terminal strip and fixing hole position Figure 2: PCB layout, height profile Item Type Description P1 SAMTEC TW series 2-row 2 mm pitch or Fischer SLY 6 / 81 20 Z Serial interface, inputs and outputs P2 SAMTEC TW series 2-row 2 mm pitch or Fischer SLY 6 / 81 6 Z Phone network interface P3 SAMTEC TW series 2-row 2 mm pitch or Fischer SLY 6 / 81 6 Z Codec interface Table 3: Specification and assignment of the terminal strips 8 i-modul ISDN HIX V4 2.2 Pin Pin Layout Terminal Strip P1 Type 1 2 Supply 3 4 Connections Input 5 Signal Description GND Ground of supply voltage (ground) VCC 5V DC supply voltage GND Ground of supply voltage (ground) TXD Transmit signal from the terminal of the RS232 line; TTL level GND Ground of supply voltage (ground) 6 Output RXD Receive signal from the RS232 line; TTL level 7 Output ID-PIN2 Reserved for 2. ID PIN 8 Input RTS~ Request to Send; TTL level (RS232 signal) 9 Output ID-PIN1 VCC (internal pull-up 10 kOhm) 10 Output CTS~ Clear To Send; TTL level (RS232 signal) 11 Input RESET~ RESET, TTL level, tmin = 3 s 12 Input DTR~ Data Terminal Ready; TTL level (RS232 signal) 13 Output OH~ Off Hook 14 Output DCD~ Data Carrier Detect; TTL level (RS232 signal) 15 Output RI~ Ring Signal TTL level (RS232 signal) 16 Output DSR~ Data Set Ready; TTL level (RS232 signal) 17 Output UA Switch output; TTL level 18 Input UE Alarm input; TTL level 19 Output UA2 Switch output 2; TTL level 20 Input UE2 Alarm input 2; TTL level Table 4: Terminal strip connections description, terminal strip P1  2.3 The tilde "~" behind the signal description indicates that this signal is "low active". Pin Layout Terminal Strip P2 Pin Type Signal Description 1 Input SRB / RX- RJ45-Pin 5 2 Output STB / TX- RJ45-Pin 6 3 Input SRA / RX+ RJ45-Pin 4 4 Output STA / TX+ RJ45-Pin 3 5 Output Rx (BRA ps) Not connected 6 Output Tx (BRA ps) Not connected Table 5: Terminal strip connections description, terminal strip P2 9 Connections 2.4 i-modul ISDN HIX V4 Pin Layout Terminal Strip P3 Please observe further data from the Motorola MC145484 data sheet for implementing the codec interface (refer to www.motorola.com) Pin Type Signal Description 1 Output NF Out Codec analog output max. output voltage: load capacity: output current: load resistance: output impedance: 2 Output GND OUT Ground for output 3 Input NF IN Codec analog input max. input voltage: input resistance: input current: input capacity: 4 Input GND IN Ground for input Table 6: Terminal strip connections description, terminal strip P3 10 1.575 Vpk Cmax = 500 pF Imin = ± 1.0 mA Rmax = 1 kOhm 1 Ohm 1.575 Vpk Rmin = 10 MOhm Ityp = 0.1 µA Cmax = 10 pF i-modul ISDN HIX V4 2.5 Connections PIN Specifications All following specifications are based on a supply voltage of VCC = 5 V ± 5%. 2.5.1 Reset input Pin Signal Type Description 11 Reset Input Normal state: 1 (internal pull-up resistor) Reset: 0 (against GND) A minimum time of 3 s for activation is recommended to trigger the reset safely Table 7: PIN specifications - Reset input 2.5.2 Indication Signals Pin Signal Type Description 13 OH Output This output indicates Off-Hook of the modem. Signaling: Normal state: High (hung up) Off-Hook: Low (off-hook) 15 RI Output The ring indicator indicates an incoming connection attempt. Signaling: Normal state: High Ring: Low Table 8: PIN specifications - indication signals Figure 3: Connection example of the OH signal 11 Connections 2.6 i-modul ISDN HIX V4 Connection Example for Serial Interface Figure 4: Connection example of the serial interface 12 i-modul ISDN HIX V4 2.7 Connections Connection Example for Codec Interface Figure 5: Connection example for codec interface Figure 6: Connecting the codec interface with electret microphone 13 Function Overview 3 i-modul ISDN HIX V4 Function Overview The i-modul ISDN HIX V4 provides you with the following functions:  Operation at ISDN point-to-point and multipoint interface The i-modul ISDN HIX V4 can be operated at ISDN point-to-point interfaces as well as at multipoint interfaces.  Different transfer protocols The i-modul ISDN HIX V4 supports different transfer protocols, like e.g. X.75, V.110 and HDLC (for PPP connections).  Data buffering for serial transmission The i-modul ISDN HIX V4 provides send and receive buffers to adjust the i-modul ISDN HIX V4 to the data processing speed of the application.  Hardware and software data flow control The i-modul ISDN HIX V4 can interrupt the data flow of the application via the control lines of the serial interface, if the buffers of the i-modul ISDN HIX V4 exceed a certain level. An application can also prompt the i-modul ISDN HIX V4 via a control line to interrupt the data flow. As an alternative, the i-modul ISDN HIX V4 can control the data flow via XOFF/XON characters in the data stream.  Automatic call The i-modul ISDN HIX V4 can initiate an automatic call either depending on the DTR signal or independent of a status line.  Control outputs, controllable locally and remote The i-modul ISDN HIX V4 has two potential-free control outputs, which can be used to switch other functions in an application.  Remote configuration The i-modul ISDN HIX V4 can be configured remotely using another INSYS ISDN device and a terminal program.  Voice functionality The voice functionality allows to establish voice connections with other phones using a connected phone receiver for example. This provides an easy communication with the service personnel at the site. Moreover, the module also allows to accept voice calls. 14 i-modul ISDN HIX V4 4 Meaning of the Symbols and the Formatting in this M l Meaning of the Symbols and the Formatting in this Manual This section describes the definition, formatting and symbols used in this manual. The various symbols are meant to help you read and find the information relevant to you. The following text is structured like a typical operating instruction of this manual. Bold print: This will tell you what the following steps will result in After that, there will be a detailed explanation why you could perform the following steps to be able to reach the objective indicated first. You can decide whether the section is relevant for you or not.  An arrow will indicate prerequisites which must be fulfilled to be able to process the subsequent steps in a meaningful way. You will also learn which software or which equipment you will need. 1. One individual action step: This tells you what you need to do at this point. The steps are numbered for better orientation.  A result which you will receive after performing a step will be marked with a check mark. At this point, you can check if the previous steps were successful.  Additional information which you should consider are marked with a circled "i". At this point, we will indicate possible error sources and tell you how to avoid them.  Alternative results and steps are marked with an arrow. This will tell you how to reach the same results performing different steps, or what you could do if you didn't reach the expected results at this point. 15 Operating Principle 5 i-modul ISDN HIX V4 Operating Principle This chapter describes the basic procedures to operate and configure an i-modul ISDN HIX V4. In general, the i-modul ISDN HIX V4 is configured and operated via AT commands. You can enter these commands yourself with the help of a terminal program and the AT command reference. 5.1 Operation with the Terminal Program In general, any terminal program can be used. We recommend the program TeraTerm by T. Teranishi under Windows. It is available free of cost on the Internet at http://hp.vector.co.jp/authors/VA002416/teraterm.html. You can use the program "minicom" if you work in a Linux environment. Caution! Damage of the serial interface! A possible direct connection of the serial interface of the imodul ISDN HIX V4 with a typical RS232 interface of a PC overloads components of the module due to the higher voltage levels. Use an RS232 level converter (e.g. MAX232) to adjust both interface types correctly. Configuring and operating the i-modul ISDN HIX V4 with a terminal program How to configure and operate the i-modul ISDN HIX V4 with a terminal program.  The i-modul ISDN HIX V4 is connected to the PC and supplied with power.  A terminal program is installed on the PC. 1. Start your terminal program. 2. Select the serial port, to which your i-modul ISDN HIX V4 is connected.  3. Type the character string AT into the terminal program. Complete the entry by pressing the Enter key.   16 COM1 under Windows corresponds to /dev/ttyS0 under Linux. Each command input starts with AT and is completed with the Enter key. The i-modul ISDN HIX V4 replies with OK. i-modul ISDN HIX V4  4. If the i-modul ISDN HIX V4 does not respond, this may have three probable reasons: a) the i-modul ISDN HIX V4 is switched off or b) the i-modul ISDN HIX V4 is not in configuration mode or c) the i-modul ISDN HIX V4 is connected to another serial port. Check it and repeat step 3. Configure the i-modul ISDN HIX V4 using AT commands.  5. Operating Principle A reference of the AT commands can be found in the chapter "AT Command Reference". Save your entries with AT&W.  Not all configurations at the i-modul ISDN HIX V4 need to be saved actively by entering AT&W. Some settings are automatically saved immediately. We still recommend sending the command AT&W to the imodul ISDN HIX V4 as your last configuration step to ensure that all settings are stored safely and are available for the next restart. 17 Functions i-modul ISDN HIX V4 6 Functions 6.1 Establishing or Accepting a Data Connection The i-modul ISDN HIX V4 can call another ISDN TA (ISDN Terminal Adapter) via the phone line and establish a data connection. After dialling a phone number, the imodul ISDN HIX V4 synchronises with the called TA and opens a data connection. All incoming characters are transmitted to the other (called) TA during the active data connection. Therefore, AT commands are not processed during a connection. The i-modul ISDN HIX V4 must be changed to command mode again using an "Escape sequence" that it processes AT commands again during an active connection. Then, the local i-modul ISDN HIX V4 processes the entered characters as AT commands and does not transmit them to the remote terminal. The i-modul ISDN HIX V4 can accept an incoming connection in the same way. For this, the "application" or the PC with the terminal program must support the hardware data flow control at the serial interface, otherwise, the i-modul ISDN HIX V4 does not accept the incoming connection. In this case, the hardware data flow control must be disabled in the i-modul ISDN HIX V4 that a connection is accepted regardless of the status of the application. The i-modul ISDN HIX V4 answers after the configured number of ring tones and opens a connection. This hardware data flow control is activated by default. Configuration with AT commands In order to establish a data connection with the i-modul ISDN HIX V4, use the command ATD Replace with the phone number of the remote terminal. In order to configure the data connection protocol, use the command ATB Refer to the AT command reference for protocol details. In order to configure the data connection protocol, use the alternative command Refer to the AT command reference for protocol details. 18 AT**PROT i-modul ISDN HIX V4 If the remote terminal accepts the connection, the i-modul ISDN HIX V4 indicates Functions CONNECT If the remote terminal is busy, the i- BUSY modul ISDN HIX V4 indicates If no connection can be established, the i-modul ISDN HIX V4 indicates NO CARRIER if the i-modul ISDN HIX V4 cannot start a dial-up procedure, it indicates NO DIALTONE In order to change to command mode during a data connection, use the escape sequence +++ No data must be transmitted for 1 second before and after that the imodul ISDN HIX V4 changes to command mode. In order to change from command mode to normal data transmission again, use the command ATO In order to accept an incoming connection, use the command ATA In order to configure the number of ring tones after which the i-modul ISDN HIX V4 answers and accepts the connection, use the command ATS0= Replace with the number of ring tones. In order to terminate a connection and cause the i-modul ISDN HIX V4 ATH to hang up, use the command 19 Functions 6.1 i-modul ISDN HIX V4 Querying the Alarm Inputs The i-modul ISDN HIX V4 provides two digital inputs, which trigger an alarm condition when connecting to ground. The status of these alarm inputs can be queried via the respective S register using an AT command. The i-modul ISDN HIX V4 can send a message in case of an alarm. This message can be sent via data connection, as SMS or as e-mail via a service provider. The i-modul ISDN HIX V4 evaluates a connection of the input to ground as alarm. If no positive edge is counted at least 4 seconds after the negative edge, an alarm will be processed. A pause of at least 5 seconds is necessary after resetting the input before a new alarm can be triggered. Figure 7: Pulse evaluation Configuration with AT commands 20 In order to query the condition of alarm input 1, use the command ATS17? In order to query the condition of alarm input 2, use the command ATS18? The value "1" indicates an open input and the value "0" indicates a closed input. The response on the right indicates an open input for example. 001 OK i-modul ISDN HIX V4 6.2 Functions Automatic Call The automatic call allows to initiate a call to a phone number previously stored in the i-modul ISDN HIX V4. There are three possibilities for initiating a call. The call may be initiated by the DTR line of the serial interface or incoming data at the serial interface. Additionally, the i-modul ISDN HIX V4 can try to call a number immediately after switching it on. The phone number for the automatic call is taken from the dialling table "catab". If a connection could not be established successfully, the i-modul ISDN HIX V4 dials the next number from the dialling list. If none of the target phone numbers from the dialling list could be reached, the i-modul ISDN HIX V4 initiates an automatic redial. You can change the maximum number of attempts as well as the duration of the pause until the next call. 6.2.1 Configuring an Automatic Call In order to configure an automatic call, change to the Configurator mode of the imodul ISDN HIX V4 and enter the target phone number first, then select the trigger for the connection establishment and set the reset timer. The reset timer determines the time from the reset of the i-modul ISDN HIX V4 until the change to the "automatic call" mode. If an automatic call is enabled, you have the possibility to send AT commands to the i-modul ISDN HIX V4 during this time. The i-modul ISDN HIX V4 does not accept AT commands anymore after you have configured and enabled the automatic call. The reason for this is that incoming data are immediately transmitted to the called remote terminal. An established connection is indicated by the i-modul ISDN HIX V4 by the "OH" LED and "DCD" LED on the housing front. The automatic call is disabled in default setting . The dialling table "catab" is empty. Configuration with AT commands To start the TA+Configurator, use the command To configure or overwrite the target phone number(s) of the remote terminal, use the command ATCONF catab= Replace with values from 1 to 3. 21 Functions i-modul ISDN HIX V4 In order to initiate an automatic call, use the command The parameter defines the event, that triggers the connection establishment. Replace with the value - "6" for a connection establishment if the control line DTR is active; - "7" for a connection establishment if data are received at the serial interface; - "8" for a connection establishment independent of a control line; In order to disable the automatic call, use the command in order to determine a baud rate at the serial interface, which is set during the automatic call, use the command cmds=0 br= The automatic baud rate detection is disabled during the automatic call. In order to view the configurable baud rates, use the command br? In order to configure the reset timer, use the command rsttim= Set the reset timer to a value of at least 4 seconds. For this, replace "n" with a value in tenths of a second (e.g. 4 seconds is n=40). Save the settings with the command save In order to exit the TA+Configurator and enable the function of the automatic call, use the command go Further optional settings: Termination of the call after n seconds of an unsuccessful call. n = 3..255 (default: 15). 22 cato= i-modul ISDN HIX V4 Functions Dialling pause of n seconds before the next call attempt. n = 0..255 (default: 3, n=0 no call attempt). capa= Maximum number of attempts for each number entry in catab. n = 1..255; (default: 1) catry= In order to configure an idle time, after which the connection is terminated, if no data are transmitted, use the command idle= Replace with a value in seconds. Select n=0 to disable this function. In order to delete a target phone number, use the command catab=- Save the settings with the command save In order to exit the TA+Configurator and enable the function of the automatic call, use the command go 23 Functions i-modul ISDN HIX V4 6.2.2 Disabling an Automatic Call If the function "automatic call" is enabled, the i-modul ISDN HIX V4 does not accept AT commands anymore. To be able to configure the i-modul ISDN HIX V4 again, you must disable the function. To change the i-modul ISDN HIX V4 to configuration mode with enabled function "automatic call"  The function "automatic call" is active.  Your terminal program is connected to the i-modul ISDN HIX V4.  The serial interface speed is configured to 9600 bps. 1. Perform a reset of the i-modul ISDN HIX V4. 2. The terminal program displays the message "+++ press , , , to enter TA+Configurator +++".  3. Quickly double-press the "Enter" key and the "ESC" key.  24 This message does not appear if it is disabled by the command AT**RSTMSG=0. You are in the TA+Configurator and can configure the i-modul ISDN HIX V4 with the dedicated TA+Configurator commands again. 4. Enter cmds=0 , to disable the "automatic call" function. 5. Save the settings (if desired) with the command save. 6. Exit the remote configuration with the command go. i-modul ISDN HIX V4 6.3 Functions Data flow control The data flow control ensures that the data transfer is interrupted as soon as the buffer of the i-modul ISDN HIX V4 exceeds a certain level. There are two possibilities for data flow control: via the control lines RTS and CTS, or via the control characters XON/XOFF which are inserted into the data stream. 6.3.1 Hardware Data Flow Control (RTS/CTS) The hardware data flow control works in two directions. When the critical buffer level is exceeded, the i-modul ISDN HIX V4 will set the CTS line to "low" and will thus indicate to the application to interrupt the data flow. When the buffer is emptied sufficiently for the i-modul ISDN HIX V4 to be able to receive data again, the CTS line is set to "high". Reversely, the application can also indicate to the imodul ISDN HIX V4 to interrupt the data flow. This is done via the RTS line. If it is set to "low", the i-modul ISDN HIX V4 will interrupt the data flow to the application. The application will set it to "high" to request data from the i-modul ISDN HIX V4. Data flow control is set to hardware as default setting. Configuration with AT commands Enable hardware data flow control (RTS/CTS) with the command AT&K=3 Disable the data flow control with the command AT&K=0 25 Functions i-modul ISDN HIX V4 6.3.2 Software Data Flow Control with XON/XOFF When the input buffer of the i-modul ISDN HIX V4 exceeds a certain fill state, the imodul ISDN HIX V4 will insert an XOFF character into the data stream to the application. This character will cause the application to send no more data. It depends on the according application software if the XON/XOFF data flow control is supported. After the input buffer of the i-modul ISDN HIX V4 is emptied sufficiently that data can be received again, the i-modul ISDN HIX V4 will send an XON character to the application. This character will cause the application to send data to the i-modul ISDN HIX V4 again. Analogously, the application can insert XON/XOFF characters into the data stream to switch the data flow on and off. The XON/XOFF data flow control is only available when the transmitted data do not contain the characters XON or XOFF, which usually appear only in actual ASCII texts (7 bit). When binary data (programs, etc.) are transmitted, or in the XMODEM transmission protocol, for example, occasionally appearing XON or XOFF characters would disturb the operation. Configuration with AT commands 26 Enable the software data flow control XON/XOFF with the command AT&K=4 Disable the data flow control with the command AT&K=0 i-modul ISDN HIX V4 6.4 Functions Remote Configuration You can configure the i-modul ISDN HIX V4 with another ISDN TA from remote. You can configure a password, authorised callers as well as a remote configuration number to restrict access. The configuration is performed via the TA+Configurator. This is automatically started after the connection establishment for remote configuration. The remote configuration is active as default. No password is entered and all callers are authorised. 6.4.1 Remotely Configuring the i-modul ISDN HIX V4 The following describes the commands for the remote configuration of an imodul ISDN HIX V4 using a second i-modul ISDN HIX V4:  Your terminal program is connected to the local i-modul ISDN HIX V4. 1. Configure the B channel protocol X.75 at the local i-modul ISDN HIX V4 using the command ATB10. 2. Establish an ISDN connection to the "Remote TA" using the AT dialling command. Use the command ATDe.   3. The extension "e" at the end of the phone number establishes an internal control connection to the remote TA The "Remote TA" replies with a password request. password: Enter the correct password.  If the i-modul ISDN HIX V4 has been reset to factory settings: enter no password, just press Enter.  Each line starts with a "#" character during remote configuration. Use the TA+Configurator commands (refer to table TA+Configurator commands).  In order to read out the settings for example, use the command showall. 4. Configure the i-modul ISDN HIX V4, which is to be remotely configured, now. 5. Save the settings (if desired) with the command save. 6. Exit the remote configuration with the command go. 27 Functions i-modul ISDN HIX V4 6.4.2 Configuring the Remote Configuration Number You can assign an own, dedicated phone number for the i-modul ISDN HIX V4 for remote configuration access. The phone number of the caller is not requested in default setting . Configuration with AT commands In order to determine a separate remote configuration number, use the command AT**rmsn= 6.4.3 Configuring the Remote Configuration Password You can enter a password at the i-modul ISDN HIX V4 to increase the safety of the remote configuration. No password is entered in default setting. Configuration with AT commands In order to define a password, use the command 28 AT**rpwd= i-modul ISDN HIX V4 Functions 6.4.4 Configuring the Permitted Callers for Remote Configuration You can create a list with up to 10 (3 for FW < 1.027) phone numbers, which are permitted as caller numbers for remote configuration of the i-modul ISDN HIX V4. The i-modul ISDN HIX V4 ignores each incoming call with a phone number, which does not match with one of the entries of the list. The i-modul ISDN HIX V4 compares the number of the caller with each entry of the list for this. The comparison starts with the last digit of the phone number. It will be compared until an entry matches a caller number. If a table entry contains only an asterisk "*", each incoming call is accepted. If the table is empty, the i-modul ISDN HIX V4 accepts each caller for remote configuration. The list is empty as default setting. Configuration with AT commands In order to output the phone number of a caller together with the RING message in the terminal window, use the command ATV2 In order to define the permitted caller for remote configuration, enter the phone number of the permitted callers in the table racctab. is the number of the table entry and can take on the values 1 to 10 (3 for FW < 1.027). is the transmitted phone number of the permitted caller. The maximum length of the phone number is 20 digits. * : is a wildcard for one or more digits. AT**racctab= only the entered number is accepted AT**racctab1=089123456 all numbers starting with "089123" are accepted AT**racctab1=*89123* all numbers ending with "1234" are accepted AT**racctab1=*1234 all incoming calls are accepted, without sub-address AT**racctab1=* In order to query the table, use the command AT**racctab In order to delete an entry, use the command AT**racctab=- 29 Functions 6.5 i-modul ISDN HIX V4 Connection Configuration of the i-modul ISDN HIX V4 at the ISDN Basic Access 6.5.1 Configuration at Multipoint Interface (PMP, Point-to-Multipoint) In order to operate the i-modul ISDN HIX V4 at a multipoint interface, you must configure it accordingly and configure an own phone number (MSN). The MSN is always configured without area code. When operating at a PABX, you must only enter the extension number. The operation at a multipoint interface is configured and "*" is entered as phone number in the default setting. Configuration with AT commands To configure the multipoint interface connection type use the command AT**PTP=0 To set the phone number (MSN) use the command AT#z= To save the settings use the command AT&W 6.5.2 Configuration at Point-to-Point Interface (PTP, Point-to-Point) You can operate the i-modul ISDN HIX V4 at a point-to-point interface. A point-topoint interface is a special ISDN access, which allows that devices behind the access are accessible from outside with dedicated extension numbers. In order to operate the i-modul ISDN HIX V4 at a point-to-point interface, you must configure the "Point to point" type of connection.  This is not valid for the operation at an ISDN PABX. For this, proceed as described under Configuration at Multipoint Interface (PMP, Pointto-Multipoint). Configuration with AT commands 30 To configure the point-to-point interface connection type use the command AT**PTP=1 To set the phone number (MSN) use the command AT#z= To configure the TEI (is assigned by the phone provider) use the command AT**TEI= To save the settings use the command AT&W i-modul ISDN HIX V4 6.6 Functions Control Outputs The i-modul ISDN HIX V4 provides two control outputs, OUT1 and OUT2. They can be controlled independently of each other via AT commands. The outputs can also be switched via remote configuration. The outputs remain in a state until this is changed by a switch command. The state of the outputs can be queried in the status registers (S registers) S14 (output 1) and S15 (output 2). Both outputs are not connected to GND in default setting. Configuration with AT commands To switch the outputs use the command The following applies: is "0" for output 1 and "1" for output 2 and is "0" for Off and "1" for On. AT*Y, In order to enable output 1, use the command AT*Y0,1 In order to disable output 2, use the command AT*Y1,0 31 Functions 6.7 i-modul ISDN HIX V4 TA+Configurator The i-modul ISDN HIX V4 has a further command set, the so-called "TA+Configurator", besides the AT command set. This special command set is used in a terminal program after changing to the "TA+Configurator" besides the AT commands. The commands of the TA+Configurator can also be entered directly by adding the prefix AT** without having to change to the special TA+Configurator command set. The TA+Configurator is especially used for some functions of the imodul ISDN HIX V4, for example during remote configuration. A list of the command can be found in the section "TA+Configurator Commands". The entry is not case-sensitive. The TA+Configurator is not active by default when operating via a terminal program. Configuration with AT commands In order to use the TA+Configurator, use the command In order to display available parameters of a TA+Configurator commands, use the syntax Replace with a TA+Configurator command. Example for a TA+Configurator command to change the ISDN protocol to X.75 Example for a prefixed TA+Configurator command to configure the ISDN protocol to X.75 via a TA+Configurator command Example for a "usual" AT command to configure the ISDN protocol to X.75 In order to exit the TA+Configurator, use the TA+Configurator command In order to exit the TA+Configurator, use alternatively the TA+Configurator command 32 ATCONF ? Prot=10 AT**prot=10 ATB10 go quit i-modul ISDN HIX V4 Functions 6.8 Configuring the Transfer Protocol The information transfer in the ISDN B channel is performed via dedicated protocols. The i-modul ISDN HIX V4 supports different ISDN protocols, which can be used for specific applications. The following table lists all protocols supported by the i-modul ISDN HIX V4 with application examples. The X.75 protocol is enabled in default setting. ATB Protocol 0 V.110 asynchronous 3 4 5 6 10 13 20 HDLC async to sync conversion (PPP asynchronous) HDLC transparent (octets are packed into HDLC frames) Byte transparent voice connection (raw B channel data) Byte transparent data connection (raw B channel data) X.75 SLP 21 V.120 asynchronous X.31 B channel (X.25 B channel) X.31 D channel 31 MLPPP Usage For connections to the GSM network (CSD data connection). The bit rate (300 to 38.400 bps) must be identical at both communication partners. For remote data transmission connections or connections to an internet provider. Control protocol for point-to-point data transmission. Usually connection with X.75 for data protection used. HDLC uses no control characters. The usage of "frames" and "windows" during transmission allows to detect errors and repeat the partial transmission, if required. Byte-by-byte transmission without protocol. Protocol for byte-transparent data transmission. Standard protocol for data transmission in packetswitched networks in ISDN with transfer rate up to 64 kbit/s. Takes over the same tasks like V.42 for modem connections in principle. The size of the data blocks on level 2 (Datalength, Framesize, Blocksize) and the maximum number of blocks to be sent (Windowsize) can be configured. This protocol is adjusted to V.110. Protocol for data transfer in packet.switched networks like Datex-P of Deutsche Telekom. X.31 is an international manufacturerindependent ITU standard for connecting ISDN systems to X.25 networks. Packet-mode terminals are supported by ISDN by X.31. For channel bundling; provides a higher transmission rate of up to 128 kb/s. Table 9: Supported ISDN protocols with usage 33 Functions i-modul ISDN HIX V4 Configuration with AT commands 6.9 To select the protocol, enter a value from the "AT-" column of Table 9 for the parameter . ATB To set the V.110 asynchron protocol use the command ATB0 To set the HDLC transparent protocol use the command ATB4 Outputting CLIP of Incoming Calls The i-modul ISDN HIX V4 can output the phone number of incoming calls via its serial interface using CLIP (Calling Line Identification Presentation). This function can be used for example to acknowledge messages, which are sent to a mobile phone by an application via the i-modul ISDN HIX V4. The CLIP of the caller is output in the format [xxxxxxxx]. Configuration with AT commands In order to display the phone number vie CLIP using the extended responses, use the command In order to define, which type of incoming calls are to be indicated use the command In order to indicate all calls, use the command In order to output the number of the last caller, use the command In order to indicate only analogue calls for example, use the command 34 ATW1 AT#C2 AT#C2=00000001 AT#O AT#C2=00030012 i-modul ISDN HIX V4 6.10 Functions Resetting the Device The i-modul ISDN HIX V4 can be reset (restarted) in several ways: By briefly disconnecting the power supply, by pressing the Reset key at the front for at least three seconds, by connecting the "RESET" input to GND for at least three seconds, or using an AT command. Resetting the device to factory default settings is performed using an AT command. Configuration with AT commands In order to restart the i-modul ISDN HIX V4, use the command AT**RESET In order to reset the standard parameters of the i-modul ISDN HIX V4 to default settings, use the command AT&F In order to reset the standard parameters and additionally the ISDN parameters of the AT&F1 i-modul ISDN HIX V4 to default settings, use the command In order to save the default settings, use the command AT&W 35 ISDN Error Messages 7 i-modul ISDN HIX V4 ISDN Error Messages The exact failure cause is recorded in the protocol memory of the i-modul ISDN HIX V4 in case of a faulty connection establishment. Possible error messages are described here; a complete list of the possible error messages can be found in the subsequent table (refer to section 7.1). Protocol error layer 1 (error code 3301) There is no physical connection to the ISDN network. Check the cable confection between the ISDN adapter and the ISDN port. Are you using a suitable cable? Is the connection socket properly installed? Is the ISDN network terminator correctly activated? Do you have other devices on your ISDN line that are maybe faulty or that are blocking the S0 bus? Protocol error layer 2, e.g. DTE address not valid, TEI not valid (error code 3302) Could not connect to the ISDN network. This may be due to a wrong ISDN protocol. Have you set "1TR6" (German ISDN) as ISDN protocol even though your ISDN line is set up for "DSS1" (Euro ISDN). or vice versa? Unallocated (unassigned) number (error code 3481) "No connection under this number". The number you are calling could not be reached because it has no line assigned to it. The phone number has the right format. Enquire at your telephone company or the operator of your telephone exchange what the correct number is. Normal call clearing (error code 3490) "Connection terminated normally". One of the users of the connection cancelled the connection. The connection was not cancelled by the ISDN network. User busy (error code 3491) "Busy". The number you are calling cannot answer any calls at the moment because all channels are being used. No user responding (error code 3492) The number you are calling did not answer within the time period required by your connection. There is probably no terminal device connected to the number you are calling. Contact the other party to establish the cause. No answer from user (user alerted) (error code 3493) The number you are calling confirmed call received within the time period required, but a connection was not established, however. If the terminal device of the other party is a telephone, then it rang, but the call was not answered. Try again later. Call rejected (error code 3495) The device reached under the phone number refused the call, although it was not busy and was able to answer the call. Example: if the ISDN option "Call waiting" is activated on the other's party line, a telephone can answer your call even if a call is 36 i-modul ISDN HIX V4 ISDN Error Messages in progress at the time. This error message occurs when your waiting call is refused by the person you are trying to reach. Number changed (error code 3496) The phone number of the party you are calling has changed. Contact your telephone company for the new number. Destination out of order (error code 349B) The terminal device on the number you are calling could not be reached, because the port for this device did not work. Possible causes: the other party's terminal device is not connected or not turned on, or it is not working properly. Contact the other party to find out the cause. Invalid number format (error code 349C) The party you are calling could not be reached because the number you called is in the wrong format or incomplete. No circuit/channel available (error code 34A2) No B channel is available for a call at the moment. Upon this, the i-modul ISDN HIX V4 initiates a blockade release and clears a B channel with this. ISDN network out of order (errror code 34A6) Problems in the ISDN network. Wait a while and try again. Temporary failure (error code 34A9) Temporary problems in the ISDN network. You can try again immediately. Incompatible destination (error code 34D8) The terminal device of the other party is not compatible with the terminal device that is making the call. The call cannot be answered, therefore. This error could occur, for example, if the terminal device of the other party is a normal telephone. 37 ISDN Error Messages 7.1 Extended Error Messages with ISDN Cause (hex) Meaning 0000 No error 0001 NCPI ignored 0002 Flags ignored 0003 Alert already sent 1001 Too much CAPI applications 1002 Logic block size too small 1003 Buffer bigger than 64k 1004 Buffer of the message to small 1005 Too much logical connections 1006 Reserved 1 1007 Message has not been accepted 1008 Register: OS resources failure 100A External equipment not supported 100B Only external equipment 1101 Wrong application ID 1102 Invalid command or message length 1103 Message queue full 1104 Message queue empty 1105 Message has been lost 1106 Unknown message 1107 Message not accepted 1108 OS resources failure 1109 CAPI not installed 2001 Wrong state 2002 Invalid identifier 2003 No PLCI free anymore 2004 No NCCI free anymore 2005 No LISTEN free anymore 2006 No fax resource existing anymore 2007 Invalid message parameters 3001 B1 protocol not supported 3002 B2 protocol not supported 3003 B3 protocol not supported 3004 B1 protocol parameter not supported 3005 B2 protocol parameter not supported 38 i-modul ISDN HIX V4 AT response X.25 response i-modul ISDN HIX V4 Cause (hex) Meaning 3006 B3 protocol parameter not supported 3007 B channel protocol combination not supported 3008 NCPI not supported 3009 Unknown CIP value 300A Flags not supported 300B Facility not supported 300C Data length not supported 300D Reset procedure not supported 3301 Protocol error layer 1 3302 Protocol error layer 2, e.g. DTE address not valid, TEI not valid 3303 Protocol error layer 3 3304 Another application has accepted the call 3311 Fax remote station is no fax 3312 Fax training terminated with error 3313 Fax connection termination before data transmission 3314 Fax connection termination remote termination 3315 Fax connection termination remote procedure 3316 Fax connection termination "local transmitter underrun" 3317 Fax connection termination "local receiver overflow" 3318 Fax connection termination "local abort" 3319 Fax invalid send data 3481 ISDN Error Messages AT response X.25 response Unallocated (unassigned) number 3 13, 78 3482 No route to transit network 3 0D, 78 3483 No route to destination 3 0D, 78 3486 Channel unacceptable 6 05, 78 3487 Call awarded and being delivered in an established channel 6 05, 78 3490 Normal call clearing 3 00, 78 3491 User busy 7 01, 78 3492 No user responding 8 09, 78 3493 No answer from user (user alerted) 8 09, 78 3494 No answer from user (device off) 8 09, 78 3495 Call rejected 8 21, 78 3496 Number changed 3 0D, 78 39 ISDN Error Messages i-modul ISDN HIX V4 Cause (hex) Meaning AT response X.25 response 349A Non selected user clearing 3 00, 78 349B Destination out of order 8 09, 78 349C invalid number format 3 13, 78 349D Facility rejected 3 13, 78 349E Response to STATUS ENQUIRY 3 13, 78 349F Normal disconnect, unspecified 3 00, 78 34A2 No circuit/channel available 7 01, 78 34A6 ISDN network out of order 6 05, 78 34A9 Temporary failure 6 05, 78 34AB Access information discarded 6 05, 78 34AC Requested circuit/channel not available 6 05, 78 34AE Precedence call blocked 6 05, 78 34AF Resource unavailable, unspecified 6 05, 78 34B1 Quality of service unavailable 3 13, 78 34B2 Requested facility not subscribed 3 13, 78 34B5 Outgoing calls barred within CUG 3 13, 78 34B7 Incoming calls barred within CUG 3 13, 78 34B9 Bearer capability not authorized 3 13, 78 34BA Bearer capability not presently available 3 13, 78 34BF Service or option not available, unspecified 3 13, 78 34C1 Bearer capability not implemented 3 13, 78 34C2 Channel type not implemented 3 13, 78 34C5 Requested facility not implemented 3 13, 78 34C6 Only restricted digital information bearer capability is available 3 13, 78 34CF Service or option not implemented, unspecified 3 13, 78 34D1 Invalid call reference value 3 21, 78 34D2 Identified channel does not exist 3 21, 78 34D3 A suspended call exists, but this call identity does not 3 21, 78 34D4 Call identity in use 3 21, 78 34D5 No call suspended 3 21, 78 34D6 Call having the requested call identity has been cleared 34D7 User not member of CUG 3 21, 78 34D8 Incompatible destination 3 21, 78 34DA Non-existent CUG 3 21, 78 34DB Invalid transit network selection 3 21, 78 40 21, 78 i-modul ISDN HIX V4 ISDN Error Messages Cause (hex) Meaning AT response X.25 response 34DF Invalid message, unspecified 3 21, 78 34E0 Mandatory information element missing 3 21, 78 34E1 Message type non-existent or not implemented 3 21, 78 34E2 Message not compatible with call state or message type non-existent or not implemented 3 21, 78 34E3 Information element /parameter non-existent or not implemented 3 21, 78 34E4 Invalid information element contents 3 21, 78 34E5 Message not compatible with call state 3 21, 78 34E6 Recovery on timer expiry 3 21, 78 34E7 Parameter non-existent or not implemented, passed on 3 21, 78 34EF Protocol error, unspecified 6 05, 78 34FF Network interworking error, unspecified 6 05, 78 41 Maintenance 8 i-modul ISDN HIX V4 Maintenance Firmware Update Note Function loss due to faulty update! The i-modul ISDN HIX V4 may loose its function, if it is updated with a wrong firmware or if the transfer of the firmware was faulty. Before updating the firmware of the i-modul ISDN HIX V4, contact the INSYS MICROELECTRONICS support department. They will provide you with the suitable firmware version for your i-modul ISDN HIX V4 . The firmware of the i-modul ISDN HIX V4 can be updated to add further functions to the i-modul ISDN HIX V4 or to improve the existing functions. A firmware update can be performed with a terminal program, which supports XMODEM-1k uploads (like Hyperterminal). Firmware update with a terminal program How to load new firmware to the i-modul ISDN HIX V4.  You will need a terminal program that supports Xmodem-1k file transfers, like Hyperterminal.  You will need the appropriate firmware for your i-modul ISDN HIX V4.  The i-modul ISDN HIX V4 is connected to the PC. 1. Start your terminal program. 2. Activate hardware handshake in the terminal program. 3. Configure the baud rate of the serial interface to 115200 and the data format to 8N1. 4. Open the serial interface, to which the i-modul ISDN HIX V4 is connected. 5. Type in "AT" and confirm with "Enter".   42 The i-modul ISDN HIX V4 replies with OK. If the i-modul ISDN HIX V4 does not respond, check the connection and if the device receives power at all. Continue with step 2. i-modul ISDN HIX V4 6. Check the version of the currently used firmware by entering the command AT**ver.  7. The i-modul ISDN HIX V4 displays the version of the currently used firmware, e.g.: HUX0530 V1.027 Jun 18 2007 16:30:57 Type in AT**FLASH to start the firmware upload.   8. Maintenance The i-modul ISDN HIX V4 replies " Erasing Flash Eprom now. Please wait…" The i-modul ISDN HIX V4 replies "Send your XMODEM transfer now (Ctrl-X aborts) …" Send the firmware file with the file transfer protocol 1k-XMODEM using the terminal program.   If you do not send a firmware file, the i-modul ISDN HIX V4 will terminate the procedure after approx. 60 seconds. The i-modul ISDN HIX V4 indicates the successful upload of the firmware with e.g.: Loading procedure ended successfully.  If the firmware update fails, the i-modul ISDN HIX V4 responds to all AT commands (like e.g. at**ver) with the reply: ERROR: BOOT LOADER ACTIVE. Configure the baud rate to 115.200 bps in any case. If you only enter AT, OK will be returned. Repeat the firmware update in this case. Observe that your terminal program really uses the XMODEM-1K protocol.  If you didn't receive the previous message for a successful upload, the upload has most probably failed. Try to reset the i-modul ISDN HIX V4 and to repeat the process from step 4. If this fails and the i-modul ISDN HIX V4 does no longer react to AT commands, please contact the INSYS MICROELECTRONICS support department.  The i-modul ISDN HIX V4 will reset itself and is ready for operation. 43 Firmware History 9 i-modul ISDN HIX V4 Firmware History Date Version 26.06.2006 1.000  New development 20.07.2006 1.001  No functional changes 12.02.2007 1.002  S register S70 implemented  Command AT**VMSN added  CLIP number is transmitted with country code Table 10: Firmware History 44 Description i-modul ISDN HIX V4 10 AT Command Reference AT Command Reference Default values are printed bold. Command Description A/ Repeat the last command This command repeats the commands of the last entered command line. ATA Accept incoming call An incoming call can be accepted with this command if automatic call acceptance is disabled (register S0 = 0). An incoming call is indicated by the "RING" message or the code "2". This command must be the last in an AT command line. ATA[//] ATB Data transmitted with UUS1 signaling B channel protocol Transmission protocol for data in B channel. ATB0 V.110 asynchronous (e.g.: for connections to GSM devices) ATB1 V.110 synchronous ATB3 HDLC async to sync conversion (PPP asynchronous, single link PPP) (e.g.: for internet / communication network access) ATB4 HDLC transparent (octets are packed in HDLC frames) ATB5 Byte-transparent Voice (B channel data) ATB6 Byte-transparent Data (B channel data) ATB10 X.75-NL (e.g.: for direct ISDN-ISDN data connections) ATB13 V.120 asynchronous ATB20 X.31 B channel (X.25 B channel, option) ATB21 X.31 D channel (option) ATB31 Multilink PPP ATB40 external IOM ATB43 external Data ATB45 external Audio Data Note: Not all parameters listed here are available for all devices. The availability of the parameters depends on the respective device. 45 AT Command Reference Command AT%B i-modul ISDN HIX V4 Description Configures local baud rate Sets the local baud rate of the i-modul ISDN HIX V4 to the desired value (fix value) or to autobauding. If autobauding is configured, the i-modul ISDN HIX V4 detects the required baud rate with each AT command entered via the terminal program (PC). The same baud rate must be configured at the PC for all other settings. This command must be the last in an AT command line. AT%B0 Automatic baud rate detection enabled (autobauding) AT%B1 Local baud rate 1.200 bit/s AT%B2 Local baud rate 2.400 bit/s AT%B3 Local baud rate 4.800 bit/s AT%B4 Local baud rate 9.600 bit/s AT%B5 Local baud rate 19.200 bit/s AT%B6 Local baud rate 38.400 bit/s AT%B7 Local baud rate 57.600 bit/s AT%B8 Local baud rate 115.200 bit/s AT%B9 Local baud rate 230.400 bit/s Note: ATCONF AT&C AT#C AT#C1=hbhb If autobauding is enabled (default) and no AT command ins entered into the i-modul ISDN HIX V4 after switching on, the messages from the i-modul ISDN HIX V4 (e.g. RING) are sent with a baud rate of 115.200 bit/s. Autobauding works only with the data format 8N1. Starting the INSYS ISDN TA+Configurator Starts directly the INSYS ISDN TA+Configurator. The "#" prompt of the configurator is displayed. The INSYS ISDN TA+Configurator is exited with the command "quit". DCD Processing Configures the behaviour of the DCD line of the i-modul ISDN HIX V4. AT&C i-modul ISDN HIX V4 control line DCD is always ON AT&C1 DCD ON indicates that an ISDN connection is established and synchronised Bearer channel service Indicates the bearer channel service, which has been received with an incoming call, in hexadecimal encoding hbhb. The value of hbhb (word) is the CIP value, as defined in the CAPI 2.0 specification. Configure outgoing bearer channel service Configures the bearer channel service, which is transmitted with an outgoing call. The value of hbhb (word) is the CIP value, as defined in the CAPI 2.0 specification. (Default 0002). Example: AT#C1=0002: outgoing call as data call. AT#C1=0004: outgoing call as voice call 46 i-modul ISDN HIX V4 Command AT#C2=hbhbhbhb ATD AT Command Reference Description Configure incoming bearer channel service Configures the bearer channel service, which is accepted with an incoming call. The value of hbhbhbhb (double word) is the CIP mask, as defined in the CAPI 2.0 specification. (Default 00000004). Example: AT#C2=00000001: accepts all incoming calls. Note: The command AT#C1 must be set prior to a connection establishment. In order to use the predefined services, configure the standard values with AT&F. Connection establishment Dials the specified number (D for dial). The dialling modifiers "W", ">", "T", ";", "@" can be freely inserted into the dialling string. They have no influence on the dial-up procedure of the i-modul ISDN HIX V4. Entering a letter during dial-up terminates the dial-up procedure. ATD[/][//] [,X[Pxxx-][R ][N ][G ]][D]] CALLEDnumber: "P": ISDN phone number for a selected B channel connection, or X.25 number for X.31 D channel Dialled sub-address Transmitted data with UUS1 signalling Packet size xxx for X.25 connection Reverse charge by the recipient (only with X25) Access to closed X.25 user group Outgoing call from closed X.25 user group Use NUI and password permitted characters: a-z, A-Z, 0-9. (overwrites the characters of the NUI configuration command) dialled X.25 phone number (only X.25 B channel) Separator for user data: "D" or ",": user data without ID protocol user data with ID protocol ("01000000") ATDL Dial last dialled number ATDS=n Dial number n from the stored phone number list (n=1..3) subaddr UUS1data P: R: G: O: N: X25number: D: (Refer to the command AT&Z for saving numbers) ATDe HIX V4 (refer to note). Note 1: Note 2: Call for remote access to the i-modul ISDN In order to configure the own sub-address, refer to the command sub. If an "e" is appended to CALLEDnumber, this indicates that a connection to the internal remote access of the i-modul ISDN HIX V4 is to be established. For this, the X.75 protocol (ATB10) must be used. 47 AT Command Reference Command AT&D ATE AT&FL ATH i-modul ISDN HIX V4 Description DTR Processing Determines the behaviour of the i-modul ISDN HIX V4 when changing the DTE line DTR from ON to OFF. AT&D Condition of the DTR line is ignored AT&D2 Condition of the control line DTR is evaluated: A falling signal on the DTR line terminates an existing ISDN connection (default). An incoming call is only accepted with enabled DTR. Locale echo Configures the local echo in command mode. ATE No locale echo ATE1 Local echo during command input enabled (default) Loads the default settings The default settings are loaded, ISDN protocol settings and MSNs are not overwritten. (Use the command AT&W for saving to the non-volatile memory). AT&FL All parameters, which refer to the data port, are reset. AT&FL All parameters including ISDN protocol, MSN settings, and password are reset. Terminate connection Terminates an existing ISDN data connection after entering the escape sequence. ATH[//] UUS1data ATI AT*I Transmitted data with UUS1 signalling Displays version information Displays different information about version number and settings: ATI1 Replies the internal checksum ATI3 Replies the version string ATI5 Replies the selected ISDN protocol ATI9 Replies the "plug and play" ID string ATI77 Replies the bootloader version ATI99 Replies the date of the software creation Querying the alarm inputs Response: , Values: 0 Input enabled (LOW) 1 Input open (HIGH) This command can also be performed remotely. The input condition is also stored in the registers S17 and S18 (read only). Note: Not valid for Socket ISDN and Pocket ISDN. 48 i-modul ISDN HIX V4 Command AT&K AT#M AT*M AT Command Reference Description Data flow control Determines the behaviour of the data flow control of the i-modul ISDN HIX V4 during data communication. AT&K No local flow control between DTE and i-modul ISDN HIX V4 is used AT&K3 Local flow control Hardware Handshake RTS/CTS configured AT&K4 Local flow control Software Handshake XON/XOFF configured Received CLID Displays the "Call Line IDentification" (CLID), which has been received with the incoming call – this is the number of the called party at the local S0 bus (dialled MSN). Transport protocol for alarm messages AT*M0 Via data connection with the B channel protocol configured with ATB AT*M1 As SMS into the D1 network (protocol TAP with X.75) AT*M2 As SMS into the Vodafone D2 network (protocol UCP with X.75) AT*M3 As SMS into the E-Plus network (protocol TAP) The SMS gateways of the GSM network providers are entered with AT&Z1 Note: ATN Not valid for Socket ISDN and Pocket ISDN. Configures transmission baud rate V.110 Configures the transmission baud rate of the i-modul ISDN HIX V4 to the desired value. (Only valid for V.110 asynchronous B channel protocol). ATO AT#O ATQ ATN0 Transmission baud rate is configured automatically (equal or less compared with the local baud rate) ATN1 Transmission baud rate 1.200 bit/s ATN2 Transmission baud rate 2.400 bit/s ATN3 Transmission baud rate 4.800 bit/s ATN4 Transmission baud rate 9.600 bit/s ATN5 Transmission baud rate 19.200 bit/s Returning to online mode If the i-modul ISDN HIX V4 is in command mode after entering the escape sequence during an existing connection, ATO will return the i-modul ISDN HIX V4 back to data mode. This command must be the last in an AT command line. Received CLIP Displays the "Calling Line Identification Presentation" (CLIP), which has been received with the incoming call – this is the number of the calling party. Response suppression Result codes and messages can be suppressed with this command. ATQ Replies status messages after entering a command (default) ATQ1 No replies are output 49 AT Command Reference Command AT&R AT#R i-modul ISDN HIX V4 Description CTS Control Configures the behaviour of the CTS control line of the i-modul ISDN HIX V4. AT&R The i-modul ISDN HIX V4 CTS control line follows all changes of RTS AT&R1 CTS is always ON Processing incoming calls Determines the behaviour of the i-modul ISDN HIX V4 if an incoming call is received. If AT#R1 is enabled, all incoming calls are ignored regardless of all other settings. ATS AT#R Disables the automatic rejection of all incoming calls AT#R1 Enables the automatic rejection of all incoming calls Displays and sets the internal S registers ATSnn? Displays the current value (decimal) of the selected register nn ATSnn=xx Sets the selected register nn to the decimal value xx. For an overview of the S registers, refer to section 1 AT&S ATV AT&V AT*V DSR Processing Configures the behaviour of the DSR control line of the i-modul ISDN HIX V4. AT&S i-modul ISDN HIX V4 control line DSR is always ON AT&S1 DSR ON indicates that an ISDN connection is established and synchronised Message format ATV Reply is output as number (followed by <>) ATV1 Reply is output as text Shows the current configuration AT&V Displays the current configuration of the AT command set settings, including the stored ISDN numbers AT&V1 Displays the current configuration of the extened AT command set settings Alarm texts AT*V? Querying the alarm texts AT*V Entering the alarm texts following the prompt NEW ALARMTEXT: 0 Collective message (160 characters without individual messages, 120 characters with individual messages) 1 Individual message for alarm 1 2 Individual message for alarm 2 The index n=0 may be omitted. Note: Not valid for Socket ISDN. I-modul ISDN HIX and Pocket ISDN. 50 i-modul ISDN HIX V4 AT Command Reference Command Description AT*V Alarm texts AT*V? Querying the alarm texts AT*V= Defines the alarm text of the respective message Collective message (160 characters without individual messages, 120 characters with individual messages) 1 Individual message for alarm 1 2 Individual message for alarm 2 Alarm text The index n=0 may be omitted. Note: Only valid for i-modul ISDN HIX V4. ATW 0 Extended reply values ATW Result is displayed with extended reply values ATW1 Result is displayed with extended reply values RING and CONNECT contain the ISDN address, all others contain the cause of error. The message RINGING is displayed. AT&W ATX AT*X AT*Y Saves the active configuration The active configuration is saved to the non-volatile memory. Reduced result messages Reduces the number of result messages after attempting to establish a connection. ATX0 only "CONNECT" (without transmission speed) ATX1 "CONNECT" with transmission speed, "BUSY", "NO DIALTONE" are not used. ATX2 "CONNECT" with transmission speed, "BUSY" is not used. ATX3 "CONNECT" with transmission speed, "NO DIALTONE" is not used. ATX4 "CONNECT" with transmission speed, all messages are used. Alarm triggering AT*X1 Alarm 1 is triggered AT*X2 Alarm 2 is triggered Note: Not valid for Socket ISDN and Pocket ISDN. Setting the control outputs AT*Y, Note: 0 Output OUT1 1 Output OUT2 0 Normally closed 1 Normally open 2 follows DCD (only for OUT1) Not valid for Socket ISDN and Pocket ISDN. 51 AT Command Reference Command ATZ AT&Z i-modul ISDN HIX V4 Description Loading saved settings The active configuration is replaced with the saved setting. This command must be the last in an AT command line. Saves phone number AT&Zx=nn Writes the phone number nn as entry with the number x (1..3) AT&Zx=- Deletes entry number x AT&Zx Displays entry number x AT&Z Displays all entries Note: Refer to configurator command catab for further information. Fix assignment for alarm functions AT&Zx=nn x=1 Target number for data connection Service Center Number for SMS dispatch (gateway) x=2 Mobile phone number SMS recipient for alarm 2 x=3 Mobile phone number SMS recipient for alarm 1 Note: AT#Z AT&Z3=nn defines the recipient number for both alarm messages for the i-modul ISDN HIX (AT&Z2=nn has no effect). Defines the MSN Defines the MSN nn (Multiple Subscriber Number) for the data port. If the number is configured to "*" (default), all incoming calls are accepted. The MSN can be displayed with the command AT#H or AT&V. AT#Z=nn Sets MSN to nn AT#Z Displays currently configured MSN. The MSN is automatically stored in the non-volatile memory (without entering AT&W). Note: Table 11: AT command overview 52 If 1TR6 D channel protocol is configured, only one or the last digit is valid. i-modul ISDN HIX V4 11 Special ISDN Parameters Special ISDN Parameters You can make additional ISDN settings with this command set. Only one command is allowed per line; default values are printed bold. Command AT**BSIZE Description Configures B channel block size Defines the maximum length x of a received or transmitted data block in the B channel (default: BSIZE = 2048). AT**BSIZE=x The value changes with configuring the B channel protocol (ATBx). AT**DBITS Number of data bits x at the DTE interface (7,8) Number of data bits x for asynchronous characters (7, default: 8) AT**DBITS=x AT**DTE Configures B channel layer 2 address Configures the layer 2 link address. Only valid for HDLC based protocols (X.75, LAPB). AT**DTE=0 Calling party reacts as DTE, Calling party reacts as DCE (default, X.75 standard) AT**DTE=1 TA reacts as DTE (own address = 01) AT**DTE=3 TA reacts as DCE (own address = 03) The value changes with configuring the B channel protocol (ATBx). AT**K Configures layer 2 window size Sets the window size x of the layer 2 B channel protocol: fault: 7 x = 1 ..7, de- AT**K=x The default value depends on the configured B channel protocol. AT**LLC Configures layer 2 compatibility (LLC) Defines the LLC value for outgoing calls in hexadecimal format. Sometimes, a certain LLC value is required to transfer detailed information about the used B channel protocol to the called party. This can be achieved by configuring the LLC to a fix value. AT**LLC=- Deletes the LLC value (default: LLC is empty). AT**LLC=8890 Entering a new LLC value The value changes with configuring the B channel protocol (ATBx). AT**PTP AT**RPWD Configures the ISDN interface type AT**PTP=0 Configures Point-to-Multipoint mode (default); for multipoint interface AT**PTP=1 Configures Point-to-Point mode (to connect ISDN exchange systems); for point-to-point interface Password for remote configuration Sets the password for remote configuration to nn (1..32 chars). Default: no password. AT**RPWD=nn 53 Special ISDN Parameters Command AT**SPID AT**STATUS i-modul ISDN HIX V4 Description Configures SPID (optional) An SPID must be configured for ISDN lines in USA. This will be provided by your ISDN provider. AT**SPID1=xxxx Configures SPID 1 AT**SPID2=xxxx Configures SPID 2 Displays the status of the ISDN line Status display example: Current status information serial line: DTR:on, RTS:on, DSR:on, CTS:on, DCD:off, RI:off ISDN: L1:up Dch: Prot:DSS1 State:disconnected, CdPN:, CgPN:, prev error: 0 Bch: Prot:Async HDLC State:disconnected, CdPN:, CgPN: Serial line: Displays the states of the serial line signals ISDN: Displays the state of the ISDN connection: L1:up: ISDN connection detected/present L1:down: ISDN connection not detected/present Dch: Displays the state of the D channel Bch: Displays the state of the B channel Prot: State: CdPN: CgPN: prev error: AT** Used protocols on the channel Connection state Called Party Number Calling Party Number Error code of the last connection Executes configuration command Executes a configuration command . Table 12: Special ISDN parameter command overview 54 i-modul ISDN HIX V4 12 S Register S Register The i-modul ISDN HIX V4 contains status registers, which control the operation. S registers may be read and written using the ATS command. Certain S registries may only be read; others can only be configured for a particular range of values. Register Description S0 0: No automatic call acceptance, the acceptance of an incoming call is controlled by the data terminal (command ATA following RING) 1: Immediate call acceptance by the i-modul ISDN HIX V4 (default) Call acceptance by the i-modul ISDN HIX V4 after n "RING" messages. 2..n: Note: The time between 2 RING messages can be configured using the command "ringtimer" (default = 5 s.) S1 Ring tone counter (read only) S2 Escape character (default = 43h) S3 Return character (default = 0Dh) S4 Line feed character (default = 0Ah) S5 Backspace character (default = 1Ah) S7 Waiting time for carrier signal in seconds (default = 30) S9 PNP Configure functionality for Windows95 (default=1, enabled) S14 Status control output OUT1 0 Normally closed 1 Normally open 2 follows DCD S15 Status control output OUT2 0 Normally closed 1 Normally open S16 Last CAPI/ISDN error S17 Status alarm input 1 (read only) 0 enabled (connected to GND) 1 open S18 Status alarm input 2 (read only) 0 enabled (connected to GND) 1 open S90 Last received ISDN phone number (CLIP) S91 0: 1: 2: Default All unknown AT commands are replied with OK Windows 2000 compatibility: some AT commands are replied with OK, unknown commands are replied with OK. Table 13: Overview of S Registers 55 TA+Configurator Command Reference 13 TA+Configurator Command Reference Command at.sx, at.opt, at.rcs br brn bsize catab cato capa catry ccts cdcd cdsr cdtr chappwd cmds cnr dbits defa dhtc dltc dte flc ftei fwload (option) fwstart (option) htc idle iinit isdn k load ltc X3 pnp prot 56 Description AT commands for controlling the S registers Baud rate serial Baud rate ISDN Frame length Display phone number memory Call timeout Call pause Calls retry CTS behaviour DCD behaviour DSR behaviour DTR behaviour Configure password for PPP chap authentication Configure command interpreter Configure phone number Data format serial Load default settings Configure highest 2-way channel Configure lowest 2-way channel Configure B channel link address Configure flow control TEI value point to point, fixed TEI Upload firmware Starts new firmware Configure highest 2-way channel Idle data timeout ISDN initialisation ISDN D channel protocol Configure Window size Load saved parameters Configure lowest 2-way channel Configure command interpreter Plug and Play ID Configure B channel protocol i-modul ISDN HIX V4 i-modul ISDN HIX V4 Command prty ptp quit, exit, go racctab reset (only POX) ridle mua, rmua rmsn rpwd rstmsg rsttim rsub save sbits sertrc shidle shto shpa shtry show showall spid1, spid2 status subi subo tei trcn ver verb v110llc v110flc xnr xtab TA+Configurator Command Reference Description Configure serial parity Configure ISDN connection type Exit TA+Configurator Configure access table for remote configuration Reset (hardware) Idle data timeout (remote) Configure output pins Configure remote MSN Configure password for remote configuration Configure startup message Startup timer Remote sub-address Save configuration change Number of stop bits Serial link trace Short hold: Idle data timeout Short hold: Call timeout to abort Short hold: Call pause Short hold: Max. number of connection attempts Display configuration of basic parameters Display configuration of all settings Configure SPID Status display Sub-address for incoming calls Sub-address for outgoing calls Configure TEI value Configure internal trace Version information Version of the bootloader Using LLC for V.110 connections Flow control for V.110 connections Own X.25 address X.25 translation table Table 14: Overview of TA+Configurator commands 57 Special AT Commands for Voice Functions i-modul ISDN HIX V4 14 Special AT Commands for Voice Functions 14.1 AT Commands for Accepting Voice Connections Default values are printed bold. Command Description AT**VMSN Defines the MSN Defines the MSN nn (multiple subscriber number) for incoming calls "msni" and outgoing calls "msno" for the data port. If the number is configured to "*" (default), all incoming calls are accepted. Both values, "msni" and "msno", can be displayed using the command AT&V. AT**VMSN=nn Sets the parameters "msni" and "msno" to nn Both parameters are automatically stored in the non-volatile memory (without entering AT&W). Note: If 1TR6 D channel protocol is configured, only one or the last digit is valid. 58 i-modul ISDN HIX V4 Special AT Commands for Voice Functions Command Description ATB B channel protocol Transmission protocol for data in B channel. Note: In order to use the i-modul ISDN HIX V4 for voice connections, the B channel protocol must be configured to ATB40 (external IOM) to use the CODEC interface. ATB0 V.110 asynchronous (e.g.: for connections to GSM devices) ATB3 HDLC async to sync conversion (PPP asynchronous, single link PPP) (e.g.: for internet / communication network access) ATB4 HDLC transparent (octets are packed in HDLC frames) ATB5 Byte-transparent voice (B channel data) ATB6 Byte-transparent data (B channel data) ATB10 X.75-NL (e.g.: for direct ISDN-ISDN data connections) ATB13 V.120 asynchronous ATB20 X.31 B channel (X.25 B channel, option) ATB21 X.31 D channel (option) ATB31 Multilink PPP ATB40 external IOM ATB43 external data ATB45 external audio data ATS70 Enable Codec port This command enables or disables the CODEC of the i-modul ISDN HIX V4 hardware and changes the structure of the serial data output (":$" or ":1"). Depending on the setting of the S register S70, the incoming call signals an IOM call (:$RINGIxDxxxOxxxB0x) or a CODEC call (:1RINGIxDxxxOxxxB0x). ATS70=0 Incoming call is indicated as IOM call Example: :$RINGI1D211O222B01 ATS70=1 Incoming call is indicated as CODEC call and enables the CODEC Example: :1RINGI1D211O222B01 If the command interface receives an external IOM command (AT:%xxx) or a Codec command (AT:1xxx), the value for the data structure in this S register will be changed automatically. Table 15: Overview of the AT commands for accepting voice connections 59 Special AT Commands for Voice Functions 14.2 i-modul ISDN HIX V4 AT Commands for Controlling Voice Connections Each command is responded by the i-modul ISDN HIX V4. A following command can only be entered, if a response has been received. Each AT command for the CODEC control starts with a ":" and the port number (always "1"). Example: AT:1CRD1234 Connection set-up Responses of CODEC commands always start with a ":" Example: :1CONNECT... Connection established Each CODEC based connection is identified by a call reference (1-9). The call reference is created and processed by the i-modul ISDN HIX V4. This takes place as parameter for the RING message for incoming calls and as result of the command CR for outgoing calls. The call reference is released by the application again with the command DISC. All commands related to the connection must use the call reference. Default values are printed bold. Command AT:1A AT:1CCD Description Accepting an incoming call An incoming call is accepted with this command if no automatic call acceptance is configured. An incoming call is indicated by the RING message. The call reference is valid from the display of an incoming call or the status change of a connection request until the execution of the release command. AT:1AI Accepts the call with the call reference AT:1AI1 Accepts the call with the call reference 1 at port 1 Sending the target address to the network A target address is sent to the network after an outgoing call has been initiated without complete target address (e.g. with the command AT:1CR) with this command. AT:1CCID 60 I Specifies the call reference D Specifies the target address (target phone number) AT:1CCI1D2 Sends the target address 2 for the existing outgoing call with the call reference 1 at port 1 to the network i-modul ISDN HIX V4 Special AT Commands for Voice Functions Command Description AT:1CRDO Sending a connection request to the network An outgoing call is initiated with this command. AT:1CRDO D Specifies the target address (target phone number) O Specifies the origin address (own MSN, optional) The i-modul ISDN HIX V4 initiates an outgoing call and indicates the call reference with the response :1I The following example initiates an outgoing call for port 1 with the target address 234 and the origin address 567 (own MSN); (the call gets the call reference 1 then): AT:1CHI Command: AT:1CR D234 O567 Response: :1I1 Holding a call A call with a certain call reference is held with this command. AT:1CHI Holds the call with the call reference AT:1CHI1 AT:1CAI Holds the call with the call reference 1 at port 1 Retrieving a call A held call with a certain call reference is retrieved again with this command. AT:1CAI Retrieves the held call with the call reference AT:1CAI1 AT:1C3PTYIIH Retrieves the held call with the call reference 1 at port 1 Initiating a three-party conference call A three-party conference call is initiated with this command. The B channel used with this is the one of the active connection. AT:1C3PTYIIH Initiates a three-party conference call with the call references and AT:1C3PTYI1IH2 Initiates a three-party conference call with the call references 1 and 2 at port 1 In order to finish a three-party conference call again, the same command must be entered to get to the previous state again (the call with the call reference of I becomes active and the call with the call reference of IH will be held). If one of the other two parties of the three-party conference call hangs up, you'll get back to the previous state of the active connection. If the previously active connection hangs up the connection during the three-party conference call for example, the three-party conference call will be finished and the active connection will be held. AT:1#CI Displaying the received transmission service The transmission service, which is received hexadecimally encoded with an incoming call, is displayed with this command. AT:1#CI Displays the transmission service of the call with the call reference The returned value is the CIP value defined in the CAPI 2.0 specification in hexadecimal format. Example: Command: AT:1#CI1 Response: 0010 Received transmission service 61 Special AT Commands for Voice Functions Command i-modul ISDN HIX V4 Description Terminating a connection An existing ISDN connection is disconnected with the specification of a reason in hexadecimally encoded format with this command. The reason is defined according to Q931/ETS 300 102-1. It is also possible to disconnect a connection without specifying a reason (regular disconnection). The call reference is released and no longer valid with this command. AT:1DISCI AT:1DISCIC Disconnects the existing connection with the call reference with the specification of the reason AT:1DISCI1C11 Disconnects the existing connection with the call reference 1 at port 1 with the specification of the reason 0x11 (User busy) Sending an alarm message An alarm message for the call with a certain call reference is sent to the network with this command. AT:1RAI AT:1RAI Initiates an alarm request for the existing incoming call with the call reference AT:1RAI1 Initiates an alarm request for the existing incoming call with the call reference 1 at port 1 Table 16: Overview of the AT commands for controlling voice connections 14.3 Responses of AT Commands for Voice Connections Each message, which is sent by the CODEC port of the i-modul ISDN HIX V4, starts with ":1". There are no blanks between the different parameters of the messages. Response :1CONNECTIDOB Description Connection established This response indicates that a connection with the remote terminal with the specified call reference has been established. :1CONNECTIDOB I Specifies the call reference D Specifies the target address (dialled phone number) O Specifies the origin address (dialling phone number) Specifies the used B channel (hexadecimally encoded) 01 = B channel 1 is used 02 = B channel 2 is used :1CONNECTI1D234O567B01 Indicates a connection at port 1 with the call reference 1, the target address 234 and th origin address 567, which uses the B channel 1 B 62 i-modul ISDN HIX V4 Response :1DISCIC Special AT Commands for Voice Functions Description Connection disconnected This response indicates that the connection with the specified call reference has been disconnected. The reason is specified in hexadecimally encoded format. The reason is defined according to Q931/ETS 300 102-1. :1DISCIC I Specifies the call reference C Specifies the reason :1DISCI1C3491 Indicates the disconnection of the connection at port 1 with the call reference 1 and the reason 0x91 (User busy) :1INFOID Information about a call reference This response specifies information about a certain call reference. :1INFOID I Specifies the call reference D :1INFOI1D9 Specifies the target address (dialled phone number) Indicates that the next dialled number 9 has been received at port 1 with the call reference 1 :1RINGIDOB Incoming call This response indicates an incoming call. :1RINGIDOB I Specifies the call reference D Specifies the target address (dialled phone number) O Specifies the origin address (dialling phone number) Specifies the used B coding (hexadecimally encoded) 00 = no B channel is used (if the call is waiting and both B channels are busy) 01 = B channel 1 is used 02 = B channel 2 is used :1RINGI1D234O567B01 Indicates an incoming connection at port 1 with the call reference 1, the target address 234 and the origin address 567, which uses B channel 1 Note: This response is repeated (as for AT modems). B :1CRAI Accepted call This response indicates that the call of a specified call reference has been accepted. :1CRAI I :1CRAI1 Specifies the call reference Indicates that the call at port 1 with the call reference 1 has been accepted 63 Special AT Commands for Voice Functions Response :1RINGINGI i-modul ISDN HIX V4 Description Outgoing call This response indicates that a connection request has been accepted and a ring signal has been issued at the called remote terminal. :1RINGINGI I Specifies the call reference :1RINGINGI1 Indicates an outgoing connection at port 1 with the call reference 1 Note: This message is not repeated (as for AT modems). Table 17: Overview of the responses for voice connections 64 i-modul ISDN HIX V4 14.4 Special AT Commands for Voice Functions AT Commands for DTMF Detection These commands allow the DTMF detection for DTMF signals on the B channel of the ISDN line. The DTMF detection is only possible, if the B channel protocol is configured to transparent (ATB5) and the output of the received data is disabled (AT**RCVDATA=0). Detected and valid received DTMF signals are output via the V.24 interface using the following syntax within the V.24 data stream. Default values are printed bold. Command AT**RCVDATA Description Disables the output of B channel data This command disables the output of B channel data, which have been received via the ISDN line, via the V.24 interface. Note: Only possible, if ATB5 is configured. ATRCVDATA=0 Disables the reception of data from the ISDN line ATRCVDATA=1 Enables the reception of data from the ISDN line AT**RCVDTMF Enables the evaluation of DTMF signals This command enables the evaluation of DTMF signals, which are received via the ISDN line. ATRCVDTMF=0 Disables the evaluation of DTMF signals ATRCVDTMF=1 Enables the evaluation of DTMF signals The received DTMF tones are output as follows: 1 Key "1" of the connected phone pressed 2 Key "2" of the connected phone pressed * Key "*" of the connected phone pressed # Key "#" of the connected phone pressed is output as hexadecimal value 0x10 Table 18: Overview of AT commands for DTMF detection 65 Voice Connections at the Point-To-Point Connection 15 i-modul ISDN HIX V4 Voice Connections at the Point-To-Point Connection If the i-modul ISDN HIX V4 is operated at an ISDN point-to-point connection (refer to connection Configuration of the i-modul ISDN HIX V4 at the ISDN Basic Access), the following notes must be observed. 15.1 Incoming Voice Call An incoming call is indicated by the RING message. Additionally, dialled numbers, which are received later, are indicated by the INFO message (overlapping entry). If the received number is complete, the application has to send a request alarm message, which initiates the ringing tone for the caller. :1INFOI1D9 Incoming call received at ISDN access 224422 Next received dialled number "9" AT:1RAI1 Initiate alarm request :1RINGI1D224422O888B01 15.2 Outgoing Voice Call An outgoing call has to be initiated with the command AT:1CRxxx. There is no difference to call handling at a point-to-multipoint connection. An overlapping sending is performed using the commands: AT:1 CRDxxx Sending first connection request and AT:1 CC I1 D2 66 sending next numbers to be dialled i-modul ISDN HIX V4 Example for Handling Connections 16 Example for Handling Connections 16.1 Initiating and Ending an Outgoing Data Connection AT command from application or via terminal program ATB10 Response of the i-modul ISDN HIX V4 Comments Select B channel protocol OK ATD123 OK Initiating an outgoing call to 123 Call signal to remote terminal Answering with ATA CONNECT 64000 +++ Connection established Change into command mode OK ATH OK Terminating a connection OK OK Table 19: Sequence of initiating and ending an outgoing data connection 16.2 Initiating and Ending an Outgoing Voice Connection AT command from application or via terminal program ATB40 Response of the i-modul ISDN HIX V4 Comments Selecting an external IOM connection OK AT:1CRD123 OK Initiating an outgoing call to 123 :1CRAI1B01 Connection request accepted :1RINGINGI1 Call signal to remote terminal Remote terminal accepts call :1CONNECTI1D123O234B01 AT:1DISCI1 Connection established Terminating a connection :1OK OK :1RELI1C Connection released Table 20: Sequence of initiating and ending an outgoing voice connection 67 Example for Handling Connections 16.3 i-modul ISDN HIX V4 Accepting an Incoming Voice Connection AT command from application or via terminal program AT#C2=00000001 Response of the i-modul ISDN HIX V4 Comments Selecting the incoming transmission service Accepting all incoming calls RING AT#C Incoming call at i-modul ISDN HIX V4 Target is dialling Checking received transmission service Selecting for voice or data call 0004 ATB40 0001 : Voice 0002 : Data 0004 : 3.1 kHz Audio 0010 : Telephony Selecting an external IOM connection OK AT:1RAI1 OK Sending an alarm message :1RINGI1D300O310B01 :1OK AT:1AI1 Ringing tone Accepting an incoming call :1CONNECTI1D123O234B01 Connection established Remote terminal hangs up :1RELI1C3490 Connection released Table 21: Sequence of accepting an incoming voice connection 68 i-modul ISDN HIX V4 16.4 Example for Handling Connections Holding Connections AT command from application or via terminal program ATB40 Response of the i-modul ISDN HIX V4 Comments Selecting an external IOM connection OK AT:1CRD123 OK Initiating an outgoing call to 123 :1CRAI1B01 Connection request accepted :1RINGINGI1 Call signal to remote terminal Remote terminal accepts call :1CONNECTI1D123O234B01 AT:1CHI1 Connection established Holding the active connection :1HOLDI1 AT:1CAI1 Connection I1 is held Retrieving the held connection again :1OK AT:1DISCI1 OK Terminating a connection :1OK OK :1RELI1C Connection released Table 22: Sequence of holding connections 69 CE/EMC Compliant Integration 17 i-modul ISDN HIX V4 CE/EMC Compliant Integration When integrating the i-modul ISDN HIX V4 into an application, the system integrator is responsible for the CE/EMC conformity of the entire device. In order to integrate the i-modul ISDN HIX V4 CE and EMC compliant into your application, we recommend the following for you to observe during development. 17.1 Your Application  The motherboard for the i-modul must be designed according to the applicable CE/EMC guidelines. Always observe short signal lines and sufficient ground surface.  Connect the i-modul with a conducting spacer bolt to the device ground.  If you develop a platform, which is compatible with several, different imoduls, you must maintain the respective design criteria for each i-modul (especially concerning the phone connection).  The PCB tracks to the i-moduls with network interfaces, like Modem, ISDN, and Ethernet, must be designed with a track distance of 2.5 mm between the tracks of the network interface and all other signals (refer to EN60950). 17.2 Application Interface / Terminal Strip P1  The TTL RS232 interface should be equipped with ferrite beads directly at the module to reduce interference signals from the motherboard.  It is also beneficial to design capacitors (preferably SMD) at all RS232 and I/O signal lines to GND, which can be equipped when needed. Short lines to the connector and good ground are important. The recommended value for capacitors is 22 pF to 47 pF. 17.3 Network Interface / Terminal Strip P2 (for Modem /ISDN)  The line to the network interface (line from i-modul to device socket) should     70 be as short as possible and not be routed close to sources of interference (e.g. switching power supplies). Provide the line with ferrite beads directly at the device socket. The phone interface (not for i-modul with Ethernet interface) should be provided with standard ferrite beads (e.g. Murata BLM31A601SPT or Würth Elektronik type 74279213) and with optional ceramic capacitors (100 pF/2 kV, Y2 standard) to ground. In case of extended requirements to the interference resistance of the phone line (especially burst), a current compensated impedance (e.g. Epcos B82790-C2475-N340 or Würth Elektronik type 744202) can be used. The strip conductors on the Ethernet side should have a wide design (minimum 24 mil). i-modul ISDN HIX V4 CE/EMC Compliant Integration  Ethernet receive PCB tracks must provide a minimum width of 25 mil, Ethernet transmit PCB tracks a minimum width of 100 mil (1 mil ≈ 0.0254 mm). The PCB tracks must be routed parallel and have the same length. 17.4 Antenna Connection (if equipped)  The antenna connection must be connected to ground and a ferrite ring must be installed behind the ground connection (towards i-modul) to increase the interference resistance against burst and ESD at the antenna connection. 17.5 Further Recommendations The required measures will mostly depend on the connections and the layout (especially of the ground surfaces and good ground connections) of the motherboard. To save costs, some of the above mentioned capacitors or ferrite beads may be omitted. However, they should be considered in the layout to be able to integrate it without having to change the PCB, if the EMC tests show that these components are necessary. For the Ethernet module, insert bridges instead of the ferrite beads, while the ceramic capacitors remain unequipped. 17.6 Reference Documents Our evaluation board may be helpful for designing your application. The evaluation board allows to operate our embedded modules in a simple way. Moreover, you find a wiring diagram as reference design in the evaluation board manual. For information about the evaluation board, visit our website http://www.insystec.de/en/en/demoboard or contact your sales partner or our technical customer support via e-mail to [email protected]. 71 Declaration of Conformity 18 i-modul ISDN HIX V4 Declaration of Conformity This device complies with the requirements set out in the Council Directive on the Approximation of the Laws of the Member States relating to Electromagnetic Compatibility 2004/108/EC and the Council Directive relating to Low Voltage 2006/95/EC as well as the Council Directive R&TTE 1999/5/EC. We will gladly send you a copy of the declaration of conformity on request. 72 i-modul ISDN HIX V4 19 Tables and Diagrams 19.1 List of Tables Tables and Diagrams Table 1: Physical Features ......................................................................................... 6 Table 2: Technological Features................................................................................ 7 Table 3: Specification and assignment of the terminal strips.................................... 8 Table 4: Terminal strip connections description, terminal strip P1 ........................... 9 Table 5: Terminal strip connections description, terminal strip P2 ........................... 9 Table 6: Terminal strip connections description, terminal strip P3 ......................... 10 Table 7: PIN specifications - Reset input................................................................. 11 Table 8: PIN specifications - indication signals ....................................................... 11 Table 9: Supported ISDN protocols with usage ...................................................... 33 Table 10: Firmware History ..................................................................................... 44 Table 11: AT command overview............................................................................ 52 Table 12: Special ISDN parameter command overview .......................................... 54 Table 13: Overview of S Registers .......................................................................... 55 Table 14: Overview of TA+Configurator commands............................................... 57 Table 15: Overview of the AT commands for accepting voice connections ........... 59 Table 16: Overview of the AT commands for controlling voice connections.......... 62 Table 17: Overview of the responses for voice connections................................... 64 Table 18: Overview of AT commands for DTMF detection ..................................... 65 Table 19: Sequence of initiating and ending an outgoing data connection ............ 67 Table 20: Sequence of initiating and ending an outgoing voice connection........... 67 Table 21: Sequence of accepting an incoming voice connection ........................... 68 Table 22: Sequence of holding connections ........................................................... 69 19.2 List of Diagrams Figure 1: PCB layout, terminal strip and fixing hole position .................................... 8 Figure 2: PCB layout, height profile........................................................................... 8 Figure 3: Connection example of the OH signal...................................................... 11 Figure 4: Connection example of the serial interface .............................................. 12 Figure 5: Connection example for codec interface ................................................. 13 Figure 6: Connecting the codec interface with electret microphone ...................... 13 Figure 7: Pulse evaluation ....................................................................................... 20 73 Index 20 i-modul ISDN HIX V4 Index Accept incoming call....................... 45 Additional information..................... 15 Alarm............................................... 20 Alarm input...................... 9, 20, 48, 55 Alarm message ............................... 49 Alarm text.................................. 50, 51 Alarm triggering .............................. 51 Alternative results ........................... 15 AT command set ............................. 32 AT commands ........................... 16, 18 Automatic call ........................... 14, 21 B channel ........................................ 33 B channel protocol .................... 45, 59 Backspace character ....................... 55 Baud rate ......................................... 46 Bearer channel service .............. 46, 47 Bit-direct data transmission ............ 33 Buffer .............................................. 25 Byte transparent data connection ... 33 Byte transparent voice connection.. 33 Call rejected..................................... 36 Caller number.................................. 29 Carrier signal ................................... 55 Checkmark ...................................... 15 CLIP..................................... 34, 49, 55 Codec interface ............................... 13 Codec port....................................... 59 Command input .............................. 16 Command mode ....................... 18, 19 Connection establishment............... 47 Control output ....................... 9, 31, 51 CTS control...................................... 50 CTS line ........................................... 25 Current configuration ...................... 50 Data connection .............................. 18 Data flow control....................... 25, 49 DCD processing .............................. 46 74 Default settings ......................... 35, 48 Destination out of order .................. 37 Dialling table.................................... 21 DSR processing............................... 50 DTE address not valid...................... 36 DTR line........................................... 21 DTR processing ............................... 48 Escape character ............................. 55 Escape sequence............................. 18 Extended error messages................ 38 Extended reply values ..................... 51 Formatting....................................... 15 Guideline ........................................... 7 Hardware data flow control....... 18, 25 HDLC async to sync conversion...... 33 HDLC transparent...................... 33, 34 Height profile..................................... 8 Incompatible destination ................. 37 Input ............................................ 9, 20 Invalid number format..................... 37 ISDN error messages ...................... 36 ISDN network out of order .............. 37 ISDN point-to-point and multipoint interface ....................................... 14 ISDN protocol.................................. 33 Last CAPI/ISDN error....................... 55 Level converter................................ 16 Line feed character.......................... 55 Locale echo ..................................... 48 MAX232 .......................................... 16 Message format .............................. 50 Microphone ..................................... 13 Minicom .......................................... 16 MLPPP............................................. 33 MSN .................................... 30, 52, 58 Multipoint interface ......................... 30 No answer from user (user alerted). 36 No circuit/channel available ............ 37 i-modul ISDN HIX V4 No user responding......................... 36 Normal call clearing ........................ 36 Number changed ............................ 37 Off Hook............................................ 9 Online mode.................................... 49 Operation......................................... 16 Output ......................................... 9, 31 PCB layout......................................... 8 Permitted caller ............................... 29 Phone line ....................................... 18 Phone number............... 29, 30, 52, 55 PIN specifications............................ 11 PNP ................................................. 55 Point-to-point interface ................... 30 PPP asynchronous .......................... 33 Prerequisites.................................... 15 Protocol error layer 1....................... 36 Protocol error layer 2....................... 36 racctab ............................................ 29 Raw B channel data ........................ 33 Redial .............................................. 21 Remote configuration.... 14, 27, 28, 29 Remote configuration number ........ 28 Remote configuration password ..... 28 Reset key......................................... 35 Reset terminal ................................. 35 Response suppression .................... 49 Result messages ............................. 51 Return character.............................. 55 RING message................................. 29 Ring tone................................... 18, 19 Ring tone counter............................ 55 RS232................................................ 9 Index S Register ........................................ 55 Serial interface ................................ 12 Software data flow control.............. 26 Standard............................................ 7 Status alarm input ........................... 55 Status control output ...................... 55 Status register ................................. 55 Supply ............................................... 9 Symbol ............................................ 15 TA+Configurator ........... 21, 27, 32, 46 TA+Configurator command reference ..................................................... 56 Target phone numbers .................... 21 TEI ................................................... 30 TEI not valid..................................... 36 Temporary failure ............................ 37 TeraTerm ......................................... 16 Terminal program.......... 16, 18, 27, 32 Terminal strip .................................... 8 Terminate connection ..................... 48 Transfer protocol ............................. 33 Transmission baud rate ................... 49 TTL level ............................................ 9 Unallocated (unassigned) number... 36 User busy ........................................ 36 V.110 asynchronous.................. 33, 34 V.120 asynchronous........................ 33 Version information......................... 48 X.25 B channel ................................ 33 X.31 B channel ................................ 33 X.31 D channel ................................ 33 X.75 SLP.......................................... 33 XON/XOFF ................................. 25, 26 75