Zandis
21-03-2004, 02:00 PM
Here I read about "How to make reset phone soft with VB" - http://blight.dk/nokia/pcorner/gettingstarted.php
But I interesting how to do this with pascal or delphi.
As I understand, first what I must to do is seperate hex code and each byte send throught COM port in byte(decimal), yes?
For exapmple if I must send hex code B3 A0 AA C4
B3 A0 AA C4 code in decimal is 179 160 170 196
var f:text;
b:byte;
begin
assign(f,'COM1');
rewrite(f);
b:=179;
writeln(f,b);
b:=160;
writeln(f,b);
b:=170;
writeln(f,b);
b:=196;
writeln(f,b);
close(f);
end.
This is not working :(. Can anybody show me some other way to send that code to phone?
Help please.
Thanx
But I interesting how to do this with pascal or delphi.
As I understand, first what I must to do is seperate hex code and each byte send throught COM port in byte(decimal), yes?
For exapmple if I must send hex code B3 A0 AA C4
B3 A0 AA C4 code in decimal is 179 160 170 196
var f:text;
b:byte;
begin
assign(f,'COM1');
rewrite(f);
b:=179;
writeln(f,b);
b:=160;
writeln(f,b);
b:=170;
writeln(f,b);
b:=196;
writeln(f,b);
close(f);
end.
This is not working :(. Can anybody show me some other way to send that code to phone?
Help please.
Thanx