Download COM COMPATIBILITY MODES - ACKSYS Communications & Systems

Transcript
TABLE OF CONTENTS
I
PRESENTATION .................................................................................................................... 4
II
OPERATIONAL RESTRICTIONS ........................................................................................... 5
III
SUPPORTED PROTOCOLS : AN OVERVIEW ......................................................................... 5
III.1
III.2
III.3
III.4
III.5
IV
Asynchronous mode ............................................................................................................................. 5
Synchronised asynchronous mode........................................................................................................ 5
MONOSYNC and BISYNC modes...................................................................................................... 5
Raw HDLC mode ................................................................................................................................. 6
HDLC ABM or LAPB mode................................................................................................................ 6
PHYSICAL BOARD INSTALLATION ..................................................................................... 7
IV.1
IV.2
IV.3
IV.4
V
SW1, SW2 and SW3 switch settings ............................................................................................... 7
Starting the board............................................................................................................................. 8
Diagnostic LEDs on the main board ................................................................................................ 8
LEDs installed on the mezzanine board......................................................................................... 10
WIRING .......................................................................................................................... 11
V.1
V.2
V.3
VI
SUBD62 connector pin assignment.................................................................................................... 11
Pin assignment for the 4P570M25 cable ............................................................................................ 12
The electrical interfaces...................................................................................................................... 14
NT/2K DRIVER .............................................................................................................. 15
VI.1
VI.2
VI.3
VI.4
Reboot ........................................................................................................................................... 16
Installation and configuration ........................................................................................................ 17
Configuring installed boards.......................................................................................................... 19
Board properties ............................................................................................................................ 20
VII
CHECKING THE INSTALLATION ....................................................................................... 22
VIII
DÉVELOPPEMENT TOOLS AND EXAMPLES ....................................................................... 23
COM COMPATIBILITY MODES ...................................................................................... 24
APPLICATION PROGRAMMING INTERFACE (API) ................................................................ 24
I
I.1
I.2
I.3
I.4
I.5
I.6
II
Programming asynchronous communications..................................................................................... 25
Programming synchronous communications ...................................................................................... 27
Programming the LAPB (or HDLC-ABM) protocol.......................................................................... 29
Programming driver-specific services. ............................................................................................... 31
Standard Windows NT utilities. ......................................................................................................... 32
Other utilities...................................................................................................................................... 33
DÉTAILÉD RÉFÉRENCE MANUAL..................................................................................... 34
II.1
II.2
II.3
II.4
II.5
Extract from the mcc_mcx.h file ........................................................................................................ 34
SET/GET SYNC STATE functions ................................................................................................... 37
Example of SET_SYNC_STATE ...................................................................................................... 40
CMD and CMD_AUTO functions ..................................................................................................... 41
Samples of CMD and CMD_AUTO .................................................................................................. 44
III
APPENDIX : SPECIFIC ERROR CODES............................................................................... 47
IV
APPENDIX : LIMITATIONS AND DIFFÉRENCES WITH THE COM PORTS. ............................ 48
ANNEXES
PCI WAN HDLC RANGE, WINDOWS NT 4.0 AND 2000 USER MANUAL. REV A.1 APRIL 2002