<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>1 Jan 2019 09:14:32 Z</lastBuildDate><pubDate>14 Feb 2015 00:58:56 Z</pubDate><description>I'm trying to communicate with a Ingenico Eftpos machine. &#13;
I'm having trouble getting the checksum of a string of hex charaters&#13;
&#13;
Below works&#13;
&#13;
// String to write into the port&#13;
StringToWrite is string = HexaToBuffer("0249034A")  &#13;
&#13;
02 Start of text&#13;
49 The letter I to initialize eftpost machine  (Login)&#13;
03 End Of Text&#13;
4A the checksum  of 02 49 03&#13;
&#13;
&#13;
&#13;
&#13;
But I need to work the checksum out in my code not just hard code it as I need to send different types of request  all with diff checksums.&#13;
&#13;
Has anyone done this? and could pass the code to me or point me in the right direction.&#13;
&#13;
PS I'm new to WinDev&#13;
&#13;
Thanks in advance...&#13;
&#13;
Mark</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum/read.awp</link><title>CheckSum</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>zunaid</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-66934/read.awp</comments><pubDate>1 Jan 2019 09:14:32 Z</pubDate><description>Hi Mark,&#13;
did you resolve this issue?&#13;
If so please let me know how you accomplished it.&#13;
I've managed to calculate the LRC but …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-66934/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-66934/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum/read.awp">CheckSum</source><title>Re: CheckSum</title></item><item><author>Michel GARCIA</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50498/read.awp</comments><pubDate>15 Feb 2015 23:53:40 Z</pubDate><description>Hi... Google is your friend, wikipedia is your friend ... a little bit of work translation, and it is fixed ...&#13;
&#13;
Have fun !&#13;
&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50498/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50498/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum/read.awp">CheckSum</source><title>Re: CheckSum</title></item><item><author>purchase</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50495/read.awp</comments><pubDate>15 Feb 2015 21:01:34 Z</pubDate><description>LRC  checksum  =  Longitudinal redundancy check.&#13;
&#13;
Thanks</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50495/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50495/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum/read.awp">CheckSum</source><title>Re: CheckSum</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50483/read.awp</comments><pubDate>14 Feb 2015 20:24:11 Z</pubDate><description>Hello Mark&#13;
&#13;
First, are you suppose to send the checksum of the hexa representation &#13;
or of the binary values?&#13;
&#13;
Second, what …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50483/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum-50483/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/50477-checksum/read.awp">CheckSum</source><title>Re: CheckSum</title></item></channel></rss>
