User Data Encoding/Decoding - HP A4500A - VMEbus Single Board Computer 744 Motherboard Programmer's Manual

Acse/presentation and rose interface programmer's guide
Hide thumbs Also See for A4500A - VMEbus Single Board Computer 744 Motherboard:
Table of Contents

Advertisement

1) First ap_snd()
2) Additional ap_snd()'s
3) Last ap_snd()
When receiving data, the AP_MORE bit is set by the A/P library if the
receiving ubuf is not large enough, or if a partial primitive was received.
In either case, the application must continue to invoke ap_rcv() to receive
the remainder of the data.
It is recommended that after each ap_rcv() call, the sptype is checked.
Some primitives such as A_ABORT_IND are not flow-controlled and may
interrupt the receipt of a partially received primitive. In this case, the
remaining data from the previous primitive is lost.

User Data Encoding/Decoding

The ACSE/Presentation library is not responsible for user data encoding/
decoding. The application programmer must choose an ASN.1 compiler
and run-time library. Refer to the ASN.1 compiler documentation for the
product you purchased. The sample programs in the manpages use the
Marben ASN.1 compiler product and run-time library.
Chapter 4
set AP_MORE, and send data
set AP_MORE, and send data
re-set AP_MORE, and send last data
Programming Guide
3. Managing Data
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents