Skip to content

Checksum in 128B mode (Xmodem first protocol) #5

@ddejean

Description

@ddejean

Hi Andre,

Thanks for this very nice little library. It's very easy to use and integrate in some custom code.

I'm trying to use the library in 128B mode and I'm wondering if the following line is correct for this case :

crc = xmodem_server_crc(crc, xdm->packet_data[i]);

As far as I understand the original Xmodem protocol (the one with 128B packets) the "checksum" is a sum of the data bytes in the packet, not a CRC (as in Modem-1k). Am I missing something ?

Best regards,
Damien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions