SECTION 6
Conversions and Interfaces
6-14 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
7. Close and reopen TTYIO on modem errors. In most PL/N applications,
TTYIO is closed in the TTYERR procedure and reopened at the beginning
of a Tcom retry. However, it is very possible that retries on modem errors
do not close and reopen TTY. They must be changed to do so.
Clear the error procedure and close TTYIO before displaying the modem
error. This cuts power to the modem card. After fielding a response from
the user, reopen TTY and reassign error procedure if a retry is requested.
Be sure to check both the MODEM CONFIGURATION and the AUTODIAL
procedures for retries.
EXAMPLE:
TTY.ERR_PROC = 0
CLOSE (TTY)
OUT (KBD) (KB_HOME) ‘COMMUNICATIONS’,
&
(1,0) ‘MODEM ERROR# ’, MODEM_ERROR,
&
(3,0) ‘RETRY TCOM?’
IF NOT INPUT(S) THEN
ABORT_TCOM = TRUE
ELSE
PERFORM OPEN_TTY_SET_PORT_PARITY
ENDIF
8. Use the correct dialing timeout. The PCHACNP constant
MDM_DIALWAIT has been increased from 45 to 120 to allow for the longer
connection times of cellular calls. This does
not
cause longer timeouts for
other modems, because the modems have their own timeout. The
configuration strings for cellular connections set a longer modem timeout.
Adding SanDisk ATA Card Support
The following steps explain how to add SanDisk ATA card support to a PL/N
application.
1. Use the Correct Version of Flash
"
6200 Computer: 6200 Flash V1.53 or greater
"
6210 Computer: 6210 Flash V1.51 or greater
2. Use NORAPM.EXE V3.10 or greater. Flash V1.53 (in the 6200 or 6210
Computer) contains this version of NORAPM. If you are using Flash V1.51
(in the 6210 Computer), NORAPM.EXE must be downloaded with the
application and loaded from C:.
3. Use NORSCAPM.EXE and ATADRV.EXE from Toolkit V1.71 or greater.
4. Install CardSoft Drivers.
Rem PC Card modem driver manages the second slot
device=c:\ngenmod.sys –S1 –IA –C3
Rem CardSoft drivers manage the first slot only
device=d:\sscirrus.exe /skt=1
device=d:\cs.exe
device=d:\csalloc.exe
device=d:\atadrv.exe /S:2
device=d:\mtsram.exe
device=d:\mtddrv.exe
device=d:\cardid.exe
device=d:\norcsapm.exe +p:0
Dual card support" means a system that supports both SanDisk ATA cards
and PC Card modems. See
Adding PC Card Modem Support
on page 6Ć12.
If dual card support is not needed, remove the line above that loads
NGENMOD.SYS.
6. Conversions and
Interfaces