HI Helmut, It depends how much maths you know. If you look at the zlib and other palm crcs they all use the same 32 bit coefficients. The second 16 bit coefficent gives the polynomial. From memory this is 0x1021, ie. the same as the xmodem polynomial
generator polynomial (X^16 + X^12 + X^5 + 1) Try that polynomial. 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 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 there for you. > > Hm - I think I should look inti this site a bit deeper. :-) > > But it doesn't solve my problem, since there is only the table, but not > the > polynomial. > > Background: I have to implement a CRC-16 with a given polynomial. If it > were > the same as used in CRC16CalcBlock I could use that. > > Well, I'll see it as a exercise to implement it myself: :-) > > -- > 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, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
