OSI/AS Configuration and Management Manual
Troubleshooting Guide
OSI/AS Configuration and Management Manual—424119-001
8-22
Troubleshooting Example
APS_STATUS_ is called to determine the type of event (evt), and the name of the
subdevice (dev). After the following typical line of code
ret := aps_status_ ( cepi1, evt, dev, err, errsub, svcid,
diagnostic^buf, orig^err );
the Inspect command
display DEV
displays the following:
This tells you that the application is using TAPS process TAP1 and subdevice
#Z00000P.
APS_ASSOC_GETPARAM_ is called to obtain the local OSI address. At the following
typical line of code
ret := aps_assoc_getparam_ ( cepi1,, local^address );
the Inspect command
display LOCAL^ADDRESS IN HEX
displays the following:
The Inspect command
D LOCAL^ADDRESS.ZAPPL^NAME.ZC FOR 6 IN A
displays the following:
APS_EVENT_RECEIVE_ is then called to wait for an incoming connect indication
primitive. The following is a typical line of code:
ret := aps_event_receive_ ( cepi1, -1d, tag1 );
It is at this point that the application waits in idle mode (because the call doesn’t
complete), even after a report that the calling address has refused the connect request.
DEV =
BYTE[0] = "\" #249 "TAP1 #Z00000P "
LOCAL^ADDRESS =
ZSSEL =
BYTE[0] = 55 55 01
ZTSEL =
BYTE[0] = 44 44 44 44 01
ZNSAP =
BYTE[0] = 40 83 33 11 11 01
ZAPPL^NAME.ZC =
BYTE[0] = 4C 4F 43 41 4C 58
LOCAL^ADDRESS.ZAPPL^NAME.ZC = "LOCALX"