pesaply / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

out.flush in SerialModemDriver.write(char c) cause problems with Nokia 6021 connected via CA-42 cable #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to use SMSLib with RxTx on windows XP SP2.
Trying to make an smsmodem from my old nokia 6021.
During the test I find out that out.flush call in write(char c) method in
the class SerialModemDriver cause 
"Error 0x1 at /home/bob/foo/rxtx-devel/build/../src/termios.c(2497):
Incorrect function." Message appear on screen. SMSLib seems still work just
this annoying messages are popping up. If I use the same phone via
Bluetooth COM port I have no such problem. 
If I remove out.flush call everything seems to go ok .
Thanks

Original issue reported on code.google.com by uncle...@gmail.com on 19 Dec 2007 at 8:25