[NUT-devel] [nut]: r638 - docs/nut.txt
ods15 at ods15.dyndns.org
ods15 at ods15.dyndns.org
Fri Feb 15 09:20:41 CET 2008
On Fri, Feb 15, 2008 at 07:47:44AM +0100, Diego Biurrun wrote:
> On Fri, Feb 15, 2008 at 07:33:17AM +0100, ods15 wrote:
> >
> > --- docs/nut.txt (original)
> > +++ docs/nut.txt Fri Feb 15 07:33:16 2008
> > @@ -677,8 +677,10 @@ reserved_count[frame_code] (v)
> >
> > data_size
> > - The size of the following frame.
> > data_size = data_size_lsb + data_size_msb * data_size_mul ;
> > + The size of the following frame, including a possible elision header.
> > + If data_size is 500 bytes, and it has an elision header of 10 bytes,
> > + then the stored frame data following the frame header is 490 bytes.
>
> The description does not appear to match the formula.
They are describing different aspects of data_size...
data_size is not coded anywhere, it is calculated vie the formula stated
above (that's why i moved the formula up - its the definition of
data_size)
then i described the value of data_size, how it is used...
- ods15
More information about the NUT-devel
mailing list