8 Commits

Author SHA1 Message Date
Jef Driesen
4875f9c2bb Added the initial implementation for the Suunto Vyper. 2007-10-31 15:25:44 +00:00
Jef Driesen
c5fc289cb2 Added missing break statements in the serial_flush() functions. 2007-10-29 10:54:40 +00:00
Jef Driesen
76e5f12094 Implemented the win32 serial_drain function using FlushFileBuffers. 2007-10-29 10:49:35 +00:00
Jef Driesen
21e9cf9739 Implemented the win32 serial_drain function using WaitCommEvent. 2007-10-29 10:45:35 +00:00
Jef Driesen
425efd1c0d Added a shorter implementation for the serial_set_status function. 2007-10-29 09:56:30 +00:00
Jef Driesen
0154674573 Attempt to read/write before waiting, instead of the other way around. 2007-10-29 09:52:28 +00:00
Jef Driesen
a3ae610b2e Replace termios VMIN=0 and VTIME=0 with O_NONBLOCK.
Enable O_NONBLOCK to be able to detect the difference between a timeout 
and a modem disconnect (EOF). With this change, it's also possible to 
implement write timeouts.
2007-10-29 09:37:26 +00:00
Jef Driesen
3f33f82bc2 Initial import. 2007-10-29 09:22:19 +00:00