![]() ![]() ![]() SERIAL PROTOCOL STX ETX HOW TOHow to receive ACK from POS terminal and other data from POS ? > (s, IndyTextEncoding_8bit) īut now program hangs for a while waiting for some response or something. ![]() > Though I suspect the POS is actually expecting binary data for the message content, not hex-encoded strings, so try something more like this: Though I suspect the POS is actually expecting binary data for the message content, not hex-encoded strings, so try something more like this: I have worked in the past with STX/ETX protocols and a few POS protocols, you definitely need to send the, and as binary bytes, not as hex-encoded strings. If IOHandler.InputBufferIsEmpty then Exit Procedure TForm1.Timer1Timer(Sender: TObject) (edit7.Text, IndyTextEncoding_OSDefault) I need to send some HEX to POS terminal, amount of money, and POS will then check if credit card if validĪnd send me some answers.like this: ( message)ĮCR->POS: 303030303030303030303031303030313030302B303139313030312C ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |