HP rp2450 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 55
User Data Encoding/Decoding
View all HP rp2450 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 55 highlights
Programming Guide 3. Managing Data 1) First ap_snd() 2) Additional ap_snd()'s 3) Last ap_snd() set AP_MORE, and send data set AP_MORE, and send data re-set AP_MORE, and send last data 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 55