Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you want a tty port to be bound to a particular line or controller, you will need to do this manually by typing an AT command in your application when you configure your tty ports. 

Diva boards - excluding Analog boards 

For all Diva rds excluding Analog cards, this is done by the command

...

To bind ttyds01 to controller 2, the AT command AT+iQ=a2 would have to be typed in the application's configuration file for ttyds02. 

Diva Analog Boards 

Binding a tty port to a particular line on a Diva Analog Card is a two stage process. First bind the tty port to the Diva Analog controller, and then to a line on the particular Diva Analog card. The AT command sequence to do this is

...

For instance if you have a V-Analog-8P card that is controller 2, and you want to bind ttyds3 to line 8 of this card, you would use the command

AT+iQ=a1+iK=a8

Further Information 

Further information on these AT commands are given below. Note the AT+iK command must always be preceded by an AT+iQ command, in order for the driver to know which controller the line should be bound to.

Code Block
AT +iQ=

String

Binding

oX

Bind TTY to adapter X for all outgoing calls

iX

Bind TTY to adapter X for all incoming calls

aX

Bind TTY to adapter X for all calls

o0

Erase TTY binding for outgoing calls

i0

Erase TTY binding for incoming calls

a0

Erase TTY bindings for incoming and outgoing calls

?

Display current bindings

Code Block
AT +iK= 	

String

Binding

oY

Bind TTY to line Y for all outgoing calls

iY

Bind TTY to line Y for all incoming calls

aY

Bind TTY to line Y for all calls

o0

Erase TTY binding for outgoing calls

i0

Erase TTY binding for incoming calls

a0

Erase TTY bindings for incoming and outgoing calls

?

Display current bindings