SECTION 5
Communications and Device Support
5-4 PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide
The files NET.CFG and PCTCP.INI are required to load these drivers. NET.CFG
must exist in the current working directory, and must include the following two
lines, indented as shown:
Link driver PKODI
Frame Ethernet_II
Link driver RS485ODI
Frame Ethernet_II
PCTCP.INI
must include:
[pctcp ifcust 0]
async-send = yes
ip-address = nnn.nnn.nnn.nnn
subnet-mask = nnn.nnn.nnn.nnn
router = nnn.nnn.nnn.nnn
[pctcp general]
etc-dir = d:\tcp\etc
domain = xxxxxxxx.com
[pctcp addresses]
domain-name-server = nnn.nnn.nnn.nnn
[pctcp kernel]
interface = ifcust 0
The etcĆdir" field must specify a directory that contains a SERVICES file. A
minimal SERVICES file exists in the flash at
d:\tcp\etc.
For NRInet, SERVICES must contain a protocol entry for nrinet" with a
protocol type of tcp." For example:
nrinet 44965/tcp #Norand Inet File Transfer
The fields domain" and domainĆnameĆserver" are not required if the host is
specified by IP address rather than domain name. Also, the fields that specify IP
addresses (nnn.nnn.nnn.nnn) and the domain" field can be omitted if
BOOTP.EXE or DHCP.EXE loads the information from a BOOTP server or a
DHCP server.
Set the environment variable PCTCP to the path of PCTCP.INI. For example, in
AUTOEXEC.BAT:
SET PCTCP=C:\PCTCP.INI
Some computers support two network interfaces for NRInet: Ethernet
(PKODI.COM) and RSĆ485 (RS485ODI.COM). The network interface is selected
in a menu in Norand Utilities during the IPL sequence. This setting is stored on
the RAM drive so it disappears any time the RAM drive is removed or formatted.
For example, applications that boot from a PC Card often format the RAM drive
before installing the application. In these cases, you must return to the Norand
Utilities menu to reselect the setting in order for NRInet sessions to work
correctly.
When the RSĆ485 network interface (RS485ODI.COM) is used on a computer
with an Ethernet network interface, PSROM0C.EXE powers off the the Ethernet
adapter. If the application uses the Ethernet adapter outside of PSROM0C.EXE,
it is recommended to unload the Ethernet drivers before calling PSROM0C.EXE,
then reload them afterwards.
5. Communications
and Device Support