URGENT RXTX SERIAL PORT



Hello


This is my situation :
A PC under OS MandrakeLinux 10.1
A machine branched on the serial port
I use jdk1.5 and the rxtx API

Opening the port seems good, i send data to the machine but when i read
th response i have a buffer with bytes null.
I have tried to sniff the serial port but i don't understand the data i
intercept, i don't recognize my protocol !
I don't know how i can debug to know what's wrong.
Any help will be welcome.
Thanks

Nanou

.



Relevant Pages

  • Re: use of serial and parrallel port using C
    ... That is defined as opening the file in the specified mode if it is ... system takes a pointer and thus won't convert 0 to a null pointer. ... > it was possible to talk to a serial port or parallel port in ANSI C. ... the original question was how to do it and your suggestion will not ...
    (comp.lang.c)
  • Re: Logging Serial Connection to File
    ... where can i find this documentation of opening a serial port in an ... > to open the serial port directly on VMS, ...
    (comp.os.vms)
  • Re: Problem to read and write on a serial port
    ... The behaviour of openis not part of the C standard. ... your description indicates you are opening /dev/ttyS2. ... That appears to be a serial port. ... characters you actually get. ...
    (comp.lang.c)
  • Re: Question re threading and serial i/o
    ... Frank Millman wrote: ... is there another way to open a serial port in ... I think you're supposed to use module "fcntl" after opening with ... rather than having to resort ...
    (comp.lang.python)
  • URGENT RXTX SERIAL PORT
    ... A PC under OS MandrakeLinux 10.1 ... I use jdk1.5 and the rxtx API ... Opening the port seems good, i send data to the machine but when i read ... I have tried to sniff the serial port but i don't understand the data i ...
    (comp.lang.java.programmer)