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
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 :
async_xmodem/xmodem_server.c
Line 111 in 5972a49
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