(Page 6 of 35 in this chapter)


TxX25FileParms

Description

Sets up certain optional numeric parameters of a file definition packet.

Prototype

short TxX25FileParms (TXMNGPKT *req,
unsigned short L3window,
unsigned short L3pkt,
unsigned short L3thp)

req Pointer to packet to be set.

L3window Level 3 Window Size for both Transmit and Receive.

L3pkt L3 Packet Size for both Transmit and Receive.

L3thp L3 Throughput Class for both Transmit and Receive (#defines in x25type.h).

Return Values

TX API completion code.

Details

TxX25FileParms only effects these options in the Define File packet. TxX25FileParms assumes that the packet is already a properly initialized Define File packet. Applications should call TxX25FileDefault and TxX25FileDefine some time prior to calling TxX25FileParms to assure that the packet contains all the proper default and required values. The fields set up by TxX25FileParms call are part of a future File create request to be issued by the application.

Applications should call TxX25FileParms any time these parameters are to be adjusted for the File being defined.

The L3 Throughput Class #define statements in x25type.h, are in the form TXX25_XFILE_TPC9600. The number at the end of the literal is the equivalent baud rate to the Throughput Class. The literals simplify the translation to arbitrary numeric values. An application needing to calculate these parameters can be designed using the values in the header file.

See Also

TxX25FileDefault, TxX25FileDefine



(Page 6 of 35 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.