Re: protocol details

Pete Ryland <[email protected]>
Newsgroups gmane.comp.audio.netmd.devel
Message-ID <[email protected]>
On Wed, Jan 08, 2003 at 06:45:27PM +0100, Marcus Brinkmann wrote:
> > "ff"   ->   "10": Data was appended.
> > "001d" -> The number of bytes appended (0x1b)
> > "0000" -> unknown, probably further specifies the type of the reply
> > "001b" -> The number of bytes of the packet with the reply data.
> > "8003" -> "80" array (Rylands suggestion) of "03" elements.
> 
> This interpretation is bogus.  The 8003 is from the "30 80 03 00"
> argument.  In a different command is a 30 80 07 00 argument, and there is
> no array with 7 elements returned.  The interpretation of 80 as array and
> the next number as element count is most certainly wrong, at least at this
> position.

ISTR not fully grokking it, but I remember thinking that the 03 and 07 that
follow the 80 possibly suggest the /type/ rather than the count or size,
and it was the bytes following that suggest the size, but then that isn't
always the case either.  I dunno.  I guess it's not *terribly* important to
fully understand the semantics of the protocol.

> > "8000" -> Indicates that the array members are following.
> >           (As every packet must have a header, this serves as one).
> 
> 8000 at his position could still mean array, although there is no strong
> reason to think so.

"Struct" maybe rather than array?

Pete
-- 
Pete Ryland
http://pdr.cx/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.