Re: Listening to a rs232 com port ?



you need two more com port, on the same pc or on another one
lets say they are on the same pc (com1, com2 com3) and lets say com1 is
opened by the main program. So you cannot open com1 again.
What you have to do is:
You deconnect the cable which arrive in com1 and connect it to com2.
You connect a null modem cable between com3 and com1.
Then you write a simple program which open com2 and com3: you just read all
what comes in com2, and send it exactly from com3.

Then the main program receives all what it does (sended by com3 port) and
you have read it just before. Without open com1.

Its exactly the same if com2 and com3 are on another pc.



"Eddy Fontaine" <eddy.fontaine@xxxxxxxxxx> a écrit dans le message de
news:9ET5k.19416$312.10562@xxxxxxxxxxxxxxxx
Hi,

What i would like to do, its listening to a com port, without using (
opening ) it...
It is rs232 "sniffing" really...

Any idea where to start, how its works, and if there are delphi
components
available for this ?

Thanks,
Eddy.




.



Relevant Pages

  • Re: Redirected console on serial doesnt show any output
    ... I dont think this is the problem because I had connected both COM2 and COM3 ... COM port driver settings are pointing the port that will be assigned COM2 to ... I'm trying to redirect cmd.exe to COM2. ...
    (microsoft.public.windowsce.embedded)
  • Re: IPAQ RAW IR Access
    ... If anyone has the same Problem, dont take COM3:, or it will send the ... complete IrDA Stack. ... Take COM2:, that is the raw IR Port. ...
    (microsoft.public.windowsce.app.development)
  • Problem with opening COM2
    ... Currently I am starting to develop a project that use the COM port to ... I had written a program to open COM1 and COM2, ... windows CE Emulator 4.1 for testing. ...
    (microsoft.public.windowsce.app.development)
  • Re: PC104 Serial Port Programming
    ... > COM2 to work for the life of me. ... You can't share an IRQ between ports. ... COM1, Port 3f8-3ff, IRQ 4 ... COM3, Port 3e8-3ef, IRQ 10 ...
    (comp.arch.embedded)
  • Re: Problem with opening COM2
    ... You should use the remote registry edit to confirm the COM2 is OK. ... -= Your eFriend, BulaConsultant=- ... I had written a program to open COM1 and COM2, ...
    (microsoft.public.windowsce.app.development)