MSRAP questions

Erich Rickheit KSC <[email protected]> Wed, 16 Feb 2005 17:01:42 -0500
Newsgroups gmane.mail.im2000
Message-ID <[email protected]>
I'm looking at
    http://homepages.tesco.net./~J.deBoynePollard/Proposals/IM2000/Architecture/msrap.html
If this isn't current, please correct me and ignore this message.

I'm only lightly familiar with ASN.1, so these might be misunderstandings
on my part; please correct me.

I don't see the definition of CommandQuerySize, nor do I see any
such command discussed in Architecture/msrap.html; nor a corresponding
response. Is this a typo, or a placeholder for a future extension?

In CommandRetrieve, I assume offset and length are in octets, and
the first octet is offset zero? This seems obvious to me, but I
think should be specified.

ResponseRetrieve just confuses me.

  ResponseRetrieve ::= SEQUENCE {
	  data        [0] IMPLICIT OCTET STRING
	  size        [0] IMPLICIT INTEGER (0..MAX)
  }

Shouldn't the size come first, so an app can allocate space
appropriately?  And should they both say '[0]'?

	Erich