X25AM Programming Manual

PTP Applications
X25AM Programming Manual527201-001
3-27
PTP Programming Tasks
Set the local NSAP address type.
SETPARAM 32
Set the remote NSAP address type.
SETPARAM 33
Set the Closed User Group type (CUGTYPE).
SETPARAM 34
Set the dynamic bilateral Closed User Group (BCUG) ID.
SETPARAM 35
Set the Recognized Private Operating Agency (RPOA) Data Network Identification
Code(s) (DNIC).
SETPARAM 36
Set the transit delay value.
SETPARAM 37
Set the optional CCITT-specified DTE negotiation facilities (throughput class, end-
to-end transit delay, and expedited data facilities).
SETPARAM 41
Set the dynamic Call User Data (CUD) values for this session.
Waiting for an Incoming Call
Your application waits for an Incoming Call that has been directed by PTP to the
subdevice that it has opened.
CONTROL 11 (data-exchange modes 0, 1, 2, and 3):
If the CONTROL operation completes normally, the circuit is established and an
Incoming Call has been received.
READ (data-exchange mode 2):
If the READ procedure completes normally and an Incoming Call (buffer format) is
in the read buffer, then your application program must WRITE a Call Accepted
(buffer format) or WRITEREAD a Clear Request (buffer format).
No other Call Requests are routed to the subdevice until the call is cleared.
Posting a Call Request
CONTROL 17 (data-exchange modes 0, 1, 2, and 3):
A Call Request is sent and a network response received. If the CONTROL
operation completes normally, the call has been accepted.