On 11/10/05 8:46, Karsten Hilbert <[EMAIL PROTECTED]> wrote: > On Mon, Oct 10, 2005 at 10:20:18PM +0100, Chris Ridd wrote: > >>>> 120051010\x0918:56\x09XC0824-0109 133-113-04 \x0d\x0354\x0d\x0a >>> that's: >>> >>> 1 YYYY MM DD <tab> HHMM:SS <tab> serial # padding with blanks <cr> checksum> >>> <cr> <lf> >> >> The serial number on the back of the meter only mentions XC0824-0109 > I wouldn't be surprised if the 133-133-04 then is some sort > of firmware version string. Comparing yours with Adrian's > should yield clues here.
That's quite likely. > In English: > > Initialize crc_val with 0. Collapse the list (=tuple) > "packet bytes from 1 to last-but-3" into crc_val by adding > their ordinal ASCII values to crc_val. & with 255. Thanks; this was the algorithm that ended up working (when I included the trailing 0x03 or 0x17 yesterday. Cheers, Chris ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/W4wwlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/openhealth/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/