I try to create some code to realize zvt-protocol in delphi. For connecting to the terminal I use ether TIDTCPClient or a comport-component by turbopack. Both can connect to ingenico terminal IPP480. It is showing a textline "a32de" for 2 seconds. I don't know why!
I can send several commandlines described in zvt-documentation, but nothing has be shown or doing by the terminal.
procedure TForm1.Button1Click(Sender: TObject);
var
lSBefehl : String;
begin
lSBefehl := '';
IdTCPClient1.Host := eip.IPAddress; // IP des EC-Cash-Gerätes
IdTCPClient1.Port := eport.IntValue;
if not IdTCPClient1.Connected then begin
IdTCPClient1.Connect; //that is working!
end;
if not IdTCPClient1.Connected then begin
ShowMessage('not connected!');
end;
lSBefehl := Chr(6)+Chr(0)+Chr(6)+Chr(209)+Chr(255); //Nothing!
IdTCPClient1.SendCmd(lSBefehl);
end;
Is there are testing-Tool for byte-sequences for zvt? Or do you know a solution for the right order of byte sequences?
Best reqards Christian