The INI File: 2.16 Categories in the INI File: [<modem name>]

Up: GEOS SDK TechDocs | Up | Prev: 2.15 [modem] | Next: 2.17 [mouse]

Each modem listed in the modems keyword in the modem category must have its own category. The category is named for the modem name in the list. Thus, the following example shows that each modem in the system has its own category:

[modem]
numberOfModems = 2
modems = {My Slow Modem
	     My Fast Modem }
[My Slow Modem]
port = COM1
baudRate = 300
toneDial = true
parity = none
wordLength = 8
stopBits = 1
handshake = software
[My Fast Modem]
port = COM3
baudRate = 19200
toneDial = true
parity = none
wordLength = 8
stopBits = 1
handshake = software

baudRate

baudRate = <number>

This key defines the modem`s baud rate.

baudRate = 2400
baudRate = 9600

handshake

handshake = <hardware, software>

This key indicates the type of handshake used by the modem. It must be one of the values specified.

handshake = hardware
handshake = software

parity

parity = <none, even, odd, mark, space>

This key indicates the modem's parity type. It must be one of the values shown above.

parity = none
parity = even

stopBits

stopBits = <number>

This key specifies the number of stop bits used by the modem. This should be 1, 1.5, or 2.

stopBits = 1
stopBits = 1.5
stopBits = 2

stopLocal

stopLocal = <dsr, dcd, cts>

If hardware handshaking is used, this key specifies which line the serial driver will watch for the stop signal.

stopLocal = dsr
stopLocal = dcd
stopLocal = cts

stopRemote

stopRemote = <dtr, rts>

If hardware handshaking is used, this key specifies which line the serial driver will use to make the remote side of the connection stop.

stopRemote = dtr
stopRemote = rts

toneDial

toneDial = <Boolean>

If true, this key indicates that the modem may use tone dialing. The default is true.

toneDial = true
toneDial = false

wordLength

wordLength = <number>

This key indicates the communication word length. This should be a number between five and eight inclusive.

wordLength = 8

Up: GEOS SDK TechDocs | Up | Prev: 2.15 [modem] | Next: 2.17 [mouse]