GEOS SDK TechDocs
|
|
2.15 [modem]
|
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 = <number>
This key defines the modem`s baud rate.
baudRate = 2400 baudRate = 9600
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 = <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 = <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 = <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 = <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 = <Boolean>
If true, this key indicates that the modem may use tone dialing. The default is true.
toneDial = true toneDial = false
wordLength = <number>
This key indicates the communication word length. This should be a number between five and eight inclusive.
wordLength = 8
GEOS SDK TechDocs
|
|
2.15 [modem]
|
2.17 [mouse]