#19 problems with serial port flags

closed-rejected
None
5
2004-03-06
2003-07-24
No

hi,

i didn't manage to make ObexFTP work with its built-in
serial port settings. After adding additional flags -
PARODD | HUPCL | CLOCAL - everywhere where the serial
flags are set, it works fine.

i.e.

newtio.c_cflag = B57600 | CS8 | CREAD | PARODD | HUPCL
| CLOCAL;

I am using a Java-enabled Siemens MT50.

Discussion

  • Logged In: YES
    user_id=136432

    CLOCAL (Ignore modem control lines) is not useful with HUPCL
    (Lower modem control lines after last process closes the device)
    As for PARODD (Parity for input and output is odd) I don't
    think parity is even enabled.

     
    • assigned_to: nobody --> zany
    • status: open --> closed-rejected