I m trying to make an C++ application to interface with a simple pinpad device connected to RS232 port.
Now the general message string format is
I have used CreateFile to open the port and set all the parameters as mantioned int the manual, and i m getting a valid value to the Handle.
now, one of the command to accept key pad from the user is Z42. Now the pinpad accepts ASCII text.
What will be the exact packet string for the command Z42. and how would i calculate the LRC code?
Can anyone help me plsss. Thanks in advance.