🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.iso
Article #1289

Need explanation of User-data encodings

#1289
From: Mark Boolootian
Date: Mon, 16 Nov 1992 22:00
39 lines
1927 bytes
Greetings,

I am in the process of implementing the ISO presentation protocol and I am
having some trouble understanding the rules to follow for the different
User-Data encodings.  I have been following Rose's "The Open Book" and
reading the CCITT docs (X.226/X.216).

As best as I can gather, I use the Simply-encoded-data alternative when:

    (1) all presentation data values are from the default context, or
    (2) the DCS contains only one context (and the context mgmt function
	unit is not active.

and I use Fully-encoded-data otherwise.


Question1

When setting up the User-data portion of a P-Connect PPDU, I don't really have 
the DCS nailed down yet (the DCS is the result of the negotiation which takes 
place at connection setup).  Do I use my proposed context(s) in lieu of the 
DCS to determine whether to use the Simple or Fully encoded alternative?

Question2

Am I correct that the transfer syntax I use to encode the presentation data 
value(s) is that syntax specified in the DCS corresponding to the PCI contained 
within the PDV?  If so, then the answer to question 1 is very important to me, 
since in the P-Connect PPDU I may be proposing multiple transfer syntaxes.  
How am I to know which syntax to use?  Or do I always use BER?


I hope I have provided sufficient information in my questions.  Any help
would be greatly appreciated.

best regards,
mb
-- 
Mark Boolootian		booloo@llnl.gov		+1 510 423 1948
Technical Details
Message-ID: <141645@lll-winken.LLNL.GOV>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!cs.utexas.edu!sun-barr!lll-winken!framsparc.ocf.llnl.gov!booloo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!cs.utexas.edu!sun-barr!lll-winken!framsparc.ocf.llnl.gov!booloo
From: booloo@framsparc.ocf.llnl.gov (Mark Boolootian)
Newsgroups: comp.protocols.iso
Subject: Need explanation of User-data encodings
Message-ID: <141645@lll-winken.LLNL.GOV>
Date: 16 Nov 92 22:00:22 GMT
Sender: usenet@lll-winken.LLNL.GOV
Organization: Lawrence Livermore National Laboratory
Lines: 39
Nntp-Posting-Host: framsparc.ocf.llnl.gov