Re: Crc16CalcBlock

2007-02-11 Thread Pinus Alba
PalmOS UInt16 Crc16CalcBlock (const void *bufP, UInt16 count, UInt16 crc) function. I can't believe it's meant to be a secret. Regards, On 11/02/07, Helmut A. Bender <[EMAIL PROTECTED]> wrote: > > Hi Pinus, > > the second one... I knew it was one of the coefficents but n

Re: Crc16CalcBlock

2007-02-11 Thread Helmut A. Bender
omial. > > Regards, > > On 11/02/07, Helmut A. Bender <[EMAIL PROTECTED]> wrote: > > Am Samstag, 10. Februar 2007 15:38 schrieb Aaron Ardiri: > > > On 2/10/07, Helmut A. Bender <[EMAIL PROTECTED]> wrote: > > > > Thanks, but no... thats the CRC32 o

Re: Crc16CalcBlock

2007-02-11 Thread Pinus Alba
of the zlib... I need to know the > > > polynomial of the included Crc16CalcBlock API... > > > > http://www.koders.com/c/fid8749525F1BD9303912F4DFBD3B01AE13A35604D5.aspx > > > > there you go; same site - but, the sources to POSE (palmos emulator). > > the routine is right t

Re: Crc16CalcBlock

2007-02-11 Thread Helmut A. Bender
Am Samstag, 10. Februar 2007 15:38 schrieb Aaron Ardiri: > On 2/10/07, Helmut A. Bender <[EMAIL PROTECTED]> wrote: > > Thanks, but no... thats the CRC32 of the zlib... I need to know the > > polynomial of the included Crc16CalcBlock API... > &

Re: Crc16CalcBlock

2007-02-10 Thread Aaron Ardiri
On 2/10/07, Helmut A. Bender <[EMAIL PROTECTED]> wrote: Thanks, but no... thats the CRC32 of the zlib... I need to know the polynomial of the included Crc16CalcBlock API... http://www.koders.com/c/fid8749525F1BD9303912F4DFBD3B01AE13A35604D5.aspx there you go; same site - but, the sour

Re: Crc16CalcBlock

2007-02-10 Thread Helmut A. Bender
of the zlib... I need to know the polynomial of the included Crc16CalcBlock API... > Regards, > > On 10/02/07, Helmut A. Bender <[EMAIL PROTECTED]> wrote: > > Hi, > > > > does anybody know the polynom which Crc16CalcBlock uses? > > > > -- > &g

Re: Crc16CalcBlock

2007-02-10 Thread Pinus Alba
Hi Helmut, Googling palmos crc polynomial gives http://www.koders.com/c/fid46FB44E6842DFB68A79E4D3CF70D4FF38D55D402.aspx which may have what you want. Regards, On 10/02/07, Helmut A. Bender <[EMAIL PROTECTED]> wrote: > > Hi, > > does anybody know the polynom which C

Crc16CalcBlock

2007-02-10 Thread Helmut A. Bender
Hi, does anybody know the polynom which Crc16CalcBlock uses? -- Mit freundlichen Grüßen Helmut A. Bender Helmut Bender GmbH 75203 Königsbach-Stein Amtsgericht Mannheim HRB 501213 Geschäftsführer: Helmut A. Bender -- For information on using the PalmSource Developer Forums, or to unsubscribe

Re: Crc16CalcBlock

2001-02-02 Thread Bill Janssen
A common problem with CRC-16 calculation is whether you start with all ones or all zeros. Try using 0x as the seed value and see if your result agrees with your "correct" value. Bill -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.co

Re: Crc16CalcBlock

2001-02-02 Thread krollin
AFAIK, Crc16CalcBlock is standard (it uses the standard polynomial) and works. UInt16 checksum; checksum = Crc16CalcBlock(buffer, bufLen, 0); -- Keith [EMAIL PROTECTED] on 02/02/2001 08:59:11 AM Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Crc16CalcBlock

2001-02-02 Thread SLSSandi
Does anyone know details about Crc16CalcBlock? I need to calculate the CRC-16 for the Direct Connect Communications protocol. The Crc16CalcBlock value I receive is not correct. I have researched the Painless Guide to CRC Error Detection and can create a correct CRC from there, but would like